Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
Fix extractor model a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Mar 25, 2020
1 parent 98353df commit 12cba7f
Show file tree
Hide file tree
Showing 2 changed files with 241 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ private void update(Network network, ItemPipe pipe, Attachment attachment, Block
return;
}

// TODO: extend attachment model by one
ItemStack extractedActual = source.extractItem(firstSlot, type.itemsToExtract, false);
if (extractedActual.isEmpty()) {
return;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"parent": "block/block",
"textures": {
"1": "refinedpipes:blocks/simple_item_pipe"
},
"elements": [
{
"name": "Attachment",
"from": [
3,
3,
1
0
],
"to": [
13,
13,
4
3
],
"faces": {
"north": {
Expand Down Expand Up @@ -69,6 +72,242 @@
"texture": "#attachment"
}
}
},
{
"from": [
4,
11,
3
],
"to": [
5,
12,
4
],
"faces": {
"east": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"south": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"west": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"up": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"down": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
}
}
},
{
"from": [
11,
11,
3
],
"to": [
12,
12,
4
],
"faces": {
"east": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"south": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"west": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"up": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"down": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
}
}
},
{
"from": [
11,
4,
3
],
"to": [
12,
5,
4
],
"faces": {
"east": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"south": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"west": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"up": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"down": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
}
}
},
{
"from": [
4,
4,
3
],
"to": [
5,
5,
4
],
"faces": {
"east": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"south": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"west": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"up": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
},
"down": {
"uv": [
0,
4,
1,
5
],
"texture": "#1"
}
}
}
]
}

0 comments on commit 12cba7f

Please sign in to comment.