Detector fixes
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
- Updated JEI, fixes crashes (way2muchnoise)
|
- Updated JEI, fixes crashes (way2muchnoise)
|
||||||
- Fixed crash with Disk Manipulator (way2muchnoise)
|
- Fixed crash with Disk Manipulator (way2muchnoise)
|
||||||
- Fixed autocrafting not giving back byproducts (raoulvdberge)
|
- Fixed autocrafting not giving back byproducts (raoulvdberge)
|
||||||
|
- Detector amount text field doesn't autoselect anymore (raoulvdberge)
|
||||||
|
|
||||||
### 1.0.5
|
### 1.0.5
|
||||||
- Fixed crafting a complex item causes the process to flow off the Crafting Monitor's GUI (raoulvdberge)
|
- Fixed crafting a complex item causes the process to flow off the Crafting Monitor's GUI (raoulvdberge)
|
||||||
|
|||||||
@@ -17,7 +17,6 @@ import refinedstorage.RefinedStorage;
|
|||||||
import refinedstorage.RefinedStorageGui;
|
import refinedstorage.RefinedStorageGui;
|
||||||
import refinedstorage.tile.TileDetector;
|
import refinedstorage.tile.TileDetector;
|
||||||
|
|
||||||
// @TODO: Fix detector model connectivity (also HITBOX)
|
|
||||||
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);
|
||||||
|
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ public class GuiDetector extends GuiBase {
|
|||||||
AMOUNT.setEnableBackgroundDrawing(false);
|
AMOUNT.setEnableBackgroundDrawing(false);
|
||||||
AMOUNT.setVisible(true);
|
AMOUNT.setVisible(true);
|
||||||
AMOUNT.setTextColor(16777215);
|
AMOUNT.setTextColor(16777215);
|
||||||
AMOUNT.setCanLoseFocus(false);
|
AMOUNT.setCanLoseFocus(true);
|
||||||
AMOUNT.setFocused(true);
|
AMOUNT.setFocused(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"forge_marker": 1,
|
"forge_marker": 1,
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "refinedstorage:blocks/side_borderless",
|
"particle": "refinedstorage:blocks/detector_top",
|
||||||
"torch": "refinedstorage:blocks/wireless_transmitter_disconnected"
|
"torch": "refinedstorage:blocks/detector_side_off"
|
||||||
},
|
},
|
||||||
"model": "refinedstorage:detector"
|
"model": "refinedstorage:detector"
|
||||||
},
|
},
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
"powered": {
|
"powered": {
|
||||||
"true": {
|
"true": {
|
||||||
"textures": {
|
"textures": {
|
||||||
"torch": "refinedstorage:blocks/wireless_transmitter_connected"
|
"torch": "refinedstorage:blocks/detector_side_on"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"false": {
|
"false": {
|
||||||
|
|||||||
@@ -1,10 +1,9 @@
|
|||||||
{
|
{
|
||||||
"__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
|
"__comment": "Model made by CyanideX",
|
||||||
"textures": {
|
"textures": {
|
||||||
"0": "refinedstorage:blocks/detector_side",
|
"2": "refinedstorage:blocks/detector_side_off",
|
||||||
"1": "refinedstorage:blocks/detector_side",
|
"3": "refinedstorage:blocks/detector_top",
|
||||||
"2": "refinedstorage:blocks/detector_top",
|
"4": "refinedstorage:blocks/detector_bottom"
|
||||||
"3": "refinedstorage:blocks/detector_bottom"
|
|
||||||
},
|
},
|
||||||
"elements": [
|
"elements": [
|
||||||
{
|
{
|
||||||
@@ -16,63 +15,63 @@
|
|||||||
],
|
],
|
||||||
"to": [
|
"to": [
|
||||||
9.0,
|
9.0,
|
||||||
15.0,
|
10.0,
|
||||||
9.0
|
9.0
|
||||||
],
|
],
|
||||||
"shade": false,
|
"shade": false,
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {
|
"north": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
1.0,
|
5.0,
|
||||||
12.0,
|
9.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
1.0,
|
5.0,
|
||||||
12.0,
|
9.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
1.0,
|
5.0,
|
||||||
12.0,
|
9.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
1.0,
|
5.0,
|
||||||
12.0,
|
9.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
1.0,
|
5.0,
|
||||||
12.0,
|
9.0,
|
||||||
3.0
|
7.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
10.0,
|
7.0,
|
||||||
5.0,
|
7.0,
|
||||||
12.0,
|
9.0,
|
||||||
7.0
|
9.0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -86,26 +85,26 @@
|
|||||||
],
|
],
|
||||||
"to": [
|
"to": [
|
||||||
9.0,
|
9.0,
|
||||||
16.0,
|
11.0,
|
||||||
10.0
|
10.0
|
||||||
],
|
],
|
||||||
"shade": false,
|
"shade": false,
|
||||||
"faces": {
|
"faces": {
|
||||||
"east": {
|
"east": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
9.0,
|
6.0,
|
||||||
0.0,
|
4.0,
|
||||||
13.0,
|
10.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
9.0,
|
6.0,
|
||||||
0.0,
|
4.0,
|
||||||
13.0,
|
10.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -120,26 +119,26 @@
|
|||||||
],
|
],
|
||||||
"to": [
|
"to": [
|
||||||
10.0,
|
10.0,
|
||||||
16.0,
|
11.0,
|
||||||
9.0
|
9.0
|
||||||
],
|
],
|
||||||
"shade": false,
|
"shade": false,
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {
|
"north": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
9.0,
|
6.0,
|
||||||
0.0,
|
4.0,
|
||||||
13.0,
|
10.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"texture": "#0",
|
"texture": "#torch",
|
||||||
"uv": [
|
"uv": [
|
||||||
9.0,
|
6.0,
|
||||||
0.0,
|
4.0,
|
||||||
13.0,
|
10.0,
|
||||||
11.0
|
11.0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -159,7 +158,7 @@
|
|||||||
],
|
],
|
||||||
"faces": {
|
"faces": {
|
||||||
"north": {
|
"north": {
|
||||||
"texture": "#1",
|
"texture": "#2",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
11.0,
|
11.0,
|
||||||
@@ -168,7 +167,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"east": {
|
"east": {
|
||||||
"texture": "#1",
|
"texture": "#2",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
11.0,
|
11.0,
|
||||||
@@ -177,7 +176,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"south": {
|
"south": {
|
||||||
"texture": "#1",
|
"texture": "#2",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
11.0,
|
11.0,
|
||||||
@@ -186,7 +185,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"west": {
|
"west": {
|
||||||
"texture": "#1",
|
"texture": "#2",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
11.0,
|
11.0,
|
||||||
@@ -195,7 +194,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"up": {
|
"up": {
|
||||||
"texture": "#2",
|
"texture": "#3",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
0.0,
|
0.0,
|
||||||
@@ -204,7 +203,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"down": {
|
"down": {
|
||||||
"texture": "#3",
|
"texture": "#4",
|
||||||
"uv": [
|
"uv": [
|
||||||
0.0,
|
0.0,
|
||||||
0.0,
|
0.0,
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.3 KiB |
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_side_off.png
Executable file
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_side_off.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_side_on.png
Executable file
BIN
src/main/resources/assets/refinedstorage/textures/blocks/detector_side_on.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
Reference in New Issue
Block a user