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

    Fields
    Modifier and Type
    Field
    Description
    static final com.hypixel.hytale.codec.builder.BuilderCodec
     

    Fields inherited from interface com.hypixel.hytale.component.Component

    EMPTY_ARRAY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ItemFrameComponent(com.hypixel.hytale.server.core.inventory.ItemStack itemStack, com.hypixel.hytale.math.vector.Vector3i position, int rotation)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>
     
    static com.hypixel.hytale.component.ComponentType<com.hypixel.hytale.server.core.universe.world.storage.EntityStore, ItemFrameComponent>
     
    com.hypixel.hytale.math.vector.Vector3i
     
    int
     
    com.hypixel.hytale.server.core.inventory.ItemStack
     
    void
    setFramePosition(com.hypixel.hytale.math.vector.Vector3i framePosition)
     
    void
    setFrameRotation(int frameRotation)
     
    void
    setHeldStack(com.hypixel.hytale.server.core.inventory.ItemStack heldStack)
     

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore> clone()
      Specified by:
      clone in interface com.hypixel.hytale.component.Component<com.hypixel.hytale.server.core.universe.world.storage.EntityStore>
      Overrides:
      clone in class Object