Class StitchedSprite

java.lang.Object
com.jozufozu.flywheel.core.StitchedSprite

public class StitchedSprite extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.resources.ResourceLocation
     
    protected final net.minecraft.resources.ResourceLocation
     
    protected net.minecraft.client.renderer.texture.TextureAtlasSprite
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    StitchedSprite(net.minecraft.resources.ResourceLocation location)
     
    StitchedSprite(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation location)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.renderer.texture.TextureAtlasSprite
    get()
     
    net.minecraft.resources.ResourceLocation
     
    net.minecraft.resources.ResourceLocation
     
    protected void
    loadSprite(net.minecraft.client.renderer.texture.TextureAtlas atlas)
     
    static void
    onTextureStitchPost(net.minecraftforge.client.event.TextureStitchEvent.Post event)
     
    static void
    onTextureStitchPre(net.minecraftforge.client.event.TextureStitchEvent.Pre event)
     

    Methods inherited from class java.lang.Object

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

    • atlasLocation

      protected final net.minecraft.resources.ResourceLocation atlasLocation
    • location

      protected final net.minecraft.resources.ResourceLocation location
    • sprite

      protected net.minecraft.client.renderer.texture.TextureAtlasSprite sprite
  • Constructor Details

    • StitchedSprite

      public StitchedSprite(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation location)
    • StitchedSprite

      public StitchedSprite(net.minecraft.resources.ResourceLocation location)
  • Method Details

    • onTextureStitchPre

      public static void onTextureStitchPre(net.minecraftforge.client.event.TextureStitchEvent.Pre event)
    • onTextureStitchPost

      public static void onTextureStitchPost(net.minecraftforge.client.event.TextureStitchEvent.Post event)
    • loadSprite

      protected void loadSprite(net.minecraft.client.renderer.texture.TextureAtlas atlas)
    • getAtlasLocation

      public net.minecraft.resources.ResourceLocation getAtlasLocation()
    • getLocation

      public net.minecraft.resources.ResourceLocation getLocation()
    • get

      public net.minecraft.client.renderer.texture.TextureAtlasSprite get()