-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
359 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/fabric-1.16.5/templates/json/txblock/door_bottom.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "block/door_bottom", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/fabric-1.16.5/templates/json/txblock/door_bottom_hinge.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "block/door_bottom_rh", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}" | ||
} | ||
} |
124 changes: 124 additions & 0 deletions
124
src/fabric-1.16.5/templates/json/txblock/door_states.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"variants": { | ||
"facing=east,half=lower,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom" | ||
}, | ||
"facing=south,half=lower,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 90 | ||
}, | ||
"facing=west,half=lower,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 180 | ||
}, | ||
"facing=north,half=lower,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 270 | ||
}, | ||
"facing=east,half=lower,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge" | ||
}, | ||
"facing=south,half=lower,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 90 | ||
}, | ||
"facing=west,half=lower,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 180 | ||
}, | ||
"facing=north,half=lower,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 270 | ||
}, | ||
"facing=east,half=lower,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 90 | ||
}, | ||
"facing=south,half=lower,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 180 | ||
}, | ||
"facing=west,half=lower,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge", | ||
"y": 270 | ||
}, | ||
"facing=north,half=lower,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom_hinge" | ||
}, | ||
"facing=east,half=lower,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 270 | ||
}, | ||
"facing=south,half=lower,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom" | ||
}, | ||
"facing=west,half=lower,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 90 | ||
}, | ||
"facing=north,half=lower,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_bottom", | ||
"y": 180 | ||
}, | ||
"facing=east,half=upper,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_top" | ||
}, | ||
"facing=south,half=upper,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 90 | ||
}, | ||
"facing=west,half=upper,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 180 | ||
}, | ||
"facing=north,half=upper,hinge=left,open=false": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 270 | ||
}, | ||
"facing=east,half=upper,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_top_hinge" | ||
}, | ||
"facing=south,half=upper,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 90 | ||
}, | ||
"facing=west,half=upper,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 180 | ||
}, | ||
"facing=north,half=upper,hinge=right,open=false": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 270 | ||
}, | ||
"facing=east,half=upper,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 90 | ||
}, | ||
"facing=south,half=upper,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 180 | ||
}, | ||
"facing=west,half=upper,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_top_hinge", | ||
"y": 270 | ||
}, | ||
"facing=north,half=upper,hinge=left,open=true": { | ||
"model": "${modid}:block/${registryname}_top_hinge" | ||
}, | ||
"facing=east,half=upper,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 270 | ||
}, | ||
"facing=south,half=upper,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_top" | ||
}, | ||
"facing=west,half=upper,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 90 | ||
}, | ||
"facing=north,half=upper,hinge=right,open=true": { | ||
"model": "${modid}:block/${registryname}_top", | ||
"y": 180 | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "block/door_top", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
src/fabric-1.16.5/templates/json/txblock/door_top_hinge.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"parent": "block/door_top_rh", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "block/template_fence_gate", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"texture": "${modid}:blocks/${data.texture}" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/fabric-1.16.5/templates/json/txblock/fence_gate_item.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<#-- @formatter:off --> | ||
<#if data.itemTexture?has_content> | ||
{ | ||
"parent": "item/generated", | ||
"textures": { | ||
"layer0": "${modid}:items/${data.itemTexture}" | ||
} | ||
} | ||
<#else> | ||
{ | ||
"parent": "${modid}:block/${registryname}" | ||
} | ||
</#if> | ||
<#-- @formatter:on --> |
7 changes: 7 additions & 0 deletions
7
src/fabric-1.16.5/templates/json/txblock/fence_gate_open.json.ftl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"parent": "block/template_fence_gate_open", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"texture": "${modid}:blocks/${data.texture}" | ||
} | ||
} |
Oops, something went wrong.