此条目的(部分)内容需要翻译。
你可以帮助我们来翻译此条目,但请勿使用机器翻译。
此特性为基岩版独有。
Template:Bedrock Edition Developer Documentation
manifest.json
清单(manifest)文件包含让Minecraft能够识别附加包的所有基本信息。下表包含清单的所有组成部分、其各个属性及其含义。
名称 描述 format_version 定义了清单的当前版本。除非有充分的理由,否则请勿更改 header 清单的标题,需要清单有效。 类型 名称 描述 向量 [a, b, c] base_game_version 你的世界模板所适用的基础游戏版本,指定为[majorVersion, minorVersion, revision]。 我们用它来判断当你的内容被使用时要应用的基本游戏资源和行为包的版本。
字符串 description 关于附加包的简短说明。它会出现在游戏中附加包名称的下方。建议将其保持在1—2行。 布尔值 lock_template_options 任何世界模板都需要此选项。这将禁止玩家修改世界的选项。 字符串 min_engine_version 此附加包为之编写的的最低版本的游戏。可以帮助游戏确定附加包是否需要向后兼容。创建附加包时,应总是使用当前可用的最高版本 字符串 name 在Minecraft中出现的附加包的名称 字符串 uuid 一种特殊的标识符,可以使此附加包从所有其他附加包中唯一区别出来。 UUID以xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx的格式写入,其中每个x是一个十六进制值(0-9或a-f)。建议使用在线服务来生成此内容并保证其唯一性(只需在UUID Generator中进行搜索即可找到一些内容) 向量 [a, b, c] version 附加包的版本,格式为[majorVersion, minorVersion, revision]。 导入以前已经导入过的附加包时会用到该版本号。如果版本更高,则新的附加包将替换旧的附加包;如果版本相同或更低,则将其忽略
modules 描述了所构成附加包的模块。此处的每个条目都定义了附加包内容中的一种。 类型 名称 描述 字符串 uuid 模块的唯一标识符,格式与header中附加包的UUID相同。这应该与附加包的UUID不同,并且对于每个模块都不同 字符串 description 关于模块的简短说明。目前这并不是面向用户的,但它是提醒自己为什么要定义模块的好地方 向量 [a, b, c] version 模块的版本,格式与header中附加包的版本相同。这可用于进一步确定附加包中的变化 字符串 type 模块的类型。可以是以下任意一项:resources、data、client_data、interface和world_template
dependencies 描述了此附加包赖以运行的附加包。如果存在,在该附加包被添加时,此处描述的任何附加包都会自动被添加到世界中;如果不存在,则会显示错误。每个条目具有以下参数: 类型 名称 描述 字符串 uuid 此附加包所依赖的附加包的唯一标识符。它必须与清单文件的header部分中定义的包拥有完全相同的UUID 向量 [a, b, c] version 你的附加包所依赖的附加包的特定版本。应该匹配另一个附加包的清单文件中的版本
capabilities 此附加包使用的不同功能,默认情况下,这些功能不一定启用。 名称 描述 experimental_custom_ui 允许附加包中的HTML文件用于自定义UI,以及附加包中的脚本用于调用和操作自定义UI chemistry 允许附加包添加、更改或替换有关化学的功能
metadata 含有有关附加包的其他数据,否则为可选。 类型 名称 描述 Array authors 附加包作者的姓名 String license 附加包的协议 String url 你的附加包的网站主页
- 示例
- 行为包
{
"format_version": 2,
"header": {
"description": "Example vanilla behavior pack",
"name": "Vanilla Behavior Pack",
"uuid": "ee649bcf-256c-4013-9068-6a802b89d756",
"version": [0, 0, 1],
"min_engine_version": [1, 13, 0]
},
"modules": [
{
"description": "Example behavior pack module",
"type": "data",
"uuid": "fa6e90c8-c925-460f-8155-c8a60b753caa",
"version": [0, 0, 1]
},
{
"description": "Example client scripts module",
"type": "client_data",
"uuid": "c05a992e-482a-455f-898c-58bbb4975e47",
"version": [0, 0, 1]
}
],
"dependencies": [
]
}
- 资源包
{
"format_version": 2,
"header": {
"description": "Example vanilla resource pack",
"name": "Vanilla Resource Pack",
"uuid": "66c6e9a8-3093-462a-9c36-dbb052165822",
"version": [0, 0, 1],
"min_engine_version": [1, 13, 0],
"vanilla": [1, 12, 0]
},
"modules": [
{
"description": "Example vanilla resource pack",
"type": "resources",
"uuid": "743f6949-53be-44b6-b326-398005028819",
"version": [0, 0, 1]
}
]
}
实体
标识符 完整ID 短ID villager_v2 16778099 115 cat 21323 75 cow 4875 11 turtle 4938 74 chicken 4874 10 pig 4876 12 sheep 4877 13 shulker 2870 54 wandering_trader 886 118 wolf 21262 14 villager 16777999 15 mooshroom 4880 16 squid 8977 17 rabbit 4882 18 bat 33043 19 minecart 524372 84 iron_golem 788 20 snow_golem 789 21 ocelot 21270 22 horse 2118423 23 llama 4893 29 polar_bear 4892 28 parrot 21278 30 dolphin 8991 31 guardian 2865 49 panda 4977 113 husk 199471 47 tropicalfish 9071 111 wither_skeleton 1116976 48 cod 9072 112 zombie_villager 199468 44 pufferfish 9068 108 witch 2861 45 salmon 9069 109 donkey 2118424 24 mule 2118425 25 skeleton_horse 2186010 26 zombie_horse 2186011 27 hopper_minecart 524384 96 zombie 199456 32 stray 1116974 46 drowned 199534 110 creeper 2849 33 skeleton 1116962 34 spider 264995 35 zombie_pigman 68388 36 slime 2853 37 enderman 2854 38 silverfish 264999 39 evocation_illager 2920 104 cave_spider 265000 40 vex 2921 105 ghast 2857 41 magma_cube 2858 42 blaze 2859 43 wither 68404 52 zombie_villager_v2 199540 116 pillager 2930 114 elder_guardian 2866 50 ender_dragon 2869 53 endermite 265015 55 vindicator 2873 57 phantom 68410 58 ravager 2875 59 player 319 63 tnt_minecart 524385 97 chest_minecart 524386 98 command_block_minecart 524388 100 item 64 64 tnt 65 65 falling_block 66 66 moving_block 67 67 xp_bottle 4194372 68 xp_orb 69 69 eye_of_ender_signal 70 70 ender_crystal 71 71 shulker_bullet 4194380 76 fishing_hook 77 77 dragon_fireball 4194383 79 arrow 12582992 80 snowball 4194385 81 egg 4194386 82 painting 83 83 shield 117 117 thrown_trident 12582985 73 fireball 4194389 85 splash_potion 4194390 86 ender_pearl 4194391 87 leash_knot 88 88 wither_skull 4194393 89 wither_skull_dangerous 4194395 91 boat 90 90 lightning_bolt 93 93 small_fireball 4194398 94 llama_spit 4194406 102 area_effect_cloud 95 95 lingering_potion 4194405 101 evocation_fang 4194407 103 armor_stand 317 61 fireworks_rocket 72 72 agent 312 56 ice_bomb 4194410 106 balloon 107 107 chalkboard 78 78 npc 307 51 tripod_camera 318 62
方块
名称 minecraft:tripwire_hook minecraft:air minecraft:noteblock minecraft:gravel minecraft:lit_redstone_lamp minecraft:stone minecraft:golden_rail minecraft:gold_block minecraft:bedrock minecraft:turtle_egg minecraft:element_72 minecraft:oak_stairs minecraft:element_7 minecraft:grass minecraft:detector_rail minecraft:planks minecraft:dark_oak_pressure_plate minecraft:dirt minecraft:coal_ore minecraft:diamond_block minecraft:cobblestone minecraft:element_12 minecraft:lava minecraft:dark_oak_trapdoor minecraft:element_63 minecraft:double_stone_slab2 minecraft:slime minecraft:stonebrick minecraft:sapling minecraft:cauldron minecraft:flowing_water minecraft:spruce_pressure_plate minecraft:piston minecraft:stained_glass minecraft:water minecraft:flowing_lava minecraft:furnace minecraft:element_81 minecraft:sand minecraft:gold_ore minecraft:wooden_door minecraft:tallgrass minecraft:iron_ore minecraft:underwater_torch minecraft:web minecraft:log minecraft:element_47 minecraft:stripped_oak_log minecraft:leaves minecraft:ladder minecraft:yellow_flower minecraft:element_113 minecraft:sponge minecraft:sweet_berry_bush minecraft:birch_fence_gate minecraft:standing_sign minecraft:monster_egg minecraft:glass minecraft:conduit minecraft:element_43 minecraft:lapis_ore minecraft:spruce_button minecraft:bookshelf minecraft:bed minecraft:element_79 minecraft:powered_comparator minecraft:wooden_pressure_plate minecraft:lapis_block minecraft:element_116 minecraft:stripped_acacia_log minecraft:spruce_door minecraft:dispenser minecraft:wheat minecraft:diamond_ore minecraft:sandstone minecraft:obsidian minecraft:wool minecraft:brick_block minecraft:reeds minecraft:sticky_piston minecraft:deadbush minecraft:dried_kelp_block minecraft:pistonArmCollision minecraft:red_flower minecraft:green_glazed_terracotta minecraft:brown_mushroom minecraft:red_mushroom minecraft:spruce_fence_gate minecraft:iron_block minecraft:stone_slab minecraft:double_stone_slab minecraft:rail minecraft:tnt minecraft:mossy_cobblestone minecraft:quartz_stairs minecraft:torch minecraft:mob_spawner minecraft:lava_cauldron minecraft:element_82 minecraft:chest minecraft:jungle_standing_sign minecraft:element_41 minecraft:redstone_wire minecraft:crafting_table minecraft:element_39 minecraft:dark_oak_door minecraft:farmland minecraft:lit_furnace minecraft:stone_stairs minecraft:wall_sign minecraft:lever minecraft:stone_pressure_plate minecraft:element_48 minecraft:iron_door minecraft:redstone_ore minecraft:lectern minecraft:lit_redstone_ore minecraft:unlit_redstone_torch minecraft:red_nether_brick_stairs minecraft:redstone_torch minecraft:stone_button minecraft:snow_layer minecraft:brown_mushroom_block minecraft:ice minecraft:snow minecraft:cactus minecraft:element_88 minecraft:command_block minecraft:clay minecraft:jukebox minecraft:fence minecraft:pumpkin minecraft:acacia_door minecraft:nether_brick_stairs minecraft:netherrack minecraft:log2 minecraft:soul_sand minecraft:glowstone minecraft:portal minecraft:lit_pumpkin minecraft:beetroot minecraft:cake minecraft:unpowered_repeater minecraft:powered_repeater minecraft:invisibleBedrock minecraft:coral_fan_hang3 minecraft:acacia_stairs minecraft:trapdoor minecraft:jungle_door minecraft:red_mushroom_block minecraft:iron_bars minecraft:coral minecraft:chain_command_block minecraft:glass_pane minecraft:element_114 minecraft:melon_block minecraft:coral_fan_hang2 minecraft:emerald_block minecraft:pumpkin_stem minecraft:chemical_heat minecraft:melon_stem minecraft:vine minecraft:element_84 minecraft:standing_banner minecraft:fence_gate minecraft:element_106 minecraft:brick_stairs minecraft:stone_brick_stairs minecraft:mycelium minecraft:waterlily minecraft:smooth_stone minecraft:nether_brick minecraft:sandstone_stairs minecraft:nether_brick_fence minecraft:element_107 minecraft:nether_wart minecraft:element_94 minecraft:enchanting_table minecraft:brewing_stand minecraft:purpur_block minecraft:end_portal minecraft:end_portal_frame minecraft:element_4 minecraft:end_stone minecraft:fletching_table minecraft:element_13 minecraft:dragon_egg minecraft:loom minecraft:granite_stairs minecraft:redstone_lamp minecraft:dropper minecraft:activator_rail minecraft:coral_block minecraft:cocoa minecraft:wood minecraft:emerald_ore minecraft:hard_stained_glass_pane minecraft:observer minecraft:ender_chest minecraft:info_update minecraft:unpowered_comparator minecraft:tripWire minecraft:spruce_stairs minecraft:birch_stairs minecraft:stonecutter_block minecraft:jungle_stairs minecraft:coral_fan_hang minecraft:element_90 minecraft:beacon minecraft:cobblestone_wall minecraft:flower_pot minecraft:carrots minecraft:potatoes minecraft:wooden_button minecraft:grindstone minecraft:skull minecraft:anvil minecraft:stone_slab4 minecraft:element_21 minecraft:trapped_chest minecraft:light_weighted_pressure_plate minecraft:element_25 minecraft:purple_glazed_terracotta minecraft:heavy_weighted_pressure_plate minecraft:daylight_detector minecraft:stripped_jungle_log minecraft:redstone_block minecraft:quartz_ore minecraft:hopper minecraft:element_97 minecraft:quartz_block minecraft:wooden_slab minecraft:element_53 minecraft:double_wooden_slab minecraft:leaves2 minecraft:stained_hardened_clay minecraft:carved_pumpkin minecraft:stained_glass_pane minecraft:dark_oak_stairs minecraft:iron_trapdoor minecraft:prismarine minecraft:seaLantern minecraft:element_96 minecraft:hay_block minecraft:element_37 minecraft:carpet minecraft:hardened_clay minecraft:element_44 minecraft:coal_block minecraft:packed_ice minecraft:element_118 minecraft:chemistry_table minecraft:black_glazed_terracotta minecraft:purpur_stairs minecraft:double_plant minecraft:wall_banner minecraft:daylight_detector_inverted minecraft:red_sandstone minecraft:red_sandstone_stairs minecraft:spruce_trapdoor minecraft:element_27 minecraft:stone_slab2 minecraft:jungle_fence_gate minecraft:dark_oak_fence_gate minecraft:acacia_fence_gate minecraft:repeating_command_block minecraft:birch_door minecraft:grass_path minecraft:frame minecraft:normal_stone_stairs minecraft:element_1 minecraft:chorus_flower minecraft:jungle_pressure_plate minecraft:undyed_shulker_box minecraft:element_10 minecraft:end_bricks minecraft:smoker minecraft:frosted_ice minecraft:diorite_stairs minecraft:structure_block minecraft:end_rod minecraft:element_16 minecraft:blue_glazed_terracotta minecraft:end_gateway minecraft:magma minecraft:bell minecraft:stone_slab3 minecraft:element_26 minecraft:movingBlock minecraft:nether_wart_block minecraft:red_nether_brick minecraft:bone_block minecraft:structure_void minecraft:shulker_box minecraft:white_glazed_terracotta minecraft:orange_glazed_terracotta minecraft:magenta_glazed_terracotta minecraft:light_blue_glazed_terracotta minecraft:colored_torch_bp minecraft:yellow_glazed_terracotta minecraft:element_59 minecraft:lime_glazed_terracotta minecraft:pink_glazed_terracotta minecraft:barrier minecraft:gray_glazed_terracotta minecraft:silver_glazed_terracotta minecraft:cyan_glazed_terracotta minecraft:glowingobsidian minecraft:brown_glazed_terracotta minecraft:red_glazed_terracotta minecraft:concrete minecraft:acacia_trapdoor minecraft:concretePowder minecraft:scaffolding minecraft:element_54 minecraft:chorus_plant minecraft:podzol minecraft:stonecutter minecraft:netherreactor minecraft:element_34 minecraft:info_update2 minecraft:element_3 minecraft:reserved6 minecraft:element_31 minecraft:prismarine_stairs minecraft:bamboo minecraft:element_76 minecraft:dark_prismarine_stairs minecraft:prismarine_bricks_stairs minecraft:stripped_spruce_log minecraft:stripped_birch_log minecraft:cartography_table minecraft:stripped_dark_oak_log minecraft:blue_ice minecraft:fire minecraft:hard_glass minecraft:acacia_standing_sign minecraft:hard_stained_glass minecraft:hard_glass_pane minecraft:colored_torch_rg minecraft:element_0 minecraft:element_2 minecraft:element_5 minecraft:blast_furnace minecraft:element_6 minecraft:element_8 minecraft:element_9 minecraft:mossy_cobblestone_stairs minecraft:element_11 minecraft:andesite_stairs minecraft:element_14 minecraft:element_15 minecraft:element_17 minecraft:element_18 minecraft:element_19 minecraft:element_20 minecraft:acacia_button minecraft:element_22 minecraft:element_23 minecraft:element_24 minecraft:element_28 minecraft:element_29 minecraft:element_30 minecraft:element_32 minecraft:element_33 minecraft:element_35 minecraft:element_36 minecraft:element_38 minecraft:element_40 minecraft:element_42 minecraft:element_45 minecraft:smooth_red_sandstone_stairs minecraft:seagrass minecraft:element_46 minecraft:element_49 minecraft:element_50 minecraft:element_51 minecraft:sea_pickle minecraft:element_52 minecraft:element_55 minecraft:element_56 minecraft:element_57 minecraft:element_58 minecraft:element_60 minecraft:element_61 minecraft:double_stone_slab3 minecraft:element_62 minecraft:element_64 minecraft:double_stone_slab4 minecraft:element_65 minecraft:element_66 minecraft:element_67 minecraft:element_68 minecraft:element_69 minecraft:element_70 minecraft:element_71 minecraft:element_73 minecraft:element_74 minecraft:element_75 minecraft:bamboo_sapling minecraft:element_77 minecraft:element_78 minecraft:element_80 minecraft:element_83 minecraft:element_85 minecraft:element_86 minecraft:jungle_button minecraft:element_87 minecraft:element_89 minecraft:birch_pressure_plate minecraft:element_91 minecraft:element_92 minecraft:element_93 minecraft:birch_wall_sign minecraft:element_95 minecraft:element_98 minecraft:element_99 minecraft:element_100 minecraft:element_101 minecraft:element_102 minecraft:element_103 minecraft:element_104 minecraft:element_105 minecraft:element_108 minecraft:element_109 minecraft:jungle_trapdoor minecraft:element_110 minecraft:element_111 minecraft:element_112 minecraft:element_115 minecraft:element_117 minecraft:coral_fan minecraft:coral_fan_dead minecraft:kelp minecraft:birch_button minecraft:dark_oak_button minecraft:birch_trapdoor minecraft:acacia_pressure_plate minecraft:bubble_column minecraft:polished_granite_stairs minecraft:polished_diorite_stairs minecraft:polished_andesite_stairs minecraft:mossy_stone_brick_stairs minecraft:smooth_sandstone_stairs minecraft:end_brick_stairs minecraft:smooth_quartz_stairs minecraft:spruce_standing_sign minecraft:spruce_wall_sign minecraft:birch_standing_sign minecraft:smithing_table minecraft:jungle_wall_sign minecraft:acacia_wall_sign minecraft:darkoak_standing_sign minecraft:darkoak_wall_sign minecraft:lit_smoker minecraft:barrel minecraft:lantern minecraft:campfire minecraft:jigsaw minecraft:composter minecraft:lit_blast_furnace
方块状态
方块状态名称 类型 有效值 描述 age_bit 布尔值 True, False 确定树苗是否应该生长 age 整型 0 - 15 代表方块的年龄 attached_bit 布尔值 True, False 确定是否将绊线连接到另一绊线 portal_axis 字符串 unknown, x, z 确定传送门方块的朝向 bite_counter 整型 0 - 6 跟踪蛋糕已经被吃了几口 brewing_stand_slot_a_bit 布尔值 True, False 确定是否在酿造台的药水槽a中显示瓶子 brewing_stand_slot_b_bit 布尔值 True, False 确定是否在酿造台的药水槽b中显示瓶子 brewing_stand_slot_c_bit 布尔值 True, False 确定是否在酿造台的药水槽c中显示瓶子 button_pressed_bit 布尔值 True, False 确定按钮是否处于按下状态 conditional_bit 布尔值 True, False 确定命令方块是否是有条件的 covered_bit 布尔值 True, False 描述雪是否覆盖了另一层雪 damage 字符串 undamaged, slightly_damaged, very_damaged, broken 确定铁砧的损坏状态 disarmed_bit 布尔值 True, False 确定绊线是否已经撤销。 door_hinge_bit 布尔值 True, False 确定门的铰链是否为镜像 upper_block_bit 布尔值 True, False 确定方块是否是物体的上半部分,例如门或高的植物 direction 整型 0 - 3 确定一些方块朝向北、南、东或西方向。 0=南,1=西,2=北,3=东 end_portal_eye_bit 布尔值 True, False 确定末地传送门方块中是否有末影之眼 explode_bit 布尔值 True, False 确定TNT方块是否应该开始其爆炸程序 facing_direction 整型 0 - 5 确定一些方块朝向上、下、北、南、东或西方向。 0=下,1=上,2=北,3=南,4=西,5=东 fill_level 整型 0 - 6 确定炼药锅的水位 growth 整型 0 - 7 确定农作物的生长等级 head_piece_bit 布尔值 True, False Determines if a block is the pillow side of a bed height 整数 0 - 7 Determines the height of a top snow block infiniburn_bit 布尔值 True, False Determines if a block should burn infinitely in_wall_bit 布尔值 True, False Determines if a fence block is connected to a wall block liquid_depth 整数 0 - 15 Determines the level of liquid blocks moisturized_amount 整数 0 - 7 Determines the moisture level of crops no_drop_bit 布尔值 True, False Determines if a skull block should drop loot occupied_bit 布尔值 True, False Determines if a bed block is occupied open_bit 布尔值 True, False Determines if a door, gate, or trapdoor is open output_subtract_bit 布尔值 True, False Determines if a Comparator is set to subtract output output_lit_bit 布尔值 True, False Determines if a Comparator's output is lit persistent_bit 布尔值 True, False Determines if a leaf block is persistent powered_bit 布尔值 True, False Shows when an observer or tripwire sends a redstone signal rail_data_bit 布尔值 True, False Shows if a rail has a redstone signal rail_direction 整数 0 - 8 Determines the orientation of a placed rail block redstone_signal 整数 0 - 15 Determines the signal strength of a redstone signal repeater_delay 整数 0 - 3 Determines the amount of delay of a repeater suspended_bit 布尔值 True, False Indicates if a tripwire block is suspended toggle_bit 布尔值 True, False Determines if a hopper block is active or not top_slot_bit 布尔值 True, False Shows if a slab is the top half of the block or not triggered_bit 布尔值 True, False Determines if a dispenser is triggered update_bit 布尔值 True, False Determines if a leaf block or flower block should be updated upside_down_bit 布尔值 True, False Determines if a stair block or trapdoor block is upsidedown vine_direction_bits 整数 0 - 15 Determines the facing direction for vines, works like the facing_direction blockstate allow_underwater_bit 布尔值 True, False Determines if a TNT block works underwater color_bit 布尔值 True, False Sets if a torch is a colored torch block dead_bit Boolean True, False Determines if coral, coral fans, or sea pickles are dead cluster_count Integer 0 - 3 Describes how many sea pickles are in a cluster item_frame_map_bit Boolean True, False Describes if an item frame block has a map in it sapling_type String evergreen, birch, jungle, acacia, roofed_oak Determines the type of the sapling block torch_facing_direction String unknown, west, east, north, south, top Determines the block that a torch is attached to in relation to its position drag_down Boolean True, False Describes if bubble columns drag entities down or pushes them up turtle_egg_count String one_egg, two_egg, three_egg, four_egg Determines the amount of turtle eggs in an egg block cracked_state String no_cracks, cracked, max_cracked Determines the cracked state of turtle eggs ground_sign_direction Integer 0 - 15 Describes the rotation of signs and standing banners weirdo_direction Integer 0 - 3 Describes the rotation of stairs coral_direction Integer 0 - 3 Describes the rotation of coral fans color String white, orange, magenta, light_blue, yellow, lime, pink, gray, silver, cyan, purple, blue, brown, green, red, black Determines the color of a block like wool bamboo_stalk_thickness String thin, thick Determines the thinkness of a bamboo stalk bamboo_leaf_size String no_leaves, small_leaves, large_leaves Determines the size of bamboo leaves stability Integer 0 - 5 Determines the stability of a scaffolding block stability_check Boolean True, False Describes if a scaffolding block has been checked for stability wood_type String oak, spruce, birch, jungle, acacia, dark_oak Determines the wood type of a block stone_type String stone, granite, granite_smooth, diorite, diorite_smooth, andesite, andesite_smooth Determines the stone type of a block dirt_type String normal, coarse Determines the dirt type of a block sand_type String normal, red Determines the sand type of a block old_log_type String oak, spruce, birch, jungle Determines the wood type of some blocks new_log_type String acacia, dark_oak Determines the wood type of some blocks chisel_type String default, chiseled, lines, smooth Determines the pattern of quartz and purpur blocks old_leaf_type String oak, spruce, birch, jungle Determines the leaf type of some blocks new_leaf_type String acacia, dark_oak Determines the leaf type of some blocks sponge_type String dry, wet Determines the type of a sponge block sand_stone_type String default, heiroglyphs, cut, smooth Determines the pattern of a sandstone block tall_grass_type String default, tall, fern, snow Determines the type of a tall grass block flower_type String poppy, orchid, allium, houstonia, tulip_red, tulip_orange, tulip_white, tulip_pink, oxeye, cornflower, lily_of_the_valley Determines the type of a flower block stone_slab_type String smooth_stone, sandstone, wood, cobblestone, brick, stone_brick, quartz, nether_brick Determines the type of some stone slab blocks stone_slab_type_2 String red_sandstone, purpur, prismarine_rough, prismarine_dark, prismarine_brick, mossy_cobblestone, smooth_sandstone, red_nether_brick Determines the type of some stone slab blocks stone_slab_type_3 String end_stone_brick, smooth_red_sandstone, polishe_andesite, andesite, diorite, polished_diorite, granite, polished_granite Determines the type of some stone slab blocks stone_slab_type_4 String mossy_stone_brick, smooth_quartz, stone, cut_sandstone, cut_red_sandstone Determines the type of some stone slab blocks monster_egg_stone_type String stone, cobblestone, stone_brick, mossy_stone_brick, cracked_stone_brick, chiseled_stone_brick Determines the stone type of a monster egg block stone_brick_type String default, mossy, cracked, chiseled, smooth Determines the type of a stone brick block huge_mushroom_bits Integer 0 - 15 Determines which huge mushroom block to be displayed wall_block_type String cobblestone, mossy_cobblestone, granite, diorite, andesite, sandstone, brick, stone_brick, mossy_stone_brick, nether_brick, end_brick, prismarine, red_sandstone, red_nether_brick Determines the type of a stone used in a wall block double_plant_type String sunflower, syringa, grass, fern, rose, paeonia Determines the type of a double plant block chemistry_table_type String compound_creator, material_reducer, element_constructor, lab_table Determines the type of the work benches that are behind the edu features toggle sea_grass_type String default, double_top, double_bot Determines the type of a seagrass block coral_color String blue, pink, purple, red, yellow Determines the color of a coral block cauldron_liquid String water, lava Determines the type of liquid in a cauldron hanging Boolean True, False Describes if a lantern block is hanging or not stripped_bit Boolean True, False Describes if a wood log has been stripped of bark coral_hang_type_bit Boolean True, False Describes the type of hanging for coral fans attachment String standing, hanging, side, multiple Determines the type of attachment used by a bell or grindstone block structure_void_type String void, air Determines which void mode to draw for structure blocks structure_block_type String data, save, load, corner, invalid, export Determines the state of a structure block
Geometry
方块
- 参数
类型 名称 默认值 描述 字符串 format_version 0.0.0.0 当前方块的版本。这用于确定是否需要向后兼容版本 String字符串 parent 父模型 数组 materials #0 List of materials used by this model 数组 elements List of elements that make up the geometry of this block - 参数
Type Name Default Value Description String name Name of the element String parent Name of the parent element of this element. Pivot and box positions are made relative to the parent element's pivot Vector [a, b, c] rotation [ 0.0, 0.0, 0.0 ] The rotation of this element about its pivot Vector [a, b, c] pivot [ 0.0, 0.0, 0.0 ] Position in model space of the pivot point of the element. This is used as the "center" position of the element, as well as the point around which to rotate String material The material of this element if different from the block's List boxes List of cubes that make up the geometry of this element - Parameters
Type Name Default Value Description Vector [a, b, c] origin [ 0.0, 0.0, 0.0 ] The position of the center of the box relative to the geometry Vector [a, b, c] size [ 0, 0, 0 ] Scale of the box in the x, y and z coordinates. A typical block is of scale 1, 1, 1 String material The material of this box if different from the element's List faces List of the 6 faces of the box. If specified, there MUST be 6 faces (front, back, left side, right side, top, bottom) - Parameters
Type Name Default Value Description String material The material of this face if different from the box's Vector [a, b, c, d] uv [ 0.0, 0.0, 1.0, 1.0 ] Texture coordinates of this face, given as min x, min y, max x, max y with values between 0.0 and 1.0 Decimal rotation 0.0 UV Rotation of this face. Only acceptable values are 0, 90 and 270 degrees. This allows reusing a texture and just rotating it for different faces