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