Fixes from Cyanide
@@ -71,10 +71,6 @@ public final class RefinedStorageConfig {
|
|||||||
public int interdimensionalUpgradeUsage;
|
public int interdimensionalUpgradeUsage;
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
//region Misc
|
|
||||||
public boolean translucentCables;
|
|
||||||
//endregion
|
|
||||||
|
|
||||||
//region Categories
|
//region Categories
|
||||||
private static final String ENERGY = "energy";
|
private static final String ENERGY = "energy";
|
||||||
private static final String CONTROLLER = "controller";
|
private static final String CONTROLLER = "controller";
|
||||||
@@ -161,10 +157,6 @@ public final class RefinedStorageConfig {
|
|||||||
interdimensionalUpgradeUsage = config.getInt("interdimensional", UPGRADES, 1000, 0, Integer.MAX_VALUE, "The additional energy used by the Interdimensional Upgrade");
|
interdimensionalUpgradeUsage = config.getInt("interdimensional", UPGRADES, 1000, 0, Integer.MAX_VALUE, "The additional energy used by the Interdimensional Upgrade");
|
||||||
//endregion
|
//endregion
|
||||||
|
|
||||||
//region Misc
|
|
||||||
translucentCables = config.getBoolean("translucentCables", MISC, false, "For resource pack makers that want a translucent cable");
|
|
||||||
//endregion
|
|
||||||
|
|
||||||
if (config.hasChanged()) {
|
if (config.hasChanged()) {
|
||||||
config.save();
|
config.save();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -356,7 +356,6 @@ public class BlockCable extends BlockCoverable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public BlockRenderLayer getBlockLayer() {
|
public BlockRenderLayer getBlockLayer() {
|
||||||
// @TODO: Remove config
|
|
||||||
return BlockRenderLayer.CUTOUT;
|
return BlockRenderLayer.CUTOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import refinedstorage.tile.TileConstructor;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
// @TODO: Connectivity
|
// @TODO: Constructor connected / disconnected
|
||||||
public class BlockConstructor extends BlockCable {
|
public class BlockConstructor extends BlockCable {
|
||||||
public static final AxisAlignedBB HOLDER_NORTH_AABB = createAABB(7, 7, 2, 9, 9, 6);
|
public static final AxisAlignedBB HOLDER_NORTH_AABB = createAABB(7, 7, 2, 9, 9, 6);
|
||||||
public static final AxisAlignedBB HOLDER_EAST_AABB = createAABB(10, 7, 7, 14, 9, 9);
|
public static final AxisAlignedBB HOLDER_EAST_AABB = createAABB(10, 7, 7, 14, 9, 9);
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import refinedstorage.tile.TileDestructor;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
// @TODO: Connectivity
|
// @TODO: Destructor connected / disconnected
|
||||||
public class BlockDestructor extends BlockCable {
|
public class BlockDestructor extends BlockCable {
|
||||||
public BlockDestructor(String name) {
|
public BlockDestructor(String name) {
|
||||||
super(name);
|
super(name);
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ import refinedstorage.RefinedStorage;
|
|||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
import refinedstorage.tile.TileDetector;
|
import refinedstorage.tile.TileDetector;
|
||||||
|
|
||||||
|
// @TODO: Fix detector model connectivity
|
||||||
public class BlockDetector extends BlockNode {
|
public class BlockDetector extends BlockNode {
|
||||||
private static final AxisAlignedBB AABB_DETECTOR = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 4D / 16D, 1.0D);
|
private static final AxisAlignedBB AABB_DETECTOR = new AxisAlignedBB(0.0D, 0.0D, 0.0D, 1.0D, 4D / 16D, 1.0D);
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@ import refinedstorage.tile.TileDiskManipulator;
|
|||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
|
||||||
// @TODO: Connectivity
|
|
||||||
public class BlockDiskManipulator extends BlockNode {
|
public class BlockDiskManipulator extends BlockNode {
|
||||||
public BlockDiskManipulator() {
|
public BlockDiskManipulator() {
|
||||||
super("disk_manipulator");
|
super("disk_manipulator");
|
||||||
|
|||||||
@@ -19,7 +19,6 @@ import refinedstorage.tile.grid.TileGrid;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
// @TODO: Better colors
|
|
||||||
public class BlockGrid extends BlockNode {
|
public class BlockGrid extends BlockNode {
|
||||||
public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumGridType.class);
|
public static final PropertyEnum TYPE = PropertyEnum.create("type", EnumGridType.class);
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package refinedstorage.item;
|
package refinedstorage.item;
|
||||||
|
|
||||||
// @TODO: Better texture
|
|
||||||
public class ItemSilicon extends ItemBase {
|
public class ItemSilicon extends ItemBase {
|
||||||
public ItemSilicon() {
|
public ItemSilicon() {
|
||||||
super("silicon");
|
super("silicon");
|
||||||
|
|||||||
@@ -1,105 +1,147 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
||||||
"textures": {
|
"textures": {
|
||||||
"0": "refinedstorage:blocks/side"
|
"0": "refinedstorage:blocks/detector_side",
|
||||||
|
"1": "refinedstorage:blocks/detector_side",
|
||||||
|
"2": "refinedstorage:blocks/detector_top",
|
||||||
|
"3": "refinedstorage:blocks/detector_bottom"
|
||||||
},
|
},
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
|
"name": "Element",
|
||||||
"from": [
|
"from": [
|
||||||
7,
|
7.0,
|
||||||
0,
|
5.0,
|
||||||
7
|
7.0
|
||||||
],
|
],
|
||||||
"to": [
|
"to": [
|
||||||
9,
|
9.0,
|
||||||
10,
|
15.0,
|
||||||
9
|
9.0
|
||||||
],
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"down": {
|
|
||||||
"uv": [
|
|
||||||
7,
|
|
||||||
13,
|
|
||||||
9,
|
|
||||||
15
|
|
||||||
],
|
|
||||||
"texture": "#torch"
|
|
||||||
},
|
|
||||||
"up": {
|
|
||||||
"uv": [
|
|
||||||
7,
|
|
||||||
6,
|
|
||||||
9,
|
|
||||||
8
|
|
||||||
],
|
|
||||||
"texture": "#torch"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": [
|
|
||||||
7,
|
|
||||||
0,
|
|
||||||
0
|
|
||||||
],
|
|
||||||
"to": [
|
|
||||||
9,
|
|
||||||
16,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"shade": false,
|
|
||||||
"faces": {
|
|
||||||
"west": {
|
|
||||||
"uv": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
16,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"texture": "#torch"
|
|
||||||
},
|
|
||||||
"east": {
|
|
||||||
"uv": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
16,
|
|
||||||
16
|
|
||||||
],
|
|
||||||
"texture": "#torch"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"from": [
|
|
||||||
0,
|
|
||||||
0,
|
|
||||||
7
|
|
||||||
],
|
|
||||||
"to": [
|
|
||||||
16,
|
|
||||||
16,
|
|
||||||
9
|
|
||||||
],
|
],
|
||||||
"shade": false,
|
"shade": false,
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {
|
"north": {
|
||||||
|
"texture": "#0",
|
||||||
"uv": [
|
"uv": [
|
||||||
0,
|
10.0,
|
||||||
0,
|
1.0,
|
||||||
16,
|
12.0,
|
||||||
16
|
11.0
|
||||||
],
|
]
|
||||||
"texture": "#torch"
|
},
|
||||||
|
"east": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
10.0,
|
||||||
|
1.0,
|
||||||
|
12.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
|
"texture": "#0",
|
||||||
"uv": [
|
"uv": [
|
||||||
0,
|
10.0,
|
||||||
0,
|
1.0,
|
||||||
16,
|
12.0,
|
||||||
16
|
11.0
|
||||||
],
|
]
|
||||||
"texture": "#torch"
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
10.0,
|
||||||
|
1.0,
|
||||||
|
12.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"up": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
10.0,
|
||||||
|
1.0,
|
||||||
|
12.0,
|
||||||
|
3.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"down": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
10.0,
|
||||||
|
5.0,
|
||||||
|
12.0,
|
||||||
|
7.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Element",
|
||||||
|
"from": [
|
||||||
|
7.0,
|
||||||
|
5.0,
|
||||||
|
6.0
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
9.0,
|
||||||
|
16.0,
|
||||||
|
10.0
|
||||||
|
],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"east": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
9.0,
|
||||||
|
0.0,
|
||||||
|
13.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"west": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
9.0,
|
||||||
|
0.0,
|
||||||
|
13.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Element",
|
||||||
|
"from": [
|
||||||
|
6.0,
|
||||||
|
5.0,
|
||||||
|
7.0
|
||||||
|
],
|
||||||
|
"to": [
|
||||||
|
10.0,
|
||||||
|
16.0,
|
||||||
|
9.0
|
||||||
|
],
|
||||||
|
"shade": false,
|
||||||
|
"faces": {
|
||||||
|
"north": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
9.0,
|
||||||
|
0.0,
|
||||||
|
13.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"south": {
|
||||||
|
"texture": "#0",
|
||||||
|
"uv": [
|
||||||
|
9.0,
|
||||||
|
0.0,
|
||||||
|
13.0,
|
||||||
|
11.0
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -112,48 +154,48 @@
|
|||||||
],
|
],
|
||||||
"to": [
|
"to": [
|
||||||
16.0,
|
16.0,
|
||||||
4.0,
|
5.0,
|
||||||
16.0
|
16.0
|
||||||
],
|
],
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {
|
"north": {
|
||||||
"texture": "#0",
|
"texture": "#1",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
12.0,
|
11.0,
|
||||||
16.0,
|
16.0,
|
||||||
16.0
|
16.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"texture": "#0",
|
"texture": "#1",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
12.0,
|
11.0,
|
||||||
16.0,
|
16.0,
|
||||||
16.0
|
16.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"texture": "#0",
|
"texture": "#1",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
12.0,
|
11.0,
|
||||||
16.0,
|
16.0,
|
||||||
16.0
|
16.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"texture": "#0",
|
"texture": "#1",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
12.0,
|
11.0,
|
||||||
16.0,
|
16.0,
|
||||||
16.0
|
16.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"texture": "#0",
|
"texture": "#2",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
0.0,
|
0.0,
|
||||||
@@ -162,7 +204,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"texture": "#0",
|
"texture": "#3",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
0.0,
|
0.0,
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 16 KiB |
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_bottom.png
Executable file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_side.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_top.png
Executable file
|
After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 16 KiB |