Skip to content

Commit

Permalink
old blank block preset 1.16.100
Browse files Browse the repository at this point in the history
  • Loading branch information
outercloudstudio committed Oct 16, 2023
1 parent 70654c3 commit 8a647e7
Show file tree
Hide file tree
Showing 5 changed files with 89 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"format_version": "1.16.100",
"minecraft:block": {
"description": {
"identifier": "{{PROJECT_PREFIX}}:{{IDENTIFIER}}"
},
"components": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"{{PROJECT_PREFIX}}:{{IDENTIFIER}}": {
"sound": "stone",
"textures": "{{PROJECT_PREFIX}}_{{IDENTIFIER}}"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
tile.{{PROJECT_PREFIX}}:{{IDENTIFIER}}.name={{IDENTIFIER_NAME}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"name": "Blank Block",
"icon": "mdi-cube-outline",
"description": "Creates a new, basic block.",
"category": "fileType.block",
"showIfDisabled": false,
"requires": {
"targetVersion": {
"min": "1.16.100",
"max": "1.19.80"
},
"packTypes": ["behaviorPack", "resourcePack"]
},
"additionalModels": {
"DEFAULT_TEXTURE": "texture.png",
"PRESET_PATH": ""
},
"fields": [
[
"Image (Optional)",
"TEXTURE",
{
"type": "fileInput",
"accept": "image/png",
"optional": true
}
],
[
"Identifier",
"IDENTIFIER",
{
"validate": ["required", "alphanumeric", "lowercase"]
}
],
[
"Display Name",
"IDENTIFIER_NAME",
{
"validate": ["required"]
}
]
],
"createFiles": [
"presetScript/blockImages.js",
[
"block.json",
"blocks/{{PRESET_PATH}}{{IDENTIFIER}}.json",
{
"inject": ["IDENTIFIER", "PROJECT_PREFIX", "PRESET_PATH"],
"openFile": true,
"packPath": "behaviorPack"
}
]
],
"expandFiles": [
[
"clientBlock.json",
"blocks.json",
{
"inject": ["IDENTIFIER", "PROJECT_PREFIX"],
"packPath": "resourcePack"
}
],
[
"en_US.lang",
"texts/en_US.lang",
{
"inject": ["IDENTIFIER", "IDENTIFIER_NAME", "PROJECT_PREFIX"],
"packPath": "resourcePack"
}
]
]
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8a647e7

Please sign in to comment.