Class ItemFrameComponent
java.lang.Object
com.mrbysco.itemframes.component.ItemFrameComponent
- All Implemented Interfaces:
com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>, Cloneable
public class ItemFrameComponent
extends Object
implements com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.hypixel.hytale.codec.builder.BuilderCodecFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionItemFrameComponent(com.hypixel.hytale.server.core.inventory.ItemStack itemStack, com.hypixel.hytale.math.vector.Vector3i position, int rotation) -
Method Summary
Modifier and TypeMethodDescriptioncom.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> clone()static com.hypixel.hytale.component.ComponentType<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, ItemFrameComponent> com.hypixel.hytale.math.vector.Vector3iintcom.hypixel.hytale.server.core.inventory.ItemStackvoidsetFramePosition(com.hypixel.hytale.math.vector.Vector3i framePosition) voidsetFrameRotation(int frameRotation) voidsetHeldStack(com.hypixel.hytale.server.core.inventory.ItemStack heldStack) Methods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
CODEC
public static final com.hypixel.hytale.codec.builder.BuilderCodec CODEC
-
-
Constructor Details
-
ItemFrameComponent
public ItemFrameComponent(com.hypixel.hytale.server.core.inventory.ItemStack itemStack, com.hypixel.hytale.math.vector.Vector3i position, int rotation)
-
-
Method Details
-
getComponentType
public static com.hypixel.hytale.component.ComponentType<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, ItemFrameComponent> getComponentType() -
getHeldStack
public com.hypixel.hytale.server.core.inventory.ItemStack getHeldStack() -
setHeldStack
public void setHeldStack(com.hypixel.hytale.server.core.inventory.ItemStack heldStack) -
getFramePosition
public com.hypixel.hytale.math.vector.Vector3i getFramePosition() -
setFramePosition
public void setFramePosition(com.hypixel.hytale.math.vector.Vector3i framePosition) -
getFrameRotation
public int getFrameRotation() -
setFrameRotation
public void setFrameRotation(int frameRotation) -
clone
-