Contents
Class ProjectilePassthrough
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.ProjectilePassthrough
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Marks an entity that projectiles fly through instead of impacting (e.g. a tornado
ability entity): it never registers as a projectile contact, so a projectile keeps its
course and impacts where it would have without the entity. Selectors still target the
entity normally, so area effects can reach it (e.g. an explosion igniting a tornado).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<ProjectilePassthrough> static final ProjectilePassthroughFields 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
-
CODEC
-
-
Method Details
-
getComponentType
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-