Package com.jozufozu.flywheel.core
Class StitchedSprite
java.lang.Object
com.jozufozu.flywheel.core.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.minecraftforge.client.event.TextureStitchEvent.Post event) static voidonTextureStitchPre(net.minecraftforge.client.event.TextureStitchEvent.Pre event)
-
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()
-