Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
🚀 Different textures for waterlogged blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
FokaStudio committed Sep 11, 2021
1 parent f726ceb commit f68fd6a
Show file tree
Hide file tree
Showing 99 changed files with 2,752 additions and 31 deletions.
95 changes: 95 additions & 0 deletions assets/minecraft/blockstates/acacia_fence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"multipart": [
{
"apply": {
"model": "minecraft:block/acacia_fence_post"
}
},

{
"when": {
"north": "true"
},
"apply": {
"model": "minecraft:block/acacia_fence_side",
"uvlock": true
}
},
{
"when": {
"north": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_acacia_fence_side",
"uvlock": true
}
},

{
"when": {
"east": "true"
},
"apply": {
"model": "minecraft:block/acacia_fence_side",
"y": 90,
"uvlock": true
}
},
{
"when": {
"east": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_acacia_fence_side",
"y": 90,
"uvlock": true
}
},

{
"when": {
"south": "true"
},
"apply": {
"model": "minecraft:block/acacia_fence_side",
"y": 180,
"uvlock": true
}
},
{
"when": {
"south": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_acacia_fence_side",
"y": 180,
"uvlock": true
}
},

{
"when": {
"west": "true"
},
"apply": {
"model": "minecraft:block/acacia_fence_side",
"y": 270,
"uvlock": true
}
},
{
"when": {
"west": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_acacia_fence_side",
"y": 270,
"uvlock": true
}
}
]
}
114 changes: 114 additions & 0 deletions assets/minecraft/blockstates/acacia_trapdoor.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"variants": {
"facing=east,half=bottom,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_bottom"
},
"facing=east,half=bottom,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 90
},
"facing=east,half=top,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_top"
},
"facing=east,half=top,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 90
},
"facing=north,half=bottom,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_bottom"
},
"facing=north,half=bottom,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open"
},
"facing=north,half=top,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_top"
},
"facing=north,half=top,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open"
},
"facing=south,half=bottom,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_bottom"
},
"facing=south,half=bottom,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 180
},
"facing=south,half=top,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_top"
},
"facing=south,half=top,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 180
},
"facing=west,half=bottom,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_bottom"
},
"facing=west,half=bottom,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 270
},
"facing=west,half=top,open=false,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_top"
},
"facing=west,half=top,open=true,waterlogged=false": {
"model": "minecraft:block/acacia_trapdoor_open",
"y": 270
},


"facing=east,half=bottom,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_bottom"
},
"facing=east,half=bottom,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 90
},
"facing=east,half=top,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_top"
},
"facing=east,half=top,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 90
},
"facing=north,half=bottom,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_bottom"
},
"facing=north,half=bottom,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open"
},
"facing=north,half=top,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_top"
},
"facing=north,half=top,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open"
},
"facing=south,half=bottom,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_bottom"
},
"facing=south,half=bottom,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 180
},
"facing=south,half=top,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_top"
},
"facing=south,half=top,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 180
},
"facing=west,half=bottom,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_bottom"
},
"facing=west,half=bottom,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 270
},
"facing=west,half=top,open=false,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_top"
},
"facing=west,half=top,open=true,waterlogged=true": {
"model": "minecraft:block/waterlogged_acacia_trapdoor_open",
"y": 270
}
}
}
95 changes: 95 additions & 0 deletions assets/minecraft/blockstates/birch_fence.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"multipart": [
{
"apply": {
"model": "minecraft:block/birch_fence_post"
}
},

{
"when": {
"north": "true"
},
"apply": {
"model": "minecraft:block/birch_fence_side",
"uvlock": true
}
},
{
"when": {
"north": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_birch_fence_side",
"uvlock": true
}
},

{
"when": {
"east": "true"
},
"apply": {
"model": "minecraft:block/birch_fence_side",
"y": 90,
"uvlock": true
}
},
{
"when": {
"east": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_birch_fence_side",
"y": 90,
"uvlock": true
}
},

{
"when": {
"south": "true"
},
"apply": {
"model": "minecraft:block/birch_fence_side",
"y": 180,
"uvlock": true
}
},
{
"when": {
"south": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_birch_fence_side",
"y": 180,
"uvlock": true
}
},

{
"when": {
"west": "true"
},
"apply": {
"model": "minecraft:block/birch_fence_side",
"y": 270,
"uvlock": true
}
},
{
"when": {
"west": "true",
"waterlogged": "true"
},
"apply": {
"model": "minecraft:block/waterlogged_birch_fence_side",
"y": 270,
"uvlock": true
}
}
]
}
Loading

0 comments on commit f68fd6a

Please sign in to comment.