Interface BlockSoundType
- All Superinterfaces:
Holder<BlockSoundType>,net.kyori.adventure.key.Keyed,RegistryKey<BlockSoundType>,StaticProtocolObject<BlockSoundType>
- All Known Implementing Classes:
BlockSoundImpl
public sealed interface BlockSoundType
extends StaticProtocolObject<BlockSoundType>
permits BlockSoundImpl
Represents a BlockSoundType object, a set of sounds associated with a particular block (or group of blocks).
Note: Although this extends StaticProtocolObject, it's not actually Registry sent through the protocol, and purely for data organization.
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minestom.server.registry.Holder
Holder.Direct<T> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundTypestatic final BlockSoundType -
Method Summary
Modifier and TypeMethodDescriptiondefault @NotNull SoundEventdefault @NotNull SoundEventstatic @Nullable BlockSoundTypestatic @Nullable BlockSoundTypefromKey(@NotNull net.kyori.adventure.key.Key key) default @NotNull SoundEventhitSound()default intid()default @NotNull net.kyori.adventure.key.Keykey()default floatpitch()default @NotNull SoundEventregistry()Returns the 'registry' data for the block sound type.default @NotNull SoundEventstatic @NotNull Collection<@NotNull BlockSoundType> values()default floatvolume()Methods inherited from interface net.minestom.server.registry.Holder
asKey, asValue, isDirect, resolve, unwrapMethods inherited from interface net.minestom.server.registry.StaticProtocolObject
name
-
Field Details
-
EMPTY
-
WOOD
-
GRAVEL
-
GRASS
-
LILY_PAD
-
STONE
-
METAL
-
GLASS
-
WOOL
-
SAND
-
SNOW
-
POWDER_SNOW
-
LADDER
-
ANVIL
-
SLIME_BLOCK
-
HONEY_BLOCK
-
WET_GRASS
-
CORAL_BLOCK
-
BAMBOO
-
BAMBOO_SAPLING
-
SCAFFOLDING
-
SWEET_BERRY_BUSH
-
CROP
-
HARD_CROP
-
VINE
-
NETHER_WART
-
LANTERN
-
STEM
-
NYLIUM
-
FUNGUS
-
ROOTS
-
SHROOMLIGHT
-
WEEPING_VINES
-
TWISTING_VINES
-
SOUL_SAND
-
SOUL_SOIL
-
BASALT
-
WART_BLOCK
-
NETHERRACK
-
NETHER_BRICKS
-
NETHER_SPROUTS
-
NETHER_ORE
-
BONE_BLOCK
-
NETHERITE_BLOCK
-
ANCIENT_DEBRIS
-
LODESTONE
-
CHAIN
-
NETHER_GOLD_ORE
-
GILDED_BLACKSTONE
-
CANDLE
-
AMETHYST
-
AMETHYST_CLUSTER
-
SMALL_AMETHYST_BUD
-
MEDIUM_AMETHYST_BUD
-
LARGE_AMETHYST_BUD
-
TUFF
-
TUFF_BRICKS
-
POLISHED_TUFF
-
CALCITE
-
DRIPSTONE_BLOCK
-
POINTED_DRIPSTONE
-
COPPER
-
COPPER_BULB
-
COPPER_GRATE
-
CAVE_VINES
-
SPORE_BLOSSOM
-
CACTUS_FLOWER
-
AZALEA
-
FLOWERING_AZALEA
-
MOSS_CARPET
-
PINK_PETALS
-
LEAF_LITTER
-
MOSS
-
BIG_DRIPLEAF
-
SMALL_DRIPLEAF
-
ROOTED_DIRT
-
HANGING_ROOTS
-
AZALEA_LEAVES
-
SCULK_SENSOR
-
SCULK_CATALYST
-
SCULK
-
SCULK_VEIN
-
SCULK_SHRIEKER
-
GLOW_LICHEN
-
DEEPSLATE
-
DEEPSLATE_BRICKS
-
DEEPSLATE_TILES
-
POLISHED_DEEPSLATE
-
FROGLIGHT
-
FROGSPAWN
-
MANGROVE_ROOTS
-
MUDDY_MANGROVE_ROOTS
-
MUD
-
MUD_BRICKS
-
PACKED_MUD
-
HANGING_SIGN
-
NETHER_WOOD_HANGING_SIGN
-
BAMBOO_WOOD_HANGING_SIGN
-
BAMBOO_WOOD
-
NETHER_WOOD
-
CHERRY_WOOD
-
CHERRY_SAPLING
-
CHERRY_LEAVES
-
CHERRY_WOOD_HANGING_SIGN
-
CHISELED_BOOKSHELF
-
SUSPICIOUS_SAND
-
SUSPICIOUS_GRAVEL
-
DECORATED_POT
-
DECORATED_POT_CRACKED
-
TRIAL_SPAWNER
-
SPONGE
-
WET_SPONGE
-
VAULT
-
CREAKING_HEART
-
HEAVY_CORE
-
COBWEB
-
SPAWNER
-
RESIN
-
RESIN_BRICKS
-
IRON
-
-
Method Details
-
registry
Returns the 'registry' data for the block sound type. Note: Block sound types are not an actual minecraft registry- Specified by:
registryin interfaceStaticProtocolObject<BlockSoundType>
-
key
@NotNull default @NotNull net.kyori.adventure.key.Key key()- Specified by:
keyin interfacenet.kyori.adventure.key.Keyed- Specified by:
keyin interfaceStaticProtocolObject<BlockSoundType>
-
volume
default float volume() -
pitch
default float pitch() -
breakSound
-
hitSound
-
fallSound
-
placeSound
-
stepSound
-
id
default int id()- Specified by:
idin interfaceStaticProtocolObject<BlockSoundType>
-
values
-
fromKey
-
fromKey
@Nullable static @Nullable BlockSoundType fromKey(@NotNull @NotNull net.kyori.adventure.key.Key key)
-