Class CTSpriteShiftEntry

java.lang.Object
net.createmod.catnip.render.SpriteShiftEntry
com.simibubi.create.foundation.block.connected.CTSpriteShiftEntry

public class CTSpriteShiftEntry extends net.createmod.catnip.render.SpriteShiftEntry
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final CTType
     

    Fields inherited from class net.createmod.catnip.render.SpriteShiftEntry

    original, target
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    getTargetU(float localU, int index)
     
    float
    getTargetV(float localV, int index)
     
     

    Methods inherited from class net.createmod.catnip.render.SpriteShiftEntry

    getOriginal, getOriginalResourceLocation, getTarget, getTargetResourceLocation, getTargetU, getTargetV, getUnInterpolatedU, getUnInterpolatedV, set

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • type

      protected final CTType type
  • Constructor Details

    • CTSpriteShiftEntry

      public CTSpriteShiftEntry(CTType type)
  • Method Details

    • getType

      public CTType getType()
    • getTargetU

      public float getTargetU(float localU, int index)
    • getTargetV

      public float getTargetV(float localV, int index)