Record Class BlockSoundImpl
java.lang.Object
java.lang.Record
net.minestom.server.instance.block.BlockSoundImpl
- All Implemented Interfaces:
net.kyori.adventure.key.Keyed
,BlockSoundType
,ProtocolObject
,StaticProtocolObject
public record BlockSoundImpl(Registry.BlockSoundTypeEntry registry)
extends Record
implements BlockSoundType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
static final BlockSoundType
-
Constructor Summary
ConstructorsConstructorDescriptionBlockSoundImpl
(Registry.BlockSoundTypeEntry registry) Creates an instance of aBlockSoundImpl
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.registry()
Returns the value of theregistry
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minestom.server.instance.block.BlockSoundType
breakSound, fallSound, hitSound, id, key, pitch, placeSound, stepSound, volume
Methods 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
-
AZALEA
-
FLOWERING_AZALEA
-
MOSS_CARPET
-
PINK_PETALS
-
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
-
-
Constructor Details
-
BlockSoundImpl
Creates an instance of aBlockSoundImpl
record class.- Parameters:
registry
- the value for theregistry
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
registry
Returns the value of theregistry
record component.- Specified by:
registry
in interfaceBlockSoundType
- Specified by:
registry
in interfaceProtocolObject
- Returns:
- the value of the
registry
record component
-