Controller Texs

This commit is contained in:
Raoul Van den Berge
2016-07-09 18:09:56 +02:00
parent 7591f18298
commit a1f212dc4d
13 changed files with 4 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ import java.util.List;
public class BlockController extends BlockBase { public class BlockController extends BlockBase {
public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumControllerType.class); public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumControllerType.class);
public static final PropertyInteger ENERGY = PropertyInteger.create("energy", 0, 8); public static final PropertyInteger ENERGY = PropertyInteger.create("energy", 0, 7);
public BlockController() { public BlockController() {
super("controller"); super("controller");

View File

@@ -37,7 +37,7 @@ public class BlockDiskDrive extends BlockNode {
@Override @Override
public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos) { public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos) {
return super.getActualState(state, world, pos) return super.getActualState(state, world, pos)
.withProperty(STORED, ((TileDiskDrive) world.getTileEntity(pos)).getStoredForDisplay()); .withProperty(STORED, ((TileDiskDrive) world.getTileEntity(pos)).getStoredForScaledDisplay());
} }
@Override @Override

View File

@@ -270,7 +270,7 @@ public class TileDiskDrive extends TileNode implements IStorageProvider, IStorag
return (int) Math.floor((stored / storedMax) * 7f); return (int) Math.floor((stored / storedMax) * 7f);
} }
public int getStoredForDisplay() { public int getStoredForScaledDisplay() {
return stored; return stored;
} }

View File

@@ -662,7 +662,7 @@ public class TileController extends TileBase implements INetworkMaster, IEnergyR
} }
public int getEnergyScaledForDisplay() { public int getEnergyScaledForDisplay() {
return getEnergyScaled(8); return getEnergyScaled(7);
} }
public int getEnergyScaledForComparator() { public int getEnergyScaledForComparator() {

View File

@@ -55,11 +55,6 @@
"textures": { "textures": {
"front": "refinedstorage:blocks/controller_7" "front": "refinedstorage:blocks/controller_7"
} }
},
"8": {
"textures": {
"front": "refinedstorage:blocks/controller_8"
}
} }
}, },
"type": { "type": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 699 B

After

Width:  |  Height:  |  Size: 450 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 451 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 731 B

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 729 B

After

Width:  |  Height:  |  Size: 453 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 728 B

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 B