mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 10:34:49 +00:00
Model UV lock handling from the state to the model, fixed most compile errors in ModelLoader, disabled it (and ModelBakeEvent) until it's functional, fixed some errors in ForgeHooksClient.
This commit is contained in:
1 parent
70670d70ea
commit
3e22a2b90d
10 files changed
+131
-112
No files matched your search
@@ -117,8 +117,8 @@ public class ModelBakeEventDebug
|
||||
TextureAtlasSprite base = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite("minecraft:blocks/slime");
|
||||
TextureAtlasSprite overlay = Minecraft.getMinecraft().getTextureMapBlocks().getAtlasSprite("minecraft:blocks/redstone_block");
|
||||
IBakedModel customModel = new CustomModel(base, overlay);
|
||||
event.modelRegistry.putObject(ClientProxy.blockLocation, customModel);
|
||||
event.modelRegistry.putObject(ClientProxy.itemLocation, customModel);
|
||||
event.getModelRegistry().putObject(ClientProxy.blockLocation, customModel);
|
||||
event.getModelRegistry().putObject(ClientProxy.itemLocation, customModel);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user