Block sounds

方块声音指的是在 blocks.json 中方块条目的声音属性。该属性用于确定一般的方块声音,例如挖掘声、踩踏声、破坏声和放置声。你可以通过以下方式为方块应用声音:

RP/blocks.json
{
    "format_version": "1.21.40",
    "wiki:custom_log": {
        "sound": "wood" // 在此定义声音
    }
}

以下是声音属性的有效值:

最后更新于 1.21.0
amethyst_block
amethyst_cluster
ancient_debris
anvil
azalea
azalea_leaves
bamboo
bamboo_sapling
bamboo_wood
bamboo_wood_hanging_sign
basalt
big_dripleaf
bone_block
calcite
candle
cave_vines
chain
cherry_leaves
cherry_wood
cherry_wood_hanging_sign
chiseled_bookshelf
cloth
comparator
copper
copper_bulb
copper_grate
coral
decorated_pot
deepslate
deepslate_bricks
dirt_with_roots
dripstone_block
frog_spawn
froglight
fungus
glass
grass
gravel
hanging_roots
hanging_sign
heavy_core
honey_block
itemframe
ladder
lantern
large_amethyst_bud
lever
lodestone
mangrove_roots
medium_amethyst_bud
metal
moss_block
moss_carpet
mud
mud_bricks
muddy_mangrove_roots
nether_brick
nether_gold_ore
nether_sprouts
nether_wart
nether_wood
nether_wood_hanging_sign
netherite
netherrack
nylium
packed_mud
pink_petals
pointed_dripstone
polished_tuff
powder_snow
roots
sand
scaffolding
sculk
sculk_catalyst
sculk_sensor
sculk_shrieker
sculk_vein
shroomlight
slime
small_amethyst_bud
snow
soul_sand
soul_soil
spore_blossom
stem
stone
suspicious_gravel
suspicious_sand
sweet_berry_bush
trial_spawner
tuff
tuff_bricks
vault
vines
web
wood