Class ScratchTextureManager
java.lang.Object
net.minecraft.client.resources.TextureAtlasHolder
com.petrolpark.core.scratch.client.ScratchTextureManager
- All Implemented Interfaces:
AutoCloseable,net.minecraft.server.packs.resources.PreparableReloadListener
@ParametersAreNonnullByDefault
public class ScratchTextureManager
extends net.minecraft.client.resources.TextureAtlasHolder
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
net.minecraft.server.packs.resources.PreparableReloadListener.PreparationBarrier -
Field Summary
Fields inherited from class net.minecraft.client.resources.TextureAtlasHolder
textureAtlas -
Method Summary
Modifier and TypeMethodDescriptionstatic final ScratchTextureManagernet.minecraft.client.renderer.texture.TextureAtlasSpritegetSprite(net.minecraft.resources.ResourceLocation location) static final voidonRegisterClientReloadListeners(net.neoforged.neoforge.client.event.RegisterClientReloadListenersEvent event) Methods inherited from class net.minecraft.client.resources.TextureAtlasHolder
close, reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Method Details
-
getInstance
-
getSprite
public net.minecraft.client.renderer.texture.TextureAtlasSprite getSprite(net.minecraft.resources.ResourceLocation location) - Overrides:
getSpritein classnet.minecraft.client.resources.TextureAtlasHolder
-
onRegisterClientReloadListeners
public static final void onRegisterClientReloadListeners(net.neoforged.neoforge.client.event.RegisterClientReloadListenersEvent event)
-