Class PositionDataComponent
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.component.PositionDataComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()intintvoidsetInsideBlockTypeId(int insideBlockTypeId) voidsetStandingOnBlockTypeId(int standingOnBlockTypeId) 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
-
insideBlockTypeId
private int insideBlockTypeId -
standingOnBlockTypeId
private int standingOnBlockTypeId
-
-
Constructor Details
-
PositionDataComponent
public PositionDataComponent() -
PositionDataComponent
public PositionDataComponent(int insideBlockTypeId, int standingOnBlockTypeId)
-
-
Method Details
-
getComponentType
-
getInsideBlockTypeId
public int getInsideBlockTypeId() -
setInsideBlockTypeId
public void setInsideBlockTypeId(int insideBlockTypeId) -
getStandingOnBlockTypeId
public int getStandingOnBlockTypeId() -
setStandingOnBlockTypeId
public void setStandingOnBlockTypeId(int standingOnBlockTypeId) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-