方块
创建你的第一个自定义方块
创建方块文件
info:
namespace: myitems
items:
red_block:
display_name: Red Block
permission: red_block
resource:
material: PAPER创建纹理文件

将纹理应用至物品
在不同面使用不同纹理
为每个面使用相同的纹理
为方块添加放置功能
在游戏内获得该方块



下载完整示例
方块属性
placed_model
placed_modeltype
typerotx and roty
rotx and rotyplaceable_on_water
placeable_on_waterplaceable_on_lava
placeable_on_lavashift_up
shift_upcustom_variants
custom_variantsdrop_when_mined
drop_when_mineddrop_on_shears
drop_on_shearsdrop_on_silk_touch
drop_on_silk_touch工具黑白名单
break_tools_blacklist
break_tools_blacklistbreak_tools_whitelist
break_tools_whitelistevents_tools_blacklist
events_tools_blacklistevents_tools_whitelist
events_tools_whitelist其他选项
hardness
hardnessblast_resistance
blast_resistanceno_explosion
no_explosionsounds
sounds使用原版声音的示例
使用自定义声音的示例
permission_suffix
permission_suffix使用官方文件编辑器来读取所有属性
文件编辑器Drop experience from block
1. 在创建自定义方块时直接添加经验掉落
2. 向战利品添加经验
最后更新于