Class DeployableProjectileShooterComponent
java.lang.Object
com.hypixel.hytale.builtin.deployables.component.DeployableProjectileShooterComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Ref<EntityStore> protected final List<Ref<EntityStore>> protected final List<Ref<EntityStore>> Fields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidsetActiveTarget(Ref<EntityStore> target) voidspawnProjectile(Ref<EntityStore> entityRef, CommandBuffer<EntityStore> commandBuffer, ProjectileConfig projectileConfig, UUID ownerUuid, Vector3d spawnPos, Vector3d direction) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
projectiles
-
projectilesForRemoval
-
activeTarget
-
-
Constructor Details
-
DeployableProjectileShooterComponent
public DeployableProjectileShooterComponent()
-
-
Method Details
-
getComponentType
-
spawnProjectile
public void spawnProjectile(Ref<EntityStore> entityRef, @Nonnull CommandBuffer<EntityStore> commandBuffer, @Nonnull ProjectileConfig projectileConfig, @Nonnull UUID ownerUuid, @Nonnull Vector3d spawnPos, @Nonnull Vector3d direction) -
getProjectiles
-
getProjectilesForRemoval
-
getActiveTarget
-
setActiveTarget
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-