Class SpriteShiftEntry

java.lang.Object
com.simibubi.create.foundation.block.render.SpriteShiftEntry
Direct Known Subclasses:
CTSpriteShiftEntry

public class SpriteShiftEntry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected com.jozufozu.flywheel.core.StitchedSprite
     
    protected com.jozufozu.flywheel.core.StitchedSprite
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.client.renderer.texture.TextureAtlasSprite
     
    net.minecraft.resources.ResourceLocation
     
    float
    getTargetU(float localU)
     
    float
    getTargetV(float localV)
     
    static float
    getUnInterpolatedU(net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float u)
     
    static float
    getUnInterpolatedV(net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float v)
     
    void
    set(net.minecraft.resources.ResourceLocation originalTextureLocation, net.minecraft.resources.ResourceLocation targetTextureLocation)
     

    Methods inherited from class java.lang.Object

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

    • original

      protected com.jozufozu.flywheel.core.StitchedSprite original
    • target

      protected com.jozufozu.flywheel.core.StitchedSprite target
  • Constructor Details

    • SpriteShiftEntry

      public SpriteShiftEntry()
  • Method Details

    • set

      public void set(net.minecraft.resources.ResourceLocation originalTextureLocation, net.minecraft.resources.ResourceLocation targetTextureLocation)
    • getOriginalResourceLocation

      public net.minecraft.resources.ResourceLocation getOriginalResourceLocation()
    • getTargetResourceLocation

      public net.minecraft.resources.ResourceLocation getTargetResourceLocation()
    • getOriginal

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getOriginal()
    • getTarget

      public net.minecraft.client.renderer.texture.TextureAtlasSprite getTarget()
    • getTargetU

      public float getTargetU(float localU)
    • getTargetV

      public float getTargetV(float localV)
    • getUnInterpolatedU

      public static float getUnInterpolatedU(net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float u)
    • getUnInterpolatedV

      public static float getUnInterpolatedV(net.minecraft.client.renderer.texture.TextureAtlasSprite sprite, float v)