forked from MCreator/MCreator
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Goldorion/block-bases
New block bases
- Loading branch information
Showing
25 changed files
with
426 additions
and
14 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
7 changes: 7 additions & 0 deletions
7
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/button.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/button", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"texture": "${modid}:blocks/${data.texture}" | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/button_inventory.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/button_inventory", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"texture": "${modid}:blocks/${data.texture}" | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/button_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}_inventory" | ||
} | ||
</#if> | ||
<#-- @formatter:on --> |
7 changes: 7 additions & 0 deletions
7
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/button_pressed.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/button_pressed", | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}",</#if> | ||
"texture": "${modid}:blocks/${data.texture}" | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/button_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,28 @@ | ||
{ | ||
"variants": { | ||
"face=floor,facing=east,powered=false": { "model": "${modid}:block/${registryname}", "y": 90 }, | ||
"face=floor,facing=west,powered=false": { "model": "${modid}:block/${registryname}", "y": 270 }, | ||
"face=floor,facing=south,powered=false": { "model": "${modid}:block/${registryname}", "y": 180 }, | ||
"face=floor,facing=north,powered=false": { "model": "${modid}:block/${registryname}" }, | ||
"face=wall,facing=east,powered=false": { "model": "${modid}:block/${registryname}", "uvlock": true, "x": 90, "y": 90 }, | ||
"face=wall,facing=west,powered=false": { "model": "${modid}:block/${registryname}", "uvlock": true, "x": 90, "y": 270 }, | ||
"face=wall,facing=south,powered=false": { "model": "${modid}:block/${registryname}", "uvlock": true, "x": 90, "y": 180 }, | ||
"face=wall,facing=north,powered=false": { "model": "${modid}:block/${registryname}", "uvlock": true, "x": 90 }, | ||
"face=ceiling,facing=east,powered=false": { "model": "${modid}:block/${registryname}", "x": 180, "y": 270 }, | ||
"face=ceiling,facing=west,powered=false": { "model": "${modid}:block/${registryname}", "x": 180, "y": 90 }, | ||
"face=ceiling,facing=south,powered=false": { "model": "${modid}:block/${registryname}", "x": 180 }, | ||
"face=ceiling,facing=north,powered=false": { "model": "${modid}:block/${registryname}", "x": 180, "y": 180 }, | ||
"face=floor,facing=east,powered=true": { "model": "${modid}:block/${registryname}_pressed", "y": 90 }, | ||
"face=floor,facing=west,powered=true": { "model": "${modid}:block/${registryname}_pressed", "y": 270 }, | ||
"face=floor,facing=south,powered=true": { "model": "${modid}:block/${registryname}_pressed", "y": 180 }, | ||
"face=floor,facing=north,powered=true": { "model": "${modid}:block/${registryname}_pressed" }, | ||
"face=wall,facing=east,powered=true": { "model": "${modid}:block/${registryname}_pressed", "uvlock": true, "x": 90, "y": 90 }, | ||
"face=wall,facing=west,powered=true": { "model": "${modid}:block/${registryname}_pressed", "uvlock": true, "x": 90, "y": 270 }, | ||
"face=wall,facing=south,powered=true": { "model": "${modid}:block/${registryname}_pressed", "uvlock": true, "x": 90, "y": 180 }, | ||
"face=wall,facing=north,powered=true": { "model": "${modid}:block/${registryname}_pressed", "uvlock": true, "x": 90 }, | ||
"face=ceiling,facing=east,powered=true": { "model": "${modid}:block/${registryname}_pressed", "x": 180, "y": 270 }, | ||
"face=ceiling,facing=west,powered=true": { "model": "${modid}:block/${registryname}_pressed", "x": 180, "y": 90 }, | ||
"face=ceiling,facing=south,powered=true": { "model": "${modid}:block/${registryname}_pressed", "x": 180 }, | ||
"face=ceiling,facing=north,powered=true": { "model": "${modid}:block/${registryname}_pressed", "x": 180, "y": 180 } | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake.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,25 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 1, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#side" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice1.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 3, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice2.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 5, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice3.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 7, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice4.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 9, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice5.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 11, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
26 changes: 26 additions & 0 deletions
26
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_slice6.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,26 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"textures": { | ||
<#if data.particleTexture?has_content>"particle": "${modid}:blocks/${data.particleTexture}", | ||
<#else> "particle": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}",</#if> | ||
"bottom": "${modid}:blocks/${data.texture}", | ||
"top": "${modid}:blocks/${data.textureTop?has_content?then(data.textureTop, data.texture)}", | ||
"side": "${modid}:blocks/${data.textureFront?has_content?then(data.textureFront, data.texture)}", | ||
"inside": "${modid}:blocks/${data.textureBack?has_content?then(data.textureRight, data.texture)}" | ||
}, | ||
"elements": [ | ||
{ "from": [ 13, 0, 1 ], | ||
"to": [ 15, 8, 15 ], | ||
"faces": { | ||
"down": { "texture": "#bottom", "cullface": "down" }, | ||
"up": { "texture": "#top" }, | ||
"north": { "texture": "#side" }, | ||
"south": { "texture": "#side" }, | ||
"west": { "texture": "#inside" }, | ||
"east": { "texture": "#side" } | ||
} | ||
} | ||
] | ||
} | ||
|
||
<#-- @formatter:on --> |
13 changes: 13 additions & 0 deletions
13
plugins/generator-1.15.2/forge-1.15.2/templates/json/txblock/cake_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,13 @@ | ||
<#-- @formatter:off --> | ||
{ | ||
"variants": { | ||
"bites=0": { "model": "${modid}:block/${registryname}" }, | ||
"bites=1": { "model": "${modid}:block/${registryname}_slice1" }, | ||
"bites=2": { "model": "${modid}:block/${registryname}_slice2" }, | ||
"bites=3": { "model": "${modid}:block/${registryname}_slice3" }, | ||
"bites=4": { "model": "${modid}:block/${registryname}_slice4" }, | ||
"bites=5": { "model": "${modid}:block/${registryname}_slice5" }, | ||
"bites=6": { "model": "${modid}:block/${registryname}_slice6" } | ||
} | ||
} | ||
<#-- @formatter:on --> |
Oops, something went wrong.