@minecraft/creator-tools
Version:
Minecraft Creator Tools command line and libraries.
525 lines • 19.1 kB
JSON
{
"tags": [
"visual"
],
"customField": {
"id": "<custom material id>",
"title": "<Custom Material Instance Id>",
"dataType": 16,
"subFormId": "block/materialinstanceface"
},
"fields": [
{
"id": "*",
"title": "Default settings for all faces (*)",
"dataType": 16,
"subFormId": "block/materialinstanceface",
"samples": {
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/fabricator.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "mikeamm_gwve_fabricator",
"render_method": "alpha_test",
"ambient_occlusion": 1
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/gray_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "mikeamm_gwve_gray_ore",
"render_method": "alpha_test",
"face_dimming": false
}
}
],
"/samples/culled_block_sample/culled_block_behavior_pack/blocks/tuna_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "sushi_wrap"
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/blue_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "bubble_fish_blue",
"render_method": "blend",
"face_dimming": true,
"ambient_occlusion": 1
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/california_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "sushi_wrap"
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/green_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "bubble_fish_green",
"render_method": "blend",
"face_dimming": true
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/orange_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "bubble_fish_orange",
"render_method": "blend",
"face_dimming": true
}
}
],
"/samples/custom_features/basic_orange_ore/behavior_packs/basic_orange_ore/blocks/orange_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "orange_ore",
"render_method": "opaque"
}
}
],
"/samples/custom_features/example_feature_set/behavior_packs/example_feature_set/blocks/apple_block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "apple_block",
"render_method": "opaque"
}
}
],
"/samples/lucky_block/version_1/behavior_packs/mike_luck/blocks/luckyblock.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "luckyblock"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/frond_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "frond_top",
"render_method": "alpha_test"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_corner.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "palm_leave_corner",
"render_method": "alpha_test"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_tip.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "palm_leave_tip",
"render_method": "alpha_test"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "palm_leave",
"render_method": "alpha_test"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_tree_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "palm_tree_top",
"render_method": "alpha_test"
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_trunk.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "palm_trunk",
"render_method": "alpha_test"
}
}
],
"/samples/starter_blocks/behavior_packs/starter_blocks/blocks/crate.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"texture": "crate"
}
}
]
}
},
{
"id": "north",
"title": "North",
"dataType": 16,
"subFormId": "block/materialinstanceface",
"samples": {
"/samples/culled_block_sample/culled_block_behavior_pack/blocks/tuna_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": "sushi_side"
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/california_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": "sushi_side"
}
]
}
},
{
"id": "south",
"title": "South",
"dataType": 16,
"subFormId": "block/materialinstanceface",
"samples": {
"/samples/culled_block_sample/culled_block_behavior_pack/blocks/tuna_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": "sushi_side"
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/california_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": "sushi_side"
}
]
}
},
{
"id": "east",
"title": "East",
"dataType": 16,
"subFormId": "block/materialinstanceface"
},
{
"id": "west",
"title": "West",
"dataType": 16,
"subFormId": "block/materialinstanceface"
},
{
"id": "up",
"title": "Up",
"dataType": 16,
"subFormId": "block/materialinstanceface"
},
{
"id": "down",
"title": "Down",
"dataType": 16,
"subFormId": "block/materialinstanceface"
},
{
"id": "Material Instance",
"title": "Material Instance",
"description": "A material instance definition to map to a material instance in a geometry file. The material instance \"*\" will be used for any materials that don't have a match.",
"dataType": 15,
"subForm": {
"description": "A material instance definition to map to a material instance in a geometry file. The material instance \"*\" will be used for any materials that don't have a match.",
"fields": [
{
"id": "ambient_occlusion",
"title": "Ambient Occlusion",
"description": "Should this material have ambient occlusion applied when lighting? If true, shadows will be created around and underneath the block. Optionally can be constructed with float to control exponent applied to ao value after lighting.",
"dataType": 3
},
{
"id": "face_dimming",
"title": "Face Dimming",
"description": "Should this material be dimmed by the direction it's facing?",
"defaultValue": true,
"dataType": 1
},
{
"id": "isotropic",
"title": "Isotropic",
"description": "Should the faces that this material is applied to randomize their UVs?",
"defaultValue": false,
"dataType": 1
},
{
"id": "render_method",
"title": "Render Method",
"description": "The render method to use. Must be one of these options:\r\n\"opaque\" - Used for a regular block texture without an alpha layer. Does not allow for transparency or translucency.\r\n\"double_sided\" - Used for completely disabling backface culling.\r\n\"blend\" - Used for a block like stained glass. Allows for transparency and translucency (slightly transparent textures).\r\n\"alpha_test\" - Used for a block like the vanilla (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also disables backface culling.",
"defaultValue": "opaque",
"dataType": 2
},
{
"id": "texture",
"title": "Texture",
"description": "Texture name for the material.",
"dataType": 2
},
{
"id": "tint_method",
"title": "Tint Method",
"description": "Tint multiplied to the color. Tint method logic varies, but often refers to the \"rain\" and \"temperature\" of the biome the block is placed in to compute the tint. Supported tint methods are \"none\", \"default_foliage\", \"birch_foliage\", \"evergreen_foliage\", \"dry_foliage\", \"grass\" and \"water\"",
"defaultValue": false,
"dataType": 1
}
]
}
}
],
"description": "The material instances for a block. Maps face or material_instance names in a geometry file to an actual material instance. You can assign a material instance object to any of these faces: \"up\", \"down\", \"north\", \"south\", \"east\", \"west\", or \"*\". You can also give an instance the name of your choosing such as \"my_instance\", and then assign it to a face by doing \"north\":\"my_instance\".",
"title": "Material Instances",
"samples": {
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/fabricator.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "mikeamm_gwve_fabricator",
"render_method": "alpha_test",
"ambient_occlusion": 1
}
}
}
],
"/samples/casual_creator/gray_wave/behavior_packs/mikeamm_gwve/blocks/gray_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "mikeamm_gwve_gray_ore",
"render_method": "alpha_test",
"face_dimming": false
}
}
}
],
"/samples/culled_block_sample/culled_block_behavior_pack/blocks/tuna_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"north": "sushi_side",
"south": "sushi_side",
"*": {
"texture": "sushi_wrap"
},
"sushi_side": {
"texture": "tuna_roll"
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/blue_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "bubble_fish_blue",
"render_method": "blend",
"face_dimming": true,
"ambient_occlusion": 1
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/california_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"north": "sushi_side",
"south": "sushi_side",
"*": {
"texture": "sushi_wrap"
},
"sushi_side": {
"texture": "california_roll"
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/green_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "bubble_fish_green",
"render_method": "blend",
"face_dimming": true
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/orange_bubble_fish.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "bubble_fish_orange",
"render_method": "blend",
"face_dimming": true
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/salmon_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"north": "sushi_side",
"south": "sushi_side",
"*": {
"texture": "sushi_wrap"
},
"sushi_side": {
"texture": "salmon_roll"
}
}
}
],
"/samples/custom_blocks/behavior_packs/custom_blocks/blocks/tuna_roll.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"north": "sushi_side",
"south": "sushi_side",
"*": {
"texture": "sushi_wrap"
},
"sushi_side": {
"texture": "tuna_roll"
}
}
}
],
"/samples/custom_features/basic_orange_ore/behavior_packs/basic_orange_ore/blocks/orange_ore.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "orange_ore",
"render_method": "opaque"
}
}
}
],
"/samples/custom_features/example_feature_set/behavior_packs/example_feature_set/blocks/apple_block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "apple_block",
"render_method": "opaque"
}
}
}
],
"/samples/lucky_block/version_1/behavior_packs/mike_luck/blocks/luckyblock.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "luckyblock"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/frond_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "frond_top",
"render_method": "alpha_test"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_corner.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "palm_leave_corner",
"render_method": "alpha_test"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave_tip.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "palm_leave_tip",
"render_method": "alpha_test"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_leave.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "palm_leave",
"render_method": "alpha_test"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_tree_top.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "palm_tree_top",
"render_method": "alpha_test"
}
}
}
],
"/samples/palm_tree_blocks_and_features/palm_tree_blocks/behavior_packs/palm_tree/blocks/palm_trunk.block.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "palm_trunk",
"render_method": "alpha_test"
}
}
}
],
"/samples/starter_blocks/behavior_packs/starter_blocks/blocks/crate.json": [
{
"path": "/minecraft:block/components/minecraft:material_instances/",
"content": {
"*": {
"texture": "crate"
}
}
}
]
},
"id": "minecraft:material_instances"
}