Skip to content

Commit

Permalink
Add assembler upgrade interface texture
Browse files Browse the repository at this point in the history
  • Loading branch information
Rearth committed Feb 25, 2024
1 parent a80498b commit 40e5eeb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public MultiblockMachineEntity(BlockEntityType<?> type, BlockPos pos, BlockState
public static Vec3i rotatePosition(Vec3i relativePos, Direction facing) {
return switch (facing) {
case NORTH -> new BlockPos(relativePos.getZ(), relativePos.getY(), relativePos.getX());
case WEST -> new BlockPos(-relativePos.getX(), relativePos.getY(), -relativePos.getZ());
case WEST -> new BlockPos(relativePos.getX(), relativePos.getY(), -relativePos.getZ());
case SOUTH -> new BlockPos(-relativePos.getZ(), relativePos.getY(), -relativePos.getX());
case EAST -> new BlockPos(relativePos.getX(), relativePos.getY(), relativePos.getZ());
case EAST -> new BlockPos(-relativePos.getX(), relativePos.getY(), relativePos.getZ());
default -> relativePos;
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public List<Vec3i> getAddonSlots() {

return List.of(
new Vec3i(0, 0,-1),
new Vec3i(1, 0,0),
new Vec3i(-1, 0,0)
new Vec3i(0, 0,2),
new Vec3i(1, 0,0)
);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public int getInventorySize() {
@Override
public List<Vec3i> getAddonSlots() {
return List.of(
new Vec3i(-1, 0,0)
new Vec3i(1, 0,0)
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@
"uv": {
"north": {"uv": [31, 58], "uv_size": [15, 12]},
"east": {"uv": [63, 14], "uv_size": [14, 12]},
"south": {"uv": [0, 62], "uv_size": [15, 12]},
"south": {"uv": [63, 26], "uv_size": [15, 12]},
"west": {"uv": [63, 26], "uv_size": [14, 12]},
"up": {"uv": [16, 48], "uv_size": [15, 14]},
"down": {"uv": [48, 42], "uv_size": [15, -14]}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 40e5eeb

Please sign in to comment.