Class ItemDisplayDataEntry

java.lang.Object
team.lodestar.lodestone.modules.toolkit.inventory.display.ItemDisplayDataEntry

public class ItemDisplayDataEntry extends Object
  • Field Details

    • stack

      protected final net.minecraft.world.item.ItemStack stack
    • seed

      protected final long seed
    • scale

      protected float scale
    • oldScale

      protected float oldScale
    • angle

      protected float angle
    • oldAngle

      protected float oldAngle
    • distance

      protected float distance
    • oldDistance

      protected float oldDistance
    • lift

      protected float lift
    • oldLift

      protected float oldLift
    • itemAngle

      protected float itemAngle
    • oldItemAngle

      protected float oldItemAngle
    • age

      protected int age
  • Constructor Details

    • ItemDisplayDataEntry

      public ItemDisplayDataEntry(net.minecraft.world.item.ItemStack stack, long seed)
  • Method Details

    • setAngle

      public ItemDisplayDataEntry setAngle(float angle)
    • setDistance

      public ItemDisplayDataEntry setDistance(float distance)
    • setLift

      public ItemDisplayDataEntry setLift(float lift)
    • setItemAngle

      public ItemDisplayDataEntry setItemAngle(float itemAngle)
    • tick

      public void tick(ItemStackHandlerItemDisplayData data, float targetAngle, float addedItemAngle, float targetDistance, float targetLift, float targetScale)
    • getSeed

      public long getSeed()
    • getAngle

      public float getAngle(float partialTicks)
    • getDistance

      public float getDistance(float partialTicks)
    • getLift

      public float getLift(float partialTicks)
    • getScale

      public float getScale(float partialTicks)
    • getItemRotation

      public float getItemRotation(float partialTicks)
    • getStack

      public net.minecraft.world.item.ItemStack getStack()
    • getAge

      public int getAge()