Package net.createmod.catnip.render
Class StitchedSprite
java.lang.Object
net.createmod.catnip.render.StitchedSprite
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.resources.ResourceLocationprotected final net.minecraft.resources.ResourceLocationprotected net.minecraft.client.renderer.texture.TextureAtlasSprite -
Constructor Summary
ConstructorsConstructorDescriptionStitchedSprite(net.minecraft.resources.ResourceLocation location) StitchedSprite(net.minecraft.resources.ResourceLocation atlas, net.minecraft.resources.ResourceLocation location) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.renderer.texture.TextureAtlasSpriteget()net.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationprotected voidloadSprite(net.minecraft.client.renderer.texture.TextureAtlas atlas) static voidonTextureStitchPost(net.minecraft.client.renderer.texture.TextureAtlas atlas)
-
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
-
onTextureStitchPost
public static void onTextureStitchPost(net.minecraft.client.renderer.texture.TextureAtlas atlas) -
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()
-