Contents
Class Projectile
java.lang.Object
com.hypixel.hytale.server.core.modules.projectile.component.Projectile
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
A component that marks an entity as a projectile.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<Projectile> The codec used to parseProjectileinstances.static final ProjectileA singleton instance of theProjectilecomponent.Fields inherited from interface Component
EMPTY_ARRAY -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
INSTANCE
A singleton instance of theProjectilecomponent. -
CODEC
The codec used to parseProjectileinstances.
-
-
Method Details
-
getComponentType
- Returns:
- the component type for the
Projectilecomponent.
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-