Clean Up ModelBaker and start to clean up greenhouse

This commit is contained in:
Nedelosk committed 2016-12-23 03:44:30 +01:00
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]);