mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 06:53:20 +00:00
Add helper methods to access the set of loaded sprite locations (#9223)
This commit is contained in:
1 parent
6b1c628326
commit
6e3b51d81f
2 files changed
+14
No files matched your search
@@ -9,3 +9,16 @@
|
||||
}
|
||||
|
||||
private void m_246472_(int p_252243_, int p_251110_, int p_249203_) {
|
||||
@@ -145,5 +_,12 @@
|
||||
|
||||
public void m_247255_(SpriteLoader.Preparations p_251993_) {
|
||||
this.m_117960_(false, p_251993_.f_244353_() > 0);
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
+ * {@return the set of sprites in this atlas.}
|
||||
+ */
|
||||
+ public java.util.Set<ResourceLocation> getTextureLocations() {
|
||||
+ return java.util.Collections.unmodifiableSet(f_118264_.keySet());
|
||||
}
|
||||
}
|
||||
@@ -134,6 +134,7 @@ public net.minecraft.client.renderer.texture.SpriteContents f_243731_ # byMipLev
|
||||
default net.minecraft.client.renderer.texture.SpriteContents f_244575_ # animatedTexture
|
||||
default net.minecraft.client.renderer.texture.SpriteContents m_245088_()I # getFrameCount
|
||||
public net.minecraft.client.resources.ClientPackSource m_246691_(Ljava/nio/file/Path;)Lnet/minecraft/server/packs/VanillaPackResources; # createVanillaPackSource
|
||||
protected net.minecraft.client.resources.TextureAtlasHolder f_118884_ # textureAtlas
|
||||
protected net.minecraft.client.resources.model.ModelBakery m_119364_(Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/client/renderer/block/model/BlockModel; # loadBlockModel
|
||||
public net.minecraft.client.resources.model.SimpleBakedModel$Builder <init>(ZZZLnet/minecraft/client/renderer/block/model/ItemTransforms;Lnet/minecraft/client/renderer/block/model/ItemOverrides;)V # constructor
|
||||
public net.minecraft.client.sounds.SoundEngine f_120217_ # soundManager
|
||||
|
||||
Reference in new issue
Block a user