mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-27 15:22:57 +00:00
Clean Up ModelBaker and start to clean up greenhouse
This commit is contained in:
1 parent
8cfafec6f9
commit
08c99cb0ca
15 files changed
+112
-235
No files matched your search
@@ -81,9 +81,9 @@ public class ModelFarmBlock extends ModelBlockCached<BlockFarm, ModelFarmBlock.K
|
||||
TextureAtlasSprite[] textures = getSprites(key.texture);
|
||||
|
||||
// Add the plain block.
|
||||
baker.addBlockModel(blockFarm, Block.FULL_BLOCK_AABB, null, textures, 0);
|
||||
baker.addBlockModel(null, textures, 0);
|
||||
// Add the overlay block.
|
||||
baker.addBlockModel(blockFarm, Block.FULL_BLOCK_AABB, null, getOverlaySprites(key.type), 0);
|
||||
baker.addBlockModel(null, getOverlaySprites(key.type), 0);
|
||||
|
||||
// Set the particle sprite
|
||||
baker.setParticleSprite(textures[0]);
|
||||
|
||||
Reference in new issue
Block a user