阿特我自己
[email protected]
Hello WvT
ADDONS 文档 汉化版
ADDONS 文档 汉化版

本文档由官方文档翻译而来

ADDONS DOCUMENTATION Version: 1.12.0.28

Index

manifest.json
Entities
Blocks
BlockStates
Geometry
Blocks

manifest.json

清单文件包含了 Minecraft 所需要识别的包的所有基本信息。下表包含了清单的所有组件、其独有的属性以及它们所代表的意义

名称 描述
format_version 定义了清单的当前版本。除非你有充分的理由,否则不要改变它
header 这是清单文件的头部,为使清单有效,这是必须的

名称 类型 描述
name String 这是在 Minecraft 中显示的包名称。
description String 这是包的简短描述,将在游戏中显示于包名称的下方。我们建议将其保持在1到2行。
uuid String 这是一个特殊类型的标识符,用于标志该包与其他包的唯一性。UUID为 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 格式,x 是一个 16 进制数值(0-9 or a-f)。我们建议使用在线服务来生成它并保证他们的唯一性(搜索 UUID 生成器即可找到)。
version Vector [a, b, c] 这是你的包的版本,格式为 [主要版本, 次要版本, 修正版本]。版本号将在导入之前已被导入的包时使用,如果版本号较高,新的包将替换旧的包,如果相同或更低,则忽略。
min_engine_version String 这是此包面向的游戏最低版本,这有助于游戏识别你的包是否需要向后兼容性。您应始终使用创建包时可用的最高版本。
modules 本节描述了构成包的模块,此处的每一条都定义了包中的一种内容。

名称 类型 描述
uuid String 这是模块的唯一标识符,和包头部的 UUID 格式一致。这应该与包和每个模块的 UUID 都不同
description String 这是模块的一个简短描述。目前,这并不面向于用户,但这仍然是提醒你自己为什么定义该模块的好地方
version Vector [a, b, c] 这是模块的版本号,和包头部的版本号格式相同。这可用于进一步识别包中的更新
type String 这是模块的类型,只能是以下几种类型:resources, data, client_data, interface, world_template
dependencies 本节描述了该包为了正常工作而依赖的包。此处定义的任何包将会在本包导入时自动导入到世界中,前提是它们已存在于游戏资源库中,否则将会显示错误。每一项都有如下属性:

Name Type Description
uuid String 这是所依赖的包的 UUID,它必须与在依赖包清单文件头部中定义的 UUID 完全相同
version Vector [a, b, c] 这是你的包所依赖的包的特定版本,应该与依赖包清单文件中的版本相匹配
capabilities 这些是包使用的不同功能,默认情况下不一定启用。

Name Description
experimental_custom_ui 允许包中的HTML文件用于自定义UI,并允许包中的脚本调用和操作自定义UI
chemistry 允许包添加,更改或替换化学功能
metadata 本节包含有关您的包的其他数据,是另外可选的。

Name Type Description
authors String 包作者的名字
license String 包的协议
url String 你的包的网站

Examples

Behavior Pack

Resource Pack

实体

标识符 完整 ID 短 ID
villager_v2 村民_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 僵尸村民_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 TNT矿车 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

方块状态

类型 方块状态名称 有效值 描述
Boolean age_bit True, False 决定树苗是否会生长 Determines if saplings should grow
Integer age 0 – 15 代表方块的年龄 Represents the age of the block
Boolean attached_bit True, False 决定拌线钩是否与另一个拌线钩相连 true Determines if a tripwire is attached to another tripwire
String portal_axis unknown, x, z 决定传送门方块的方向 Determines the orientation of portal blocks
Integer bite_counter 0 – 6 追踪已经吃了多少块蛋糕 Tracks how many bites of cake have been taken
Boolean brewing_stand_slot_a_bit True, False 决定酿造台的 A 槽中是否有瓶子 Determines if a bottle is shown in slot a of the brewing stand
Boolean brewing_stand_slot_b_bit True, False 决定酿造台的 B 槽中是否有瓶子 Determines if a bottle is shown in slot b of the brewing stand
Boolean brewing_stand_slot_c_bit True, False 决定酿造台的 C 槽中是否有瓶子 Determines if a bottle is shown in slot c of the brewing stand
Boolean button_pressed_bit True, False 决定按钮是否处于按下状态 Determines if a button is in the pressed state or not
Boolean conditional_bit True, False 决定命令方块是否是有条件的 Determines if a command block is conditional or not
Boolean covered_bit True, False 描述了顶层雪是否覆盖着其他方块 Describes if a top snow block is covering another block
String damage undamaged(未损害), slightly_damaged(轻微损害), very_damaged(严重损害), broken(损坏) 决定了铁砧的损坏状态 Determines the state of damage of an Anvil
Boolean disarmed_bit True, False 决定拌线钩是否解除武装 Determines if a tripwire is disarmed or not.
Boolean door_hinge_bit True, False 决定门的铰链是否是镜像的 Determines if door’s hinge is mirrored or not
Boolean upper_block_bit True, False 决定方块是否是一个对象的上半部分,例如门和两格高的植物 Determines if a block is the upper half of an object like a door or a tall plant
Integer direction 0 – 3 决定了一些方块的北、南、东、西朝向。0 = 南、1 = 西、2 = 北、3 = 东    Determines the North, South, East, and West direction of some blocks. 0 = South, 1 = West, 2 = North 3 = East
Boolean end_portal_eye_bit True, False 决定传送门方块中是否有末影之眼 Determines if an end portal block has an Eye in it
Boolean explode_bit True, False 决定 TNT 方块是否将要启动它的爆炸程序 Determines if a TNT block should start its explode sequence
Integer facing_direction 0 – 5 决定了一些方块的上、下、北、南、东、西朝向。0 = 下,1 = 上,2 = 北,3 = 南,4 = 西,5 = 东    Determines the Up, Down, North, South, East, and West direction of some blocks. 0 = Down, 1 = Up, 2 = North, 3 = South, 4 = West, 5 = East
Integer fill_level 0 – 6 决定了炼药锅方块的装填等级 Determines fill level of a cauldron block
Integer growth 0 – 7 决定了农作物的生长等级 Determines the growth level of crops
Boolean head_piece_bit True, False 决定了方块是否是床的枕头一边 Determines if a block is the pillow side of a bed
Integer height 0 – 7 决定顶层雪的高度 Determines the height of a top snow block
Boolean infiniburn_bit True, False 决定了方块是否会无限燃烧(类似于地狱岩?) Determines if a block should burn infinitely
Boolean in_wall_bit True, False 决定了栅栏方块是否连接到了墙体 Determines if a fence block is connected to a wall block
Integer liquid_depth 0 – 15 决定了液体方块的等级 Determines the level of liquid blocks
Integer moisturized_amount 0 – 7 决定了农作物的湿度等级 Determines the moisture level of crops
Boolean no_drop_bit True, False 决定了头骨方块是否会掉落战利品 Determines if a skull block should drop loot
Boolean occupied_bit True, False 决定了床方块是否已被占用 Determines if a bed block is occupied
Boolean open_bit True, False 决定了门、栅栏门、活板门是否是打开的 Determines if a door, gate, or trapdoor is open
Boolean output_subtract_bit True, False 决定比较器是否被设置为减法输出 Determines if a Comparator is set to subtract output
Boolean output_lit_bit True, False 决定比较器的输出端是否被点亮 Determines if a Comparator’s output is lit
Boolean persistent_bit True, False 决定树叶方块是否是不落的 Determines if a leaf block is persistent
Boolean powered_bit True, False 当一个观察者或拌线钩发送了红石信号时显示 Shows when an observer or tripwire sends a redstone signal
Boolean rail_data_bit True, False 如果铁轨有红石信号时显示 Shows if a rail has a redstone signal
Integer rail_direction 0 – 8 决定了已放置的铁轨方块的朝向 Determines the orientation of a placed rail block
Integer redstone_signal 0 – 15 决定了红石信号的信号强度 Determines the signal strength of a redstone signal
Integer repeater_delay 0 – 3 决定了中继器的延迟 Determines the amount of delay of a repeater
Boolean suspended_bit True, False 如果一个拌线钩方块是浮空的,则可见 Indicates if a tripwire block is suspended
Boolean toggle_bit True, False 决定了漏斗方块是否可用(给漏斗充能会使其停运)Determines if a hopper block is active or not
Boolean top_slot_bit True, False 如果是上半砖,则显示 Shows if a slab is the top half of the block or not
Boolean triggered_bit True, False 决定了发射器是否被触发 Determines if a dispenser is triggered
Boolean update_bit True, False 决定了树叶方块和花方块是否将会被更新 Determines if a leaf block or flower block should be updated
Boolean upside_down_bit True, False 决定了楼梯或活板门是否是颠倒的 Determines if a stair block or trapdoor block is upsidedown
Integer vine_direction_bits 0 – 15 决定了藤蔓方块的朝向,和 facing_direction 的工作方式相同 Determines the facing direction for vines, works like the facing_direction blockstate
Boolean allow_underwater_bit True, False 决定了 TNT 方块是否在水下工作 Determines if a TNT block works underwater
Boolean color_bit True, False 当一个火把是一个有颜色的火把方块时设置 Sets if a torch is a colored torch block
Boolean dead_bit True, False 决定了珊瑚、珊瑚扇或海泡菜是否已死亡 Determines if coral, coral fans, or sea pickles are dead
Integer cluster_count 0 – 3 决定了一丛里有多少海泡菜 Describes how many sea pickles are in a cluster
Boolean item_frame_map_bit True, False 决定了物品展示框里是否有一个地图 Describes if an item frame block has a map in it
String sapling_type evergreen(常青??), birch(白桦木), jungle(丛林木), acacia(金合欢木), roofed_oak(有屋顶的..橡树??) 决定了树苗方块的品种 Determines the type of the sapling block
String torch_facing_direction unknown(未知), west(西), east(东), north(北), south(南), top(顶端) 决定了火把与其附着的方块的位置关系 Determines the block that a torch is attached to in relation to its position
Boolean drag_down True, False 决定了气泡柱将实体向下拉或是将他们向上推 Describes if bubble columns drag entities down or pushes them up
String turtle_egg_count one_egg, two_egg, three_egg, four_egg 决定了一个蛋方块中的海龟蛋数量 Determines the amount of turtle eggs in an egg block
String cracked_state no_cracks(无破裂), cracked(破裂), max_cracked(最高破裂) 决定了海龟蛋的破裂状态 Determines the cracked state of turtle eggs
Integer ground_sign_direction 0 – 15 决定了木牌和旗帜的旋转度 Describes the rotation of signs and standing banners
Integer weirdo_direction 0 – 3 决定了楼梯的旋转度 Describes the rotation of stairs
Integer coral_direction 0 – 3 决定了珊瑚扇的旋转度 Describes the rotation of coral fans
String color 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
String bamboo_stalk_thickness thin(细), thick(粗) 决定了竹竿的厚度 Determines the thinkness of a bamboo stalk
String bamboo_leaf_size no_leaves(无叶子), small_leaves(小叶子), large_leaves(大叶子) 决定了竹叶的大小 Determines the size of bamboo leaves
Integer stability 0 – 5 决定了脚手架方块的稳定性 Determines the stability of a scaffolding block
Boolean stability_check True, False 决定了脚手架方块是否已被检查稳定性 Describes if a scaffolding block has been checked for stability
String wood_type oak(橡树), spruce(云杉木), birch(桦木), jungle(丛林木), acacia(金合欢木), dark_oak(深色橡树) 决定了方块的木材品种 Determines the wood type of a block
String stone_type stone(石头), granite(花岗岩), granite_smooth(平滑花岗岩), diorite(闪长岩), diorite_smooth(平滑闪长岩), andesite(安山岩), andesite_smooth(平滑安山岩) 决定了石头方块的类型(圆石是另一种方块) Determines the stone type of a block
String dirt_type normal(正常), coarse(砂土) 决定了泥土方块的类型 Determines the dirt type of a block
String sand_type normal(正常), red(红沙) 决定了沙子方块的类型 Determines the sand type of a block
String old_log_type oak(橡树), spruce(云杉木), birch(桦木), jungle(丛林木) 决定了某些方块的木材品种 Determines the wood type of some blocks
String new_log_type acacia(金合欢木), dark_oak(深色橡树) 决定了某些方块的木材品种 Determines the wood type of some blocks
String chisel_type default(默认), chiseled(錾制), lines(竖纹), smooth(平滑) 决定了石英和紫珀块的图案 Determines the pattern of quartz and purpur blocks
String old_leaf_type oak(橡树), spruce(云杉木), birch(桦木), jungle(丛林木) 决定了某些方块的树叶类型 Determines the leaf type of some blocks
String new_leaf_type acacia(金合欢木), dark_oak(深色橡树) 决定了某些方块的树叶类型 Determines the leaf type of some blocks
String sponge_type dry(干), wet(湿) 决定了海绵方块的类型 Determines the type of a sponge block
String sand_stone_type default(默认), heiroglyphs(錾制), cut(切制), smooth(平滑) 决定了砂岩方块的类型 Determines the pattern of a sandstone block
String tall_grass_type default(默认), tall(高), fern(蕨), snow(雪) 决定了高草方块的类型 Determines the type of a tall grass block
String flower_type 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
String stone_slab_type smooth_stone(平滑石头), sandstone(砂岩), wood(木头), cobblestone(圆石), brick(红砖), stone_brick(石砖), quartz(石英), nether_brick(地狱砖) 决定了半砖的类型 Determines the type of some stone slab blocks
String stone_slab_type_2 red_sandstone(红砂岩), purpur(紫珀砖), prismarine_rough(海晶石), prismarine_dark(暗海晶石), prismarine_brick(海晶石砖), mossy_cobblestone(苔石), smooth_sandstone(平滑砂岩), red_nether_brick(红色地狱砖) 决定了半砖的类型  Determines the type of some stone slab blocks
String stone_slab_type_3 end_stone_brick(末地石砖), smooth_red_sandstone(平滑红砂岩), polishe_andesite(磨制安山岩), andesite(安山岩), diorite(闪长岩), polished_diorite(磨制闪长岩), granite(花岗岩), polished_granite(磨制花岗岩) 决定了半砖的类型  Determines the type of some stone slab blocks
String stone_slab_type_4 mossy_stone_brick(苔石砖), smooth_quartz(平滑石英), stone(石头), cut_sandstone(切制砂岩), cut_red_sandstone(切制红砂岩) 决定了半砖的类型 Determines the type of some stone slab blocks
String monster_egg_stone_type stone(石头), cobblestone(圆石), stone_brick(石砖), mossy_stone_brick(苔石砖), cracked_stone_brick(裂石砖), chiseled_stone_brick(錾制石砖) 决定了怪物蛋(蠹虫)方块的石头类型 Determines the stone type of a monster egg block
String stone_brick_type default(默认), mossy(苔藓), cracked(破裂), chiseled(錾制), smooth(平滑) 决定了石砖方块的类型 Determines the type of a stone brick block
Integer huge_mushroom_bits 0 – 15 决定了哪一个蘑菇方块被显示 Determines which huge mushroom block to be displayed
String 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(红色地狱砖) 决定了用于石墙方块石头类型 Determines the type of a stone used in a wall block
String double_plant_type sunflower(向日葵), syringa(丁香), grass(草), fern(蕨), rose(玫瑰丛), paeonia(牡丹) 决定了两格高植物方块的类型 Determines the type of a double plant block
String chemistry_table_type compound_creator(化合物创建器), material_reducer(材料分解器), element_constructor(元素构造器), lab_table(实验台) 决定了切换教育功能后的工作台类型 Determines the type of the work benches that are behind the edu features toggle
String sea_grass_type default(默认), double_top(高海草顶部), double_bot(高海草底部) 决定了海草方块的类型 Determines the type of a seagrass block
String coral_color blue(蓝色), pink(粉色), purple(紫色), red(红色), yellow(黄色) 决定了珊瑚方块的颜色 Determines the color of a coral block
String cauldron_liquid water(水), lava(岩浆) 决定了炼药锅中的液体类型 Determines the type of liquid in a cauldron
Boolean hanging True, False 决定了灯笼方块是否悬挂着 Describes if a lantern block is hanging or not
Boolean stripped_bit True, False 决定了原木方块是否被剥皮 Describes if a wood log has been stripped of bark
Boolean coral_hang_type_bit True, False 决定了珊瑚扇是否悬挂着 Describes the type of hanging for coral fans
String attachment standing(站立), hanging(悬挂), side(侧面), multiple(多重) 决定了钟或砂轮方块的附着方式 Determines the type of attachment used by a bell or grindstone block
String structure_void_type void(空间/空白), air(空气) 决定了要为结构块绘制的空间(空白?)模式 Determines which void mode to draw for structure blocks
String structure_block_type data(数据), save(保存), load(加载), corner(角落), invalid(无效), export(导出) 决定了结构方块的状态 Determines the state of a structure block

几何形状

方块

参数

名称 类型 默认值 描述
format_version String 0.0.0.0 方块几何形状所使用的版本。这用于决定是否需要向后兼容性Version of the block geometry being used. This is used to determine if backwards compatibility is needed
parent String 该模型的父模型 Parent model of this model
materials List #0 该模型所使用的材质的列表 List of materials used by this model
elements List 构成这个方块的元素列表 List of elements that make up the geometry of this block

名称 类型 默认值 描述
name String 元素的名称 Name of the element
parent String 该元素的父元素。中心点和立方体位置将关联至父元素的中心点 Name of the parent element of this element. Pivot and box positions are made relative to the parent element’s pivot
rotation Vector [a, b, c] [ 0.0, 0.0, 0.0 ] 该元素相对其中心轴的旋转度 The rotation of this element about its pivot
pivot Vector [a, b, c] [ 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
material String 元素的材质(如果不同于方块中定义的)The material of this element if different from the block’s
boxes List 构成该元素几何形状的立方体列表 List of cubes that make up the geometry of this element

名称 类型 默认值 描述
origin Vector [a, b, c] [ 0.0, 0.0, 0.0 ] 立方体中心相对于几何体的位置 The position of the center of the box relative to the geometry
size Vector [a, b, c] [ 0, 0, 0 ] 立方体在x、y、z轴的大小。典型的方块是1, 1, 1。Scale of the box in the x, y and z coordinates. A typical block is of scale 1, 1, 1
material String 立方体的材质(如果不同于元素中定义的)The material of this box if different from the element’s
faces List 立方体6个面的列表。如果指定,则必须指定六面(前、后、左、右、上、下) List of the 6 faces of the box. If specified, there MUST be 6 faces (front, back, left side, right side, top, bottom)

名称 类型 默认值 描述
material String 该面的材质(如果不同于立方体中定义的)The material of this face if different from the box’s
uv Vector [a, b, c, d] [ 0.0, 0.0, 1.0, 1.0 ] 该面的材质位置,指定为 [x最小值,y最小值,x最大值,y最大值],值处于 0.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
rotation Decimal 0.0 该面的 UV 旋转角度。只接受 0,90 和 270 角度。这允许重用一个材质并仅旋转它们用于不同的面。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

Back to top

赞赏

发表评论

textsms
account_circle
email

Hello WvT

ADDONS 文档 汉化版
本文档由官方文档翻译而来 ADDONS DOCUMENTATION Version: 1.12.0.28 Index manifest.json Entities Blocks BlockStates Geometry Blocks m…
扫描二维码继续阅读
2019-08-14


没有激活的小工具