From c2c37da44230b2ee3cce9b02ef2c4c847abcbdaa Mon Sep 17 00:00:00 2001 From: simibubi <31564874+simibubi@users.noreply.github.com> Date: Sat, 22 Apr 2023 13:18:55 +0200 Subject: [PATCH] Underwater Transport - Mechanical Belts can now be waterlogged --- src/generated/resources/.cache/cache | 2 +- .../assets/create/blockstates/belt.json | 968 +++++++++++++++--- .../contraptions/relays/belt/BeltBlock.java | 27 +- .../relays/belt/BeltBlockEntity.java | 14 +- .../contraptions/relays/belt/BeltSlicer.java | 12 +- .../relays/belt/item/BeltConnectorItem.java | 8 +- .../block/ProperWaterloggedBlock.java | 4 +- 7 files changed, 851 insertions(+), 184 deletions(-) diff --git a/src/generated/resources/.cache/cache b/src/generated/resources/.cache/cache index 51e38159f..f0d191b4d 100644 --- a/src/generated/resources/.cache/cache +++ b/src/generated/resources/.cache/cache @@ -17,7 +17,7 @@ a07a73251d26e8b38bce295838c2fef246f9885d assets/create/blockstates/andesite_scaf aefe4cd5fdb50b2ffe89f43acac4206c5adfad3f assets/create/blockstates/asurine.json bb61f3f336ebe0ff08d84cb6a83e86a823dac7aa assets/create/blockstates/asurine_pillar.json e555e3c2b2d3f01440e48db4ba88f7e00fd99b6f assets/create/blockstates/basin.json -f25693a9429f6337149ff24f27900dc4eb82a7c2 assets/create/blockstates/belt.json +af4a0f1ad88334ed96b839a9d7f6dca1778b7410 assets/create/blockstates/belt.json cf9045eb16e5299a1d917c4cb536289f49411276 assets/create/blockstates/birch_window.json 94a1a91403eb4b035fec48071e7fcae57a8a6abd assets/create/blockstates/birch_window_pane.json 95bada2b3bf55536f85e82bc6f9d16501b6e1a95 assets/create/blockstates/black_nixie_tube.json diff --git a/src/generated/resources/assets/create/blockstates/belt.json b/src/generated/resources/assets/create/blockstates/belt.json index c09a0cb21..c17b445a7 100644 --- a/src/generated/resources/assets/create/blockstates/belt.json +++ b/src/generated/resources/assets/create/blockstates/belt.json @@ -1,650 +1,1298 @@ { "variants": { - "casing=false,facing=north,part=start,slope=horizontal": { + "casing=false,facing=north,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=start,slope=horizontal": { + "casing=true,facing=north,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_start", "y": 180 }, - "casing=false,facing=south,part=start,slope=horizontal": { + "casing=false,facing=south,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=start,slope=horizontal": { + "casing=true,facing=south,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_start" }, - "casing=false,facing=west,part=start,slope=horizontal": { + "casing=false,facing=west,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=start,slope=horizontal": { + "casing=true,facing=west,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_start", "y": 90 }, - "casing=false,facing=east,part=start,slope=horizontal": { + "casing=false,facing=east,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=start,slope=horizontal": { + "casing=true,facing=east,part=start,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_start", "y": 270 }, - "casing=false,facing=north,part=middle,slope=horizontal": { + "casing=false,facing=north,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=middle,slope=horizontal": { + "casing=true,facing=north,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_middle", "y": 180 }, - "casing=false,facing=south,part=middle,slope=horizontal": { + "casing=false,facing=south,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=middle,slope=horizontal": { + "casing=true,facing=south,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_middle" }, - "casing=false,facing=west,part=middle,slope=horizontal": { + "casing=false,facing=west,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=middle,slope=horizontal": { + "casing=true,facing=west,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_middle", "y": 90 }, - "casing=false,facing=east,part=middle,slope=horizontal": { + "casing=false,facing=east,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=middle,slope=horizontal": { + "casing=true,facing=east,part=middle,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_middle", "y": 270 }, - "casing=false,facing=north,part=end,slope=horizontal": { + "casing=false,facing=north,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=end,slope=horizontal": { + "casing=true,facing=north,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_end", "y": 180 }, - "casing=false,facing=south,part=end,slope=horizontal": { + "casing=false,facing=south,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=end,slope=horizontal": { + "casing=true,facing=south,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_end" }, - "casing=false,facing=west,part=end,slope=horizontal": { + "casing=false,facing=west,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=end,slope=horizontal": { + "casing=true,facing=west,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_end", "y": 90 }, - "casing=false,facing=east,part=end,slope=horizontal": { + "casing=false,facing=east,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=end,slope=horizontal": { + "casing=true,facing=east,part=end,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_end", "y": 270 }, - "casing=false,facing=north,part=pulley,slope=horizontal": { + "casing=false,facing=north,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=pulley,slope=horizontal": { + "casing=true,facing=north,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_pulley", "y": 180 }, - "casing=false,facing=south,part=pulley,slope=horizontal": { + "casing=false,facing=south,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=pulley,slope=horizontal": { + "casing=true,facing=south,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_pulley" }, - "casing=false,facing=west,part=pulley,slope=horizontal": { + "casing=false,facing=west,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=pulley,slope=horizontal": { + "casing=true,facing=west,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_pulley", "y": 90 }, - "casing=false,facing=east,part=pulley,slope=horizontal": { + "casing=false,facing=east,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=pulley,slope=horizontal": { + "casing=true,facing=east,part=pulley,slope=horizontal,waterlogged=false": { "model": "create:block/belt_casing/horizontal_pulley", "y": 270 }, - "casing=false,facing=north,part=start,slope=upward": { + "casing=false,facing=north,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=north,part=start,slope=upward": { + "casing=true,facing=north,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start" }, - "casing=false,facing=south,part=start,slope=upward": { + "casing=false,facing=south,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=south,part=start,slope=upward": { + "casing=true,facing=south,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 180 }, - "casing=false,facing=west,part=start,slope=upward": { + "casing=false,facing=west,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=west,part=start,slope=upward": { + "casing=true,facing=west,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 270 }, - "casing=false,facing=east,part=start,slope=upward": { + "casing=false,facing=east,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=east,part=start,slope=upward": { + "casing=true,facing=east,part=start,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 90 }, - "casing=false,facing=north,part=middle,slope=upward": { + "casing=false,facing=north,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=north,part=middle,slope=upward": { + "casing=true,facing=north,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle" }, - "casing=false,facing=south,part=middle,slope=upward": { + "casing=false,facing=south,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=south,part=middle,slope=upward": { + "casing=true,facing=south,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 180 }, - "casing=false,facing=west,part=middle,slope=upward": { + "casing=false,facing=west,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=west,part=middle,slope=upward": { + "casing=true,facing=west,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 270 }, - "casing=false,facing=east,part=middle,slope=upward": { + "casing=false,facing=east,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=east,part=middle,slope=upward": { + "casing=true,facing=east,part=middle,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 90 }, - "casing=false,facing=north,part=end,slope=upward": { + "casing=false,facing=north,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=north,part=end,slope=upward": { + "casing=true,facing=north,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end" }, - "casing=false,facing=south,part=end,slope=upward": { + "casing=false,facing=south,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=south,part=end,slope=upward": { + "casing=true,facing=south,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 180 }, - "casing=false,facing=west,part=end,slope=upward": { + "casing=false,facing=west,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=west,part=end,slope=upward": { + "casing=true,facing=west,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 270 }, - "casing=false,facing=east,part=end,slope=upward": { + "casing=false,facing=east,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=east,part=end,slope=upward": { + "casing=true,facing=east,part=end,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 90 }, - "casing=false,facing=north,part=pulley,slope=upward": { + "casing=false,facing=north,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=north,part=pulley,slope=upward": { + "casing=true,facing=north,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley" }, - "casing=false,facing=south,part=pulley,slope=upward": { + "casing=false,facing=south,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=south,part=pulley,slope=upward": { + "casing=true,facing=south,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 180 }, - "casing=false,facing=west,part=pulley,slope=upward": { + "casing=false,facing=west,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=west,part=pulley,slope=upward": { + "casing=true,facing=west,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 270 }, - "casing=false,facing=east,part=pulley,slope=upward": { + "casing=false,facing=east,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=east,part=pulley,slope=upward": { + "casing=true,facing=east,part=pulley,slope=upward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 90 }, - "casing=false,facing=north,part=start,slope=downward": { + "casing=false,facing=north,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=start,slope=downward": { + "casing=true,facing=north,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 180 }, - "casing=false,facing=south,part=start,slope=downward": { + "casing=false,facing=south,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=start,slope=downward": { + "casing=true,facing=south,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end" }, - "casing=false,facing=west,part=start,slope=downward": { + "casing=false,facing=west,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=start,slope=downward": { + "casing=true,facing=west,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 90 }, - "casing=false,facing=east,part=start,slope=downward": { + "casing=false,facing=east,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=start,slope=downward": { + "casing=true,facing=east,part=start,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_end", "y": 270 }, - "casing=false,facing=north,part=middle,slope=downward": { + "casing=false,facing=north,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=middle,slope=downward": { + "casing=true,facing=north,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 180 }, - "casing=false,facing=south,part=middle,slope=downward": { + "casing=false,facing=south,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=middle,slope=downward": { + "casing=true,facing=south,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle" }, - "casing=false,facing=west,part=middle,slope=downward": { + "casing=false,facing=west,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=middle,slope=downward": { + "casing=true,facing=west,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 90 }, - "casing=false,facing=east,part=middle,slope=downward": { + "casing=false,facing=east,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=middle,slope=downward": { + "casing=true,facing=east,part=middle,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_middle", "y": 270 }, - "casing=false,facing=north,part=end,slope=downward": { + "casing=false,facing=north,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=end,slope=downward": { + "casing=true,facing=north,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 180 }, - "casing=false,facing=south,part=end,slope=downward": { + "casing=false,facing=south,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=end,slope=downward": { + "casing=true,facing=south,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start" }, - "casing=false,facing=west,part=end,slope=downward": { + "casing=false,facing=west,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=end,slope=downward": { + "casing=true,facing=west,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 90 }, - "casing=false,facing=east,part=end,slope=downward": { + "casing=false,facing=east,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=end,slope=downward": { + "casing=true,facing=east,part=end,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_start", "y": 270 }, - "casing=false,facing=north,part=pulley,slope=downward": { + "casing=false,facing=north,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 180 }, - "casing=true,facing=north,part=pulley,slope=downward": { + "casing=true,facing=north,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 180 }, - "casing=false,facing=south,part=pulley,slope=downward": { + "casing=false,facing=south,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=pulley,slope=downward": { + "casing=true,facing=south,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley" }, - "casing=false,facing=west,part=pulley,slope=downward": { + "casing=false,facing=west,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 90 }, - "casing=true,facing=west,part=pulley,slope=downward": { + "casing=true,facing=west,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 90 }, - "casing=false,facing=east,part=pulley,slope=downward": { + "casing=false,facing=east,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=pulley,slope=downward": { + "casing=true,facing=east,part=pulley,slope=downward,waterlogged=false": { "model": "create:block/belt_casing/diagonal_pulley", "y": 270 }, - "casing=false,facing=north,part=start,slope=vertical": { + "casing=false,facing=north,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 180 }, - "casing=true,facing=north,part=start,slope=vertical": { + "casing=true,facing=north,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 90, "y": 270 }, - "casing=false,facing=south,part=start,slope=vertical": { + "casing=false,facing=south,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90 }, - "casing=true,facing=south,part=start,slope=vertical": { + "casing=true,facing=south,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 90, "y": 90 }, - "casing=false,facing=west,part=start,slope=vertical": { + "casing=false,facing=west,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 90 }, - "casing=true,facing=west,part=start,slope=vertical": { + "casing=true,facing=west,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 90, "y": 180 }, - "casing=false,facing=east,part=start,slope=vertical": { + "casing=false,facing=east,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 270 }, - "casing=true,facing=east,part=start,slope=vertical": { + "casing=true,facing=east,part=start,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 90 }, - "casing=false,facing=north,part=middle,slope=vertical": { + "casing=false,facing=north,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 180 }, - "casing=true,facing=north,part=middle,slope=vertical": { + "casing=true,facing=north,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 90, "y": 270 }, - "casing=false,facing=south,part=middle,slope=vertical": { + "casing=false,facing=south,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90 }, - "casing=true,facing=south,part=middle,slope=vertical": { + "casing=true,facing=south,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 90, "y": 90 }, - "casing=false,facing=west,part=middle,slope=vertical": { + "casing=false,facing=west,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 90 }, - "casing=true,facing=west,part=middle,slope=vertical": { + "casing=true,facing=west,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 90, "y": 180 }, - "casing=false,facing=east,part=middle,slope=vertical": { + "casing=false,facing=east,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 270 }, - "casing=true,facing=east,part=middle,slope=vertical": { + "casing=true,facing=east,part=middle,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 90 }, - "casing=false,facing=north,part=end,slope=vertical": { + "casing=false,facing=north,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 180 }, - "casing=true,facing=north,part=end,slope=vertical": { + "casing=true,facing=north,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 90, "y": 270 }, - "casing=false,facing=south,part=end,slope=vertical": { + "casing=false,facing=south,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90 }, - "casing=true,facing=south,part=end,slope=vertical": { + "casing=true,facing=south,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 90, "y": 90 }, - "casing=false,facing=west,part=end,slope=vertical": { + "casing=false,facing=west,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 90 }, - "casing=true,facing=west,part=end,slope=vertical": { + "casing=true,facing=west,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 90, "y": 180 }, - "casing=false,facing=east,part=end,slope=vertical": { + "casing=false,facing=east,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 270 }, - "casing=true,facing=east,part=end,slope=vertical": { + "casing=true,facing=east,part=end,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 90 }, - "casing=false,facing=north,part=pulley,slope=vertical": { + "casing=false,facing=north,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 180 }, - "casing=true,facing=north,part=pulley,slope=vertical": { + "casing=true,facing=north,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 90, "y": 270 }, - "casing=false,facing=south,part=pulley,slope=vertical": { + "casing=false,facing=south,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90 }, - "casing=true,facing=south,part=pulley,slope=vertical": { + "casing=true,facing=south,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 90, "y": 90 }, - "casing=false,facing=west,part=pulley,slope=vertical": { + "casing=false,facing=west,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 90 }, - "casing=true,facing=west,part=pulley,slope=vertical": { + "casing=true,facing=west,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 90, "y": 180 }, - "casing=false,facing=east,part=pulley,slope=vertical": { + "casing=false,facing=east,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt/particle", "x": 90, "y": 270 }, - "casing=true,facing=east,part=pulley,slope=vertical": { + "casing=true,facing=east,part=pulley,slope=vertical,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 90 }, - "casing=false,facing=north,part=start,slope=sideways": { + "casing=false,facing=north,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 180 }, - "casing=true,facing=north,part=start,slope=sideways": { + "casing=true,facing=north,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 180, "y": 180 }, - "casing=false,facing=south,part=start,slope=sideways": { + "casing=false,facing=south,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=start,slope=sideways": { + "casing=true,facing=south,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_start" }, - "casing=false,facing=west,part=start,slope=sideways": { + "casing=false,facing=west,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 90 }, - "casing=true,facing=west,part=start,slope=sideways": { + "casing=true,facing=west,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "x": 180, "y": 90 }, - "casing=false,facing=east,part=start,slope=sideways": { + "casing=false,facing=east,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=start,slope=sideways": { + "casing=true,facing=east,part=start,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "y": 270 }, - "casing=false,facing=north,part=middle,slope=sideways": { + "casing=false,facing=north,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 180 }, - "casing=true,facing=north,part=middle,slope=sideways": { + "casing=true,facing=north,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 180, "y": 180 }, - "casing=false,facing=south,part=middle,slope=sideways": { + "casing=false,facing=south,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=middle,slope=sideways": { + "casing=true,facing=south,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle" }, - "casing=false,facing=west,part=middle,slope=sideways": { + "casing=false,facing=west,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 90 }, - "casing=true,facing=west,part=middle,slope=sideways": { + "casing=true,facing=west,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "x": 180, "y": 90 }, - "casing=false,facing=east,part=middle,slope=sideways": { + "casing=false,facing=east,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=middle,slope=sideways": { + "casing=true,facing=east,part=middle,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_middle", "y": 270 }, - "casing=false,facing=north,part=end,slope=sideways": { + "casing=false,facing=north,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 180 }, - "casing=true,facing=north,part=end,slope=sideways": { + "casing=true,facing=north,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 180, "y": 180 }, - "casing=false,facing=south,part=end,slope=sideways": { + "casing=false,facing=south,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=end,slope=sideways": { + "casing=true,facing=south,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_end" }, - "casing=false,facing=west,part=end,slope=sideways": { + "casing=false,facing=west,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 90 }, - "casing=true,facing=west,part=end,slope=sideways": { + "casing=true,facing=west,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_start", "x": 180, "y": 90 }, - "casing=false,facing=east,part=end,slope=sideways": { + "casing=false,facing=east,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=end,slope=sideways": { + "casing=true,facing=east,part=end,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_end", "y": 270 }, - "casing=false,facing=north,part=pulley,slope=sideways": { + "casing=false,facing=north,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 180 }, - "casing=true,facing=north,part=pulley,slope=sideways": { + "casing=true,facing=north,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 180, "y": 180 }, - "casing=false,facing=south,part=pulley,slope=sideways": { + "casing=false,facing=south,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle" }, - "casing=true,facing=south,part=pulley,slope=sideways": { + "casing=true,facing=south,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley" }, - "casing=false,facing=west,part=pulley,slope=sideways": { + "casing=false,facing=west,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "x": 180, "y": 90 }, - "casing=true,facing=west,part=pulley,slope=sideways": { + "casing=true,facing=west,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt_casing/sideways_pulley", "x": 180, "y": 90 }, - "casing=false,facing=east,part=pulley,slope=sideways": { + "casing=false,facing=east,part=pulley,slope=sideways,waterlogged=false": { "model": "create:block/belt/particle", "y": 270 }, - "casing=true,facing=east,part=pulley,slope=sideways": { + "casing=true,facing=east,part=pulley,slope=sideways,waterlogged=false": { + "model": "create:block/belt_casing/sideways_pulley", + "y": 270 + }, + "casing=false,facing=north,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_start", + "y": 180 + }, + "casing=false,facing=south,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_start" + }, + "casing=false,facing=west,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_start", + "y": 90 + }, + "casing=false,facing=east,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=start,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_start", + "y": 270 + }, + "casing=false,facing=north,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_middle", + "y": 180 + }, + "casing=false,facing=south,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_middle" + }, + "casing=false,facing=west,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_middle", + "y": 90 + }, + "casing=false,facing=east,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=middle,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_middle", + "y": 270 + }, + "casing=false,facing=north,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_end", + "y": 180 + }, + "casing=false,facing=south,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_end" + }, + "casing=false,facing=west,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_end", + "y": 90 + }, + "casing=false,facing=east,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=end,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_end", + "y": 270 + }, + "casing=false,facing=north,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_pulley", + "y": 180 + }, + "casing=false,facing=south,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_pulley" + }, + "casing=false,facing=west,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_pulley", + "y": 90 + }, + "casing=false,facing=east,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=pulley,slope=horizontal,waterlogged=true": { + "model": "create:block/belt_casing/horizontal_pulley", + "y": 270 + }, + "casing=false,facing=north,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=north,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start" + }, + "casing=false,facing=south,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=south,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 180 + }, + "casing=false,facing=west,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=west,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 270 + }, + "casing=false,facing=east,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=east,part=start,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 90 + }, + "casing=false,facing=north,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=north,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle" + }, + "casing=false,facing=south,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=south,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 180 + }, + "casing=false,facing=west,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=west,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 270 + }, + "casing=false,facing=east,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=east,part=middle,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 90 + }, + "casing=false,facing=north,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=north,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end" + }, + "casing=false,facing=south,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=south,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 180 + }, + "casing=false,facing=west,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=west,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 270 + }, + "casing=false,facing=east,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=east,part=end,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 90 + }, + "casing=false,facing=north,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=north,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley" + }, + "casing=false,facing=south,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=south,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 180 + }, + "casing=false,facing=west,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=west,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 270 + }, + "casing=false,facing=east,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=east,part=pulley,slope=upward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 90 + }, + "casing=false,facing=north,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 180 + }, + "casing=false,facing=south,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end" + }, + "casing=false,facing=west,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 90 + }, + "casing=false,facing=east,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=start,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_end", + "y": 270 + }, + "casing=false,facing=north,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 180 + }, + "casing=false,facing=south,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle" + }, + "casing=false,facing=west,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 90 + }, + "casing=false,facing=east,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=middle,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_middle", + "y": 270 + }, + "casing=false,facing=north,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 180 + }, + "casing=false,facing=south,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start" + }, + "casing=false,facing=west,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 90 + }, + "casing=false,facing=east,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=end,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_start", + "y": 270 + }, + "casing=false,facing=north,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 180 + }, + "casing=true,facing=north,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 180 + }, + "casing=false,facing=south,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley" + }, + "casing=false,facing=west,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 90 + }, + "casing=true,facing=west,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 90 + }, + "casing=false,facing=east,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=pulley,slope=downward,waterlogged=true": { + "model": "create:block/belt_casing/diagonal_pulley", + "y": 270 + }, + "casing=false,facing=north,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 180 + }, + "casing=true,facing=north,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 90, + "y": 270 + }, + "casing=false,facing=south,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90 + }, + "casing=true,facing=south,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 90, + "y": 90 + }, + "casing=false,facing=west,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 90 + }, + "casing=true,facing=west,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 90, + "y": 180 + }, + "casing=false,facing=east,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 270 + }, + "casing=true,facing=east,part=start,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 90 + }, + "casing=false,facing=north,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 180 + }, + "casing=true,facing=north,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 90, + "y": 270 + }, + "casing=false,facing=south,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90 + }, + "casing=true,facing=south,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 90, + "y": 90 + }, + "casing=false,facing=west,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 90 + }, + "casing=true,facing=west,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 90, + "y": 180 + }, + "casing=false,facing=east,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 270 + }, + "casing=true,facing=east,part=middle,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 90 + }, + "casing=false,facing=north,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 180 + }, + "casing=true,facing=north,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 90, + "y": 270 + }, + "casing=false,facing=south,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90 + }, + "casing=true,facing=south,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 90, + "y": 90 + }, + "casing=false,facing=west,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 90 + }, + "casing=true,facing=west,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 90, + "y": 180 + }, + "casing=false,facing=east,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 270 + }, + "casing=true,facing=east,part=end,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 90 + }, + "casing=false,facing=north,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 180 + }, + "casing=true,facing=north,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 90, + "y": 270 + }, + "casing=false,facing=south,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90 + }, + "casing=true,facing=south,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 90, + "y": 90 + }, + "casing=false,facing=west,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 90 + }, + "casing=true,facing=west,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 90, + "y": 180 + }, + "casing=false,facing=east,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 90, + "y": 270 + }, + "casing=true,facing=east,part=pulley,slope=vertical,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 90 + }, + "casing=false,facing=north,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 180 + }, + "casing=true,facing=north,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 180, + "y": 180 + }, + "casing=false,facing=south,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start" + }, + "casing=false,facing=west,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 90 + }, + "casing=true,facing=west,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "x": 180, + "y": 90 + }, + "casing=false,facing=east,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=start,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "y": 270 + }, + "casing=false,facing=north,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 180 + }, + "casing=true,facing=north,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 180, + "y": 180 + }, + "casing=false,facing=south,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle" + }, + "casing=false,facing=west,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 90 + }, + "casing=true,facing=west,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "x": 180, + "y": 90 + }, + "casing=false,facing=east,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=middle,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_middle", + "y": 270 + }, + "casing=false,facing=north,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 180 + }, + "casing=true,facing=north,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 180, + "y": 180 + }, + "casing=false,facing=south,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end" + }, + "casing=false,facing=west,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 90 + }, + "casing=true,facing=west,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_start", + "x": 180, + "y": 90 + }, + "casing=false,facing=east,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=end,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_end", + "y": 270 + }, + "casing=false,facing=north,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 180 + }, + "casing=true,facing=north,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 180, + "y": 180 + }, + "casing=false,facing=south,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle" + }, + "casing=true,facing=south,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley" + }, + "casing=false,facing=west,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "x": 180, + "y": 90 + }, + "casing=true,facing=west,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt_casing/sideways_pulley", + "x": 180, + "y": 90 + }, + "casing=false,facing=east,part=pulley,slope=sideways,waterlogged=true": { + "model": "create:block/belt/particle", + "y": 270 + }, + "casing=true,facing=east,part=pulley,slope=sideways,waterlogged=true": { "model": "create:block/belt_casing/sideways_pulley", "y": 270 } diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java index 69c14c020..e98dc5b64 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltBlock.java @@ -29,6 +29,7 @@ import com.simibubi.create.content.schematics.ISpecialBlockItemRequirement; import com.simibubi.create.content.schematics.ItemRequirement; import com.simibubi.create.content.schematics.ItemRequirement.ItemUseType; import com.simibubi.create.foundation.block.IBE; +import com.simibubi.create.foundation.block.ProperWaterloggedBlock; import com.simibubi.create.foundation.block.render.MultiPosDestructionHandler; import com.simibubi.create.foundation.block.render.ReducedDestroyEffects; import com.simibubi.create.foundation.blockEntity.behaviour.belt.TransportedItemStackHandlerBehaviour.TransportedResult; @@ -68,6 +69,7 @@ import net.minecraft.world.level.block.state.properties.BooleanProperty; import net.minecraft.world.level.block.state.properties.EnumProperty; import net.minecraft.world.level.block.state.properties.Property; import net.minecraft.world.level.levelgen.DebugLevelSource; +import net.minecraft.world.level.material.FluidState; import net.minecraft.world.level.material.Fluids; import net.minecraft.world.level.pathfinder.BlockPathTypes; import net.minecraft.world.level.pathfinder.PathComputationType; @@ -86,7 +88,8 @@ import net.minecraftforge.common.Tags; import net.minecraftforge.items.CapabilityItemHandler; import net.minecraftforge.items.IItemHandler; -public class BeltBlock extends HorizontalKineticBlock implements IBE, ISpecialBlockItemRequirement, ITransformableBlock { +public class BeltBlock extends HorizontalKineticBlock + implements IBE, ISpecialBlockItemRequirement, ITransformableBlock, ProperWaterloggedBlock { public static final Property SLOPE = EnumProperty.create("slope", BeltSlope.class); public static final Property PART = EnumProperty.create("part", BeltPart.class); @@ -96,7 +99,8 @@ public class BeltBlock extends HorizontalKineticBlock implements IBE be.applyColor(DyeColor.getColor(heldItem))); - return InteractionResult.SUCCESS; - } + if (isDye || hasWater) + return onBlockEntityUse(world, pos, + be -> be.applyColor(DyeColor.getColor(heldItem)) ? InteractionResult.SUCCESS : InteractionResult.PASS); if (isConnector) return BeltSlicer.useConnector(state, world, pos, player, handIn, hit, new Feedback()); @@ -342,7 +344,7 @@ public class BeltBlock extends HorizontalKineticBlock implements IBE builder) { - builder.add(SLOPE, PART, CASING); + builder.add(SLOPE, PART, CASING, WATERLOGGED); super.createBlockStateDefinition(builder); } @@ -480,7 +482,8 @@ public class BeltBlock extends HorizontalKineticBlock implements IBE () -> InstancedRenderDispatcher.enqueueUpdate(belt)); } + + return true; } public BeltBlockEntity getControllerBE() { diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltSlicer.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltSlicer.java index 46d25ed80..7aaca4f17 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltSlicer.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/BeltSlicer.java @@ -13,6 +13,7 @@ import com.simibubi.create.content.contraptions.relays.belt.BeltBlockEntity.Casi import com.simibubi.create.content.contraptions.relays.belt.item.BeltConnectorItem; import com.simibubi.create.content.contraptions.relays.belt.transport.BeltInventory; import com.simibubi.create.content.contraptions.relays.belt.transport.TransportedItemStack; +import com.simibubi.create.foundation.block.ProperWaterloggedBlock; import com.simibubi.create.foundation.utility.Components; import com.simibubi.create.foundation.utility.Lang; import com.simibubi.create.foundation.utility.VecHelper; @@ -89,9 +90,10 @@ public class BeltSlicer { BlockPos next = part == BeltPart.END ? pos.subtract(beltVector) : pos.offset(beltVector); BlockState replacedState = world.getBlockState(next); BeltBlockEntity segmentBE = BeltHelper.getSegmentBE(world, next); - KineticBlockEntity.switchToBlockState(world, next, - state.setValue(BeltBlock.CASING, segmentBE != null && segmentBE.casing != CasingType.NONE)); - world.setBlock(pos, Blocks.AIR.defaultBlockState(), Block.UPDATE_ALL | Block.UPDATE_MOVE_BY_PISTON); + KineticBlockEntity.switchToBlockState(world, next, ProperWaterloggedBlock.withWater(world, + state.setValue(BeltBlock.CASING, segmentBE != null && segmentBE.casing != CasingType.NONE), next)); + world.setBlock(pos, ProperWaterloggedBlock.withWater(world, Blocks.AIR.defaultBlockState(), pos), + Block.UPDATE_ALL | Block.UPDATE_MOVE_BY_PISTON); world.removeBlockEntity(pos); world.levelEvent(2001, pos, Block.getId(state)); @@ -316,7 +318,9 @@ public class BeltSlicer { if (mergedController == null) { // Attach at end - world.setBlock(next, state.setValue(BeltBlock.CASING, false), Block.UPDATE_ALL | Block.UPDATE_MOVE_BY_PISTON); + world.setBlock(next, + ProperWaterloggedBlock.withWater(world, state.setValue(BeltBlock.CASING, false), next), + Block.UPDATE_ALL | Block.UPDATE_MOVE_BY_PISTON); BeltBlockEntity segmentBE = BeltHelper.getSegmentBE(world, next); if (segmentBE != null) segmentBE.color = controllerBE.color; diff --git a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/item/BeltConnectorItem.java b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/item/BeltConnectorItem.java index 98cb323c2..c35bbffd5 100644 --- a/src/main/java/com/simibubi/create/content/contraptions/relays/belt/item/BeltConnectorItem.java +++ b/src/main/java/com/simibubi/create/content/contraptions/relays/belt/item/BeltConnectorItem.java @@ -14,6 +14,7 @@ import com.simibubi.create.content.contraptions.relays.belt.BeltSlope; import com.simibubi.create.content.contraptions.relays.elementary.AbstractSimpleShaftBlock; import com.simibubi.create.content.contraptions.relays.elementary.ShaftBlock; import com.simibubi.create.foundation.advancement.AllAdvancements; +import com.simibubi.create.foundation.block.ProperWaterloggedBlock; import com.simibubi.create.foundation.config.AllConfigs; import com.simibubi.create.foundation.utility.VecHelper; @@ -155,9 +156,10 @@ public class BeltConnectorItem extends BlockItem { .isReplaceable()) world.destroyBlock(pos, false); - KineticBlockEntity.switchToBlockState(world, pos, beltBlock.setValue(BeltBlock.SLOPE, slope) - .setValue(BeltBlock.PART, part) - .setValue(BeltBlock.HORIZONTAL_FACING, facing)); + KineticBlockEntity.switchToBlockState(world, pos, + ProperWaterloggedBlock.withWater(world, beltBlock.setValue(BeltBlock.SLOPE, slope) + .setValue(BeltBlock.PART, part) + .setValue(BeltBlock.HORIZONTAL_FACING, facing), pos)); } if (!failed) diff --git a/src/main/java/com/simibubi/create/foundation/block/ProperWaterloggedBlock.java b/src/main/java/com/simibubi/create/foundation/block/ProperWaterloggedBlock.java index e6439e5fd..b455f1656 100644 --- a/src/main/java/com/simibubi/create/foundation/block/ProperWaterloggedBlock.java +++ b/src/main/java/com/simibubi/create/foundation/block/ProperWaterloggedBlock.java @@ -38,9 +38,11 @@ public interface ProperWaterloggedBlock extends SimpleWaterloggedBlock { static BlockState withWater(LevelAccessor level, BlockState placementState, BlockPos pos) { if (placementState == null) return null; + FluidState ifluidstate = level.getFluidState(pos); + if (placementState.isAir()) + return ifluidstate.getType() == Fluids.WATER ? ifluidstate.createLegacyBlock() : placementState; if (!(placementState.getBlock() instanceof SimpleWaterloggedBlock)) return placementState; - FluidState ifluidstate = level.getFluidState(pos); return placementState.setValue(BlockStateProperties.WATERLOGGED, ifluidstate.getType() == Fluids.WATER); }