Controller Texs
@@ -28,7 +28,7 @@ import java.util.List;
|
||||
|
||||
public class BlockController extends BlockBase {
|
||||
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() {
|
||||
super("controller");
|
||||
|
||||
@@ -37,7 +37,7 @@ public class BlockDiskDrive extends BlockNode {
|
||||
@Override
|
||||
public IBlockState getActualState(IBlockState state, IBlockAccess world, BlockPos pos) {
|
||||
return super.getActualState(state, world, pos)
|
||||
.withProperty(STORED, ((TileDiskDrive) world.getTileEntity(pos)).getStoredForDisplay());
|
||||
.withProperty(STORED, ((TileDiskDrive) world.getTileEntity(pos)).getStoredForScaledDisplay());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -270,7 +270,7 @@ public class TileDiskDrive extends TileNode implements IStorageProvider, IStorag
|
||||
return (int) Math.floor((stored / storedMax) * 7f);
|
||||
}
|
||||
|
||||
public int getStoredForDisplay() {
|
||||
public int getStoredForScaledDisplay() {
|
||||
return stored;
|
||||
}
|
||||
|
||||
|
||||
@@ -662,7 +662,7 @@ public class TileController extends TileBase implements INetworkMaster, IEnergyR
|
||||
}
|
||||
|
||||
public int getEnergyScaledForDisplay() {
|
||||
return getEnergyScaled(8);
|
||||
return getEnergyScaled(7);
|
||||
}
|
||||
|
||||
public int getEnergyScaledForComparator() {
|
||||
|
||||
@@ -55,11 +55,6 @@
|
||||
"textures": {
|
||||
"front": "refinedstorage:blocks/controller_7"
|
||||
}
|
||||
},
|
||||
"8": {
|
||||
"textures": {
|
||||
"front": "refinedstorage:blocks/controller_8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": {
|
||||
|
||||
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 450 B |
|
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 731 B After Width: | Height: | Size: 449 B |
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 453 B |
|
Before Width: | Height: | Size: 729 B After Width: | Height: | Size: 453 B |
|
Before Width: | Height: | Size: 728 B After Width: | Height: | Size: 455 B |
|
Before Width: | Height: | Size: 455 B |