Contents
Class ModelRotateBoundingBoxComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.ModelRotateBoundingBoxComponent
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Controls whether an entity's model bounding box rotates when initialized from its model.
-
Field Details
-
CODEC
-
-
Constructor Details
-
ModelRotateBoundingBoxComponent
public ModelRotateBoundingBoxComponent() -
ModelRotateBoundingBoxComponent
public ModelRotateBoundingBoxComponent(boolean enableRotation)
-
-
Method Details
-
getComponentType
-
isEnableRotation
public boolean isEnableRotation() -
setEnableRotation
public void setEnableRotation(boolean enableRotation) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-