From 0753c2492b568d6361a026087f92609905b60654 Mon Sep 17 00:00:00 2001 From: BootyToast Date: Fri, 12 Aug 2016 12:56:00 -0400 Subject: [PATCH] New coal generator model --- .../mod/blocks/BlockCoalGenerator.java | 11 ++++ .../models/block/blockCoalGenerator.json | 52 ------------------- 2 files changed, 11 insertions(+), 52 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockCoalGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockCoalGenerator.java index 87501deaa..42dce1e11 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockCoalGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockCoalGenerator.java @@ -50,6 +50,17 @@ public class BlockCoalGenerator extends BlockContainerBase{ } + @Override + public boolean isFullCube(IBlockState state){ + return false; + } + + @Override + public boolean isOpaqueCube(IBlockState state){ + return false; + } + + @Override public TileEntity createNewTileEntity(World world, int par2){ return new TileEntityCoalGenerator(); diff --git a/src/main/resources/assets/actuallyadditions/models/block/blockCoalGenerator.json b/src/main/resources/assets/actuallyadditions/models/block/blockCoalGenerator.json index d79ad3485..79bc8c2d4 100644 --- a/src/main/resources/assets/actuallyadditions/models/block/blockCoalGenerator.json +++ b/src/main/resources/assets/actuallyadditions/models/block/blockCoalGenerator.json @@ -84,58 +84,6 @@ "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }, "down": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] } } - }, - { - "name": "Cube", - "from": [ 1.0, 0.0, 0.0 ], - "to": [ 15.0, 1.0, 1.0 ], - "faces": { - "north": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "east": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "south": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "west": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "up": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "down": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] } - } - }, - { - "name": "Cube", - "from": [ 1.0, 0.0, 15.0 ], - "to": [ 15.0, 1.0, 16.0 ], - "faces": { - "north": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "east": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "south": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "west": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "up": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "down": { "texture": "#2", "uv": [ 1.0, 0.0, 15.0, 1.0 ] } - } - }, - { - "name": "Cube", - "from": [ 15.0, 1.0, 15.0 ], - "to": [ 16.0, 0.0, 1.0 ], - "faces": { - "north": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "east": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "south": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "west": { "texture": "#2", "uv": [ 0.0, 0.0, 14.0, 1.0 ] }, - "up": { "texture": "#2", "uv": [ 15.0, 1.0, 16.0, 15.0 ] }, - "down": { "texture": "#2", "uv": [ 0.0, 15.0, 1.0, 1.0 ] } - } - }, - { - "name": "Cube", - "from": [ 0.0, 1.0, 15.0 ], - "to": [ 1.0, 0.0, 1.0 ], - "faces": { - "north": { "texture": "#2", "uv": [ 0.0, 0.0, 11.0, 5.0 ] }, - "east": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 5.0 ] }, - "south": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, - "west": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 1.0 ] }, - "up": { "texture": "#2", "uv": [ 0.0, 14.0, 1.0, 0.0 ] }, - "down": { "texture": "#2", "uv": [ 0.0, 16.0, 1.0, 0.0 ] } - } } ] } \ No newline at end of file