Contents
Class Interactable
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.Interactable
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Determines whether an entity can be interacted with.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<Interactable> The codec used to parseInteractableinstances.static final InteractableThe default instance of theInteractablecomponent.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
The default instance of theInteractablecomponent. -
CODEC
The codec used to parseInteractableinstances.
-
-
Method Details
-
getComponentType
- Returns:
- the component type for the
Interactablecomponent.
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-