<本站文本内容除另有声明外,转载时均必须注明出处。(详情…中文Minecraft Wiki是完全公开的。请勇于扩充与修正内容!Minecraft中文Wiki微博正在更新!或许有兴趣去看看想与其他用户进行编辑上的沟通?社区专页正是为此创建的。翻译或创建页面之前,不妨看看译名标准化Wiki条例页面。需要管理员的协助?在管理员告示板留言也许可以帮到您。>

基岩版beta附加包文档

来自Minecraft Wiki
跳转至: 导航搜索
Information icon.svg
此特性为基岩版独有。
Ic translate.svg
此条目的(部分)内容需要翻译。

你可以帮助我们来翻译此条目,但请勿使用机器翻译

This is the add-on documentation for Bedrock Edition beta 1.16.20.52. New features, components, and capabilities in this release are not final and might change without notice before the final release (1.13.0). Be sure to check the documentation once the release is out of beta if the add-on isn't working properly. Resource and behavior packs created for the beta are not guaranteed to work on the final release.

manifest.json[编辑 | 编辑源代码]

清单(manifest)文件包含让Minecraft能够识别附加包的所有基本信息。下表包含清单的所有组成部分、其各个属性及其含义。

Name Description
format_version 定义了清单的当前版本。除非有充分的理由,否则请勿更改
header 清单的标题,需要清单有效。
Type Name Description
String name 在Minecraft中出现的附加包的名称
String description 这是关于附加包的简短说明,它将出现在游戏中附加包名称的下方。 建议将其保持在1-2行长度。
String pack_id 这是一种特殊类型的标识符,是此包唯一的标识符。 UUID以xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx的格式编写,其中每个x必须是十六进制值(0-9或是a-f)。建议使用在线服务来生成此内容并保证其的唯一性(查找 UUID 生成器将找到一些内容)。
Vector [a, b, c] packs_version 这是软件包的版本,格式为[majorVersion,minorVersion,revision]。

如果包已存在,游戏将自动判断版本号,如果导入的包版本更高,新的软件包将替换旧的软件包;如果版本相同或较低,游戏则将其忽略。

String min_engine_version 此附加包为之编写的的最低版本的游戏。可以帮助游戏确定附加包是否需要向后兼容。创建附加包时,应总是使用当前可用的最高版本
modules 描述了所构成附加包的模块。此处的每个条目都定义了附加包内容中的一种。
Type Name Description
字符串 uuid 模块的唯一标识符,格式与header中附加包的UUID相同。这应该与附加包的UUID不同,并且对于每个模块都不同
字符串 description 关于模块的简短说明。目前这并不是面向用户的,但它是提醒自己为什么要定义模块的好地方
向量 [a, b, c] version 模块的版本,格式与header中附加包的版本相同。这可用于进一步确定附加包中的变化
字符串 type 模块的类型。可以是以下任意一项:resources、data、client_data、interface和world_template
dependencies 描述了此附加包赖以运行的附加包。如果存在,在该附加包被添加时,此处描述的任何附加包都会自动被添加到世界中;如果不存在,则会显示错误。每个条目具有以下参数:
Type Name Description
字符串 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]
        }
    ]
}

Entities[编辑 | 编辑源代码]

Identifier Full ID Short 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

方块[编辑 | 编辑源代码]

Name
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 确定方块是否邻近床头
height 整型 0 - 7 确定顶层雪的高度
infiniburn_bit 布尔值 True, False 确定方块是否可燃尽
in_wall_bit 布尔值 True, False 确定栅栏是否连接到完整方块
liquid_depth 整型 0 - 15 确定液态水的高度
moisturized_amount 整型 0 - 7 确定作物的湿度
no_drop_bit 布尔值 True, False 确定头颅是否作为战利品掉落
occupied_bit 布尔值 True, False 确定床是否已被占据
open_bit 布尔值 True, False 确定门,栅栏门和活板门是否开启
output_subtract_bit 布尔值 True, False 确定红石比较器是否为减法模式
output_lit_bit 布尔值 True, False 确定红石比较器是否有输出信号
persistent_bit 布尔值 True, False 確定樹葉是否應該掉落
powered_bit 布尔值 True, False 描述侦测器或绊线钩是否输出红石信号
rail_data_bit 布尔值 True, False 描述铁轨是否有红石信号
rail_direction 整型 0 - 8 确定已放置的铁轨方块的朝向
redstone_signal 整型 0 - 15 确定红石信号的强度
repeater_delay 整型 0 - 3 确定红石中继器的延时刻数
suspended_bit 布尔值 True, False 描述一个绊线是否挂在了绊线钩上
toggle_bit 布尔值 True, False 确定漏斗是否为启动状态
top_slot_bit 布尔值 True, False 描述一个半砖是否为上半砖
triggered_bit 布尔值 True, False 确定一个发射器是否被激活
update_bit 布尔值 True, False 确定树叶方块或花是否应该被更新
upside_down_bit 布尔值 True, False 确定一个楼梯或活板门是否为上下颠倒的状态
vine_direction_bits 整型 0 - 15 确定藤蔓的面朝方向, 效果与 facing_direction 状态相似
allow_underwater_bit 布尔值 True, False 确定一个TNT是否能在水下工作
color_bit 布尔值 True, False Sets if a torch is a colored torch block
dead_bit 布尔值 True, False 确定珊瑚、珊瑚扇子、海泡菜是否为死亡状态
cluster_count 整型 0 - 3 描述一个海泡菜群里有多少个海泡菜
item_frame_map_bit 布尔值 True, False 描述一个物品展示框里是否有地图
sapling_type 字符串 evergreen, birch, jungle, acacia, roofed_oak 描述树苗方块的类型
torch_facing_direction 字符串 unknown, west, east, north, south, top 确定火把所附着的方块的方向
drag_down 布尔值 True, False 描述气泡柱是将实体向下拉还是将实体向上推
turtle_egg_count 字符串 one_egg, two_egg, three_egg, four_egg 描述海龟蛋方块里有多少个海龟蛋
cracked_state 字符串 no_cracks, cracked, max_cracked 描述海龟蛋被破坏的状态
ground_sign_direction 整型 0 - 15 描述站立的告示牌或旗帜的旋转角度
weirdo_direction 整型 0 - 3 描述楼梯的方向
coral_direction 整型 0 - 3 描述珊瑚扇的方向
color 字符串 white, orange, magenta, light_blue, yellow, lime, pink, gray, silver, cyan, purple, blue, brown, green, red, black 描述类似羊毛一样的方块的颜色
bamboo_stalk_thickness 字符串 thin, thick 确定竹子的粗细
bamboo_leaf_size 字符串 no_leaves, small_leaves, large_leaves 确定竹子的叶子的大小
stability 整型 0 - 5 确定脚手架的稳定性
stability_check 布尔值 True, False 描述脚手架是否已经检查了稳定性
wood_type 字符串 oak, spruce, birch, jungle, acacia, dark_oak 确定木头的种类
stone_type 字符串 stone, granite, granite_smooth, diorite, diorite_smooth, andesite, andesite_smooth 确定石头的种类
dirt_type 字符串 normal, coarse 确定泥土的种类
sand_type 字符串 normal, red 确定沙子的种类
old_log_type 字符串 oak, spruce, birch, jungle 确定木头的类型(旧版原木)
new_log_type 字符串 acacia, dark_oak 确定原木的类型(新版原木)
chisel_type 字符串 default, chiseled, lines, smooth 确定石英方块或紫珀方块的图案
old_leaf_type 字符串 oak, spruce, birch, jungle 确定树叶的类型(旧版树叶)
new_leaf_type 字符串 acacia, dark_oak 确定树叶的类型(新版树叶)
sponge_type 字符串 dry, wet 确定海绵的类型(干/湿)
sand_stone_type 字符串 default, heiroglyphs, cut, smooth 确定砂岩的图案
tall_grass_type 字符串 default, tall, fern, snow 确定高草丛的类型
flower_type 字符串 poppy, orchid, allium, houstonia, tulip_red, tulip_orange, tulip_white, tulip_pink, oxeye, cornflower, lily_of_the_valley 确定花的类型
stone_slab_type 字符串 smooth_stone, sandstone, wood, cobblestone, brick, stone_brick, quartz, nether_brick 确定一些石制半砖的类型
stone_slab_type_2 字符串 red_sandstone, purpur, prismarine_rough, prismarine_dark, prismarine_brick, mossy_cobblestone, smooth_sandstone, red_nether_brick 确定一些石制半砖的类型
stone_slab_type_3 字符串 end_stone_brick, smooth_red_sandstone, polishe_andesite, andesite, diorite, polished_diorite, granite, polished_granite 确定一些石制半砖的类型
stone_slab_type_4 字符串 mossy_stone_brick, smooth_quartz, stone, cut_sandstone, cut_red_sandstone 确定一些石制半砖的类型
monster_egg_stone_type 字符串 stone, cobblestone, stone_brick, mossy_stone_brick, cracked_stone_brick, chiseled_stone_brick 確定石頭為何種蠹魚生怪蛋
stone_brick_type 字符串 default, mossy, cracked, chiseled, smooth 确定石砖的类型
huge_mushroom_bits Integer 0 - 15 确定巨型蘑菇方块的样子
wall_block_type 字符串 cobblestone, mossy_cobblestone, granite, diorite, andesite, sandstone, brick, stone_brick, mossy_stone_brick, nether_brick, end_brick, prismarine, red_sandstone, red_nether_brick 确定石墙的类型
double_plant_type 字符串 sunflower, syringa, grass, fern, rose, paeonia 确定两格高植物的类型
chemistry_table_type 字符串 compound_creator, material_reducer, element_constructor, lab_table 确定在教育版功能中的工作台的类型
sea_grass_type 字符串 default, double_top, double_bot 确定海草的类型
coral_color 字符串 blue, pink, purple, red, yellow 确定珊瑚块的颜色
cauldron_liquid 字符串 water, lava 确定炼药锅中的液体的类型
hanging 布尔值 True, False 确定灯笼是否被悬挂
stripped_bit 布尔值 True, False 确定原木方块是否被削皮
coral_hang_type_bit 布尔值 True, False 描述珊瑚扇附着在其他方块的方式
attachment 字符串 standing, hanging, side, multiple 确定钟或砂轮附着在其他方块的方式
structure_void_type 字符串 void, air 确定结构方块填补空隙的方式
structure_block_type 字符串 data, save, load, corner, invalid, export 确定结构方块的状态
pillar_axis String x, y, z Determines the direction in which the pillar will be displayed
extinguished Bool true, false Fire is extinguished
honey_level Int 0 - 4 Determines the honey level of a bee nest
composter_fill_level Int 0 - 4 Determines the fill level of a composter
prismarine_block_type String dark, default, bricks Determines the type of prismarine block
deprecated Bool true, false

几何模型[编辑 | 编辑源代码]

方块[编辑 | 编辑源代码]

参数
类型 名称 默认值 描述
字符串 format_version 0.0.0.0 当前方块的版本。这用于确定是否需要向后兼容版本
字符串 parent 父模型
数组 materials #0 这个模型使用的材质的列表
数组 elements 组成这个方块的几何模型的元素的列表
Parameters
类型 名称 默认值 描述
字符串 name 元素的名称
字符串 parent 父元素的名称。pivot和box的位置是相对于父元素的pivot设置的
向量[a, b, c] rotation [ 0.0, 0.0, 0.0 ] 这个元素相对于它的pivot的旋转角度
向量[a, b, c] pivot [ 0.0, 0.0, 0.0 ] 在模型空间中定位元素的轴点。它被用作元素的“中心”位置,以及围绕其旋转的点
字符串 material 此元素的材料(如果与方块的材料不同)
列表 boxes 构成此元素模型的立方体列表
Parameters
类型 名称 默认值 描述
向量[a, b, c] origin [ 0.0, 0.0, 0.0 ] box的中心相对于模型的位置
向量[a, b, c] size [ 0, 0, 0 ] box在x, y, z坐标中的比例。 一个典型的方块的比例为1, 1, 1
字符串 material 此box的材料(如果与元素的材料不同)
列表 faces box的6个面的列表。 如果指定,则必须有6个面(正面,背面,左侧,右侧,顶部,底部)
Parameters
类型 名称 默认值 描述
字符串 material 此面的材料(如果与box的材料不同)
向量[a, b, c, d] uv [ 0.0, 0.0, 1.0, 1.0 ] 此面的材质坐标,以最小x, 最小y, 最大x, 最大y给出,值介于0.0到1.0之间
Decimal rotation 0.0 此面的UV旋转角度。可接受的值仅为0、90和270度。 这样可以重新使用材质,并将其旋转以用于不同的面