History - net.minecraft.block.NoteBlock

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<NoteBlock>: CODEC, field_46405, CODEC

Constructors

Methods

com.mojang.serialization.MapCodec<NoteBlock> (): codec, method_53969, getCodec

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.NoteBlock

net.minecraft.class_2428

net.minecraft.block.NoteBlock

Fields

com.mojang.serialization.MapCodec<NoteBlock>: CODEC, field_46405, CODEC

EnumProperty<NoteBlockInstrument>: INSTRUMENT, field_11325, INSTRUMENT

BooleanProperty: POWERED, field_11326, POWERED

IntProperty: NOTE, field_11324, NOTE

int: NOTE_VOLUME, field_41678, field_41678

Constructors

(AbstractBlock$Settings)

Methods

com.mojang.serialization.MapCodec<NoteBlock> (): codec, method_53969, getCodec

BlockState (WorldView, BlockPos, BlockState): setInstrument, method_47583, getStateWithInstrument

BlockState (ItemPlacementContext): getStateForPlacement, method_9605, getPlacementState

BlockState (BlockState, WorldView, ScheduledTickView, BlockPos, Direction, BlockPos, BlockState, Random): updateShape, method_9559, getStateForNeighborUpdate

void (BlockState, World, BlockPos, Block, WireOrientation, boolean): neighborChanged, method_9612, neighborUpdate

void (Entity, BlockState, World, BlockPos): playNote, method_10367, playNote

ActionResult (ItemStack, BlockState, World, BlockPos, PlayerEntity, Hand, BlockHitResult): useItemOn, method_55765, onUseWithItem

ActionResult (BlockState, World, BlockPos, PlayerEntity, BlockHitResult): useWithoutItem, method_55766, onUse

void (BlockState, World, BlockPos, PlayerEntity): attack, method_9606, onBlockBreakStart

float (int): getPitchFromNote, method_49818, getNotePitch

boolean (BlockState, World, BlockPos, int, int): triggerEvent, method_9592, onSyncedBlockEvent

Identifier (World, BlockPos): getCustomSoundId, method_47886, getCustomSound

void (StateManager$Builder<Block, BlockState>): createBlockStateDefinition, method_9515, appendProperties