History - net.minecraft.world.level.block.NoteBlock

25w18a

Names

dte

dtv

Fields

EnumProperty<NoteBlockInstrument>: b, INSTRUMENT, field_11325, INSTRUMENT, f_55011_

EnumProperty<NoteBlockInstrument>: b, INSTRUMENT, field_11325

BooleanProperty: c, POWERED, field_11326, POWERED, f_55012_

BooleanProperty: c, POWERED, field_11326

IntegerProperty: d, NOTE, field_11324, NOTE, f_55013_

IntegerProperty: d, NOTE, field_11324

int: e, NOTE_VOLUME, field_41678, field_41678, f_262759_

int: e, NOTE_VOLUME, field_41678

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

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

Constructors

Methods

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605, getPlacementState, m_5573_

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605

void (BlockState, Level, BlockPos, Player): a_, attack, method_9606, onBlockBreakStart, m_6256_

void (BlockState, Level, BlockPos, Player): a_, attack, method_9606

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onSyncedBlockEvent, m_8133_

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515, appendProperties, m_7926_

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515

void (Entity, BlockState, Level, BlockPos): a, playNote, method_10367, playNote, m_260916_

void (Entity, BlockState, Level, BlockPos): a, playNote, method_10367

ResourceLocation (Level, BlockPos): a, getCustomSoundId, method_47886, getCustomSound, m_262851_

ResourceLocation (Level, BlockPos): a, getCustomSoundId, method_47886

float (int): b, getPitchFromNote, method_49818, getNotePitch, m_276981_

float (int): b, getPitchFromNote, method_49818

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

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

InteractionResult (BlockState, Level, BlockPos, Player, BlockHitResult): a, useWithoutItem, method_55766, onUse, m_6227_

InteractionResult (BlockState, Level, BlockPos, Player, BlockHitResult): a, useWithoutItem, method_55766

BlockState (LevelReader, BlockPos, BlockState): a, setInstrument, method_47583, getStateWithInstrument, m_261136_

BlockState (LevelReader, BlockPos, BlockState): a, setInstrument, method_47583

BlockState (BlockState, LevelReader, ScheduledTickAccess, BlockPos, Direction, BlockPos, BlockState, RandomSource): a, updateShape, method_9559, getStateForNeighborUpdate, m_7417_

BlockState (BlockState, LevelReader, ScheduledTickAccess, BlockPos, Direction, BlockPos, BlockState, RandomSource): a, updateShape, method_9559

void (BlockState, Level, BlockPos, Block, Orientation, boolean): a, neighborChanged, method_9612, neighborUpdate, m_6861_

void (BlockState, Level, BlockPos, Block, Orientation, boolean): a, neighborChanged, method_9612

InteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765, onUseWithItem, m_51273_

InteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765

1.21.5

Names

doz

dte

Fields

Constructors

Methods

1.21.4

Names

dpx

doz

Fields

Constructors

Methods

BlockState (LevelReader, BlockPos, BlockState): b, setInstrument, method_47583, getStateWithInstrument, m_261136_

BlockState (LevelReader, BlockPos, BlockState): a, setInstrument, method_47583, getStateWithInstrument, m_261136_

1.21.3

Names

dlh

dpx

Fields

Constructors

Methods

BlockState (BlockState, Direction, BlockState, LevelAccessor, BlockPos, BlockPos): a, updateShape, method_9559, getStateForNeighborUpdate, m_7417_

void (BlockState, Level, BlockPos, Block, BlockPos, boolean): a, neighborChanged, method_9612, neighborUpdate, m_6861_

BlockState (LevelAccessor, BlockPos, BlockState): b, setInstrument, method_47583, getStateWithInstrument, m_261136_

ItemInteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765, onUseWithItem, m_51273_

BlockState (LevelReader, BlockPos, BlockState): b, setInstrument, method_47583, getStateWithInstrument, m_261136_

BlockState (BlockState, LevelReader, ScheduledTickAccess, BlockPos, Direction, BlockPos, BlockState, RandomSource): a, updateShape, method_9559, getStateForNeighborUpdate, m_7417_

void (BlockState, Level, BlockPos, Block, Orientation, boolean): a, neighborChanged, method_9612, neighborUpdate, m_6861_

InteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765, onUseWithItem, m_51273_

1.21.1

Names

Fields

Constructors

Methods

1.21

Names

dkk

dlh

Fields

Constructors

Methods

void (BlockState, Level, BlockPos, Player): a, attack, method_9606, onBlockBreakStart, m_6256_

void (BlockState, Level, BlockPos, Player): a_, attack, method_9606, onBlockBreakStart, m_6256_

1.20.6

Names

dby

dkk

Fields

Constructors

Methods

InteractionResult (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, onUse, m_6227_

ItemInteractionResult (ItemStack, BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, useItemOn, method_55765, onUseWithItem, m_51273_

InteractionResult (BlockState, Level, BlockPos, Player, BlockHitResult): a, useWithoutItem, method_55766, onUse, m_6227_

1.20.4

Names

cyc

dby

Fields

EnumProperty<NoteBlockInstrument>: a, INSTRUMENT, field_11325, INSTRUMENT, f_55011_

EnumProperty<NoteBlockInstrument>: b, INSTRUMENT, field_11325, INSTRUMENT, f_55011_

BooleanProperty: b, POWERED, field_11326, POWERED, f_55012_

BooleanProperty: c, POWERED, field_11326, POWERED, f_55012_

IntegerProperty: c, NOTE, field_11324, NOTE, f_55013_

IntegerProperty: d, NOTE, field_11324, NOTE, f_55013_

int: d, NOTE_VOLUME, field_41678, field_41678, f_262759_

int: e, NOTE_VOLUME, field_41678, field_41678, f_262759_

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

Constructors

Methods

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

1.20.2

Names

cuu

cyc

Fields

Constructors

Methods

1.20.1

Names

cum

cuu

Fields

Constructors

Methods

boolean (LevelAccessor): a, isFeatureFlagEnabled, method_47581, areMobHeadSoundsEnabled, m_260971_

float (int): b, getPitchFromNote, method_49818, getNotePitch, m_276981_

1.19.4

Names

crw

cum

Fields

Constructors

Methods

1.19.3

Names

cou

crw

Fields

int: d, NOTE_VOLUME, field_41678, field_41678, f_262759_

Constructors

Methods

void (Entity, Level, BlockPos): a, playNote, method_10367, playNote, m_221820_

boolean (LevelAccessor): a, isFeatureFlagEnabled, method_47581, areMobHeadSoundsEnabled, m_260971_

BlockState (LevelAccessor, BlockPos, BlockState): b, setInstrument, method_47583, getStateWithInstrument, m_261136_

void (Entity, BlockState, Level, BlockPos): a, playNote, method_10367, playNote, m_260916_

ResourceLocation (Level, BlockPos): a, getCustomSoundId, method_47886, getCustomSound, m_262851_

1.19.2

Names

Fields

Constructors

Methods

1.19.1

Names

cnw

cou

Fields

Constructors

Methods

1.19

Names

cij

cnw

Fields

Constructors

Methods

void (Level, BlockPos): a, playNote, method_10367, playNote, m_55019_

void (Entity, Level, BlockPos): a, playNote, method_10367, playNote, m_221820_

1.18.2

Names

chr

cij

Fields

Constructors

Methods

1.18.1

Names

Fields

Constructors

Methods

1.18

Names

cei

chr

Fields

Constructors

Methods

1.17.1

Names

ceh

cei

Fields

Constructors

Methods

1.17

Names

byo

ceh

net.minecraft.block.NoteBlock

net.minecraft.src.C_1848_

Fields

EnumProperty<NoteBlockInstrument>: a, INSTRUMENT, field_11325, INSTRUMENT, field_196483_a

EnumProperty<NoteBlockInstrument>: a, INSTRUMENT, field_11325, INSTRUMENT, f_55011_

BooleanProperty: b, POWERED, field_11326, POWERED, field_196484_b

BooleanProperty: b, POWERED, field_11326, POWERED, f_55012_

IntegerProperty: c, NOTE, field_11324, NOTE, field_196485_c

IntegerProperty: c, NOTE, field_11324, NOTE, f_55013_

Constructors

Methods

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605, getPlacementState, func_196258_a

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605, getPlacementState, m_5573_

BlockState (BlockState, Direction, BlockState, LevelAccessor, BlockPos, BlockPos): a, updateShape, method_9559, getStateForNeighborUpdate, func_196271_a

BlockState (BlockState, Direction, BlockState, LevelAccessor, BlockPos, BlockPos): a, updateShape, method_9559, getStateForNeighborUpdate, m_7417_

void (BlockState, Level, BlockPos, Block, BlockPos, boolean): a, neighborChanged, method_9612, neighborUpdate, func_220069_a

void (BlockState, Level, BlockPos, Block, BlockPos, boolean): a, neighborChanged, method_9612, neighborUpdate, m_6861_

void (Level, BlockPos): a, playNote, method_10367, playNote, func_196482_a

void (Level, BlockPos): a, playNote, method_10367, playNote, m_55019_

void (BlockState, Level, BlockPos, Player): a, attack, method_9606, onBlockBreakStart, func_196270_a

void (BlockState, Level, BlockPos, Player): a, attack, method_9606, onBlockBreakStart, m_6256_

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onSyncedBlockEvent, func_189539_a

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onSyncedBlockEvent, m_8133_

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515, appendProperties, func_206840_a

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515, appendProperties, m_7926_

InteractionResult (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, onUse, func_225533_a_

InteractionResult (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, onUse, m_6227_

1.16.5

Names

Fields

Constructors

Methods

1.16.4

Names

byl

byo

Fields

Constructors

Methods

1.16.3

Names

Fields

Constructors

Methods

1.16.2

Names

bzr

byl

Fields

Constructors

Methods

1.16.1

Names

bsz

bzr

Fields

Constructors

(Block$Properties)

(BlockBehaviour$Properties)

Methods

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onBlockAction, func_189539_a

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onSyncedBlockEvent, func_189539_a

1.15.2

Names

bsw

bsz

Fields

Constructors

Methods

1.15.1

Names

Fields

Constructors

Methods

1.15

Names

bql

bsw

Fields

Constructors

Methods

boolean (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, activate, func_220051_a

InteractionResult (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, onUse, func_225533_a_

1.14.4

Names

bqg

bql

net.minecraft.world.level.block.NoteBlock

Fields

EnumProperty<Instrument>: a, field_11325, INSTRUMENT, field_196483_a

EnumProperty<NoteBlockInstrument>: a, INSTRUMENT, field_11325, INSTRUMENT, field_196483_a

BooleanProperty: b, field_11326, POWERED, field_196484_b

BooleanProperty: b, POWERED, field_11326, POWERED, field_196484_b

IntProperty: c, field_11324, NOTE, field_196485_c

IntegerProperty: c, NOTE, field_11324, NOTE, field_196485_c

Constructors

Methods

BlockState (ItemPlacementContext): a, method_9605, getPlacementState, func_196258_a

BlockState (BlockPlaceContext): a, getStateForPlacement, method_9605, getPlacementState, func_196258_a

BlockState (BlockState, Direction, BlockState, IWorld, BlockPos, BlockPos): a, method_9559, getStateForNeighborUpdate, func_196271_a

BlockState (BlockState, Direction, BlockState, LevelAccessor, BlockPos, BlockPos): a, updateShape, method_9559, getStateForNeighborUpdate, func_196271_a

void (BlockState, World, BlockPos, Block, BlockPos, boolean): a, method_9612, neighborUpdate, func_220069_a

void (BlockState, Level, BlockPos, Block, BlockPos, boolean): a, neighborChanged, method_9612, neighborUpdate, func_220069_a

void (World, BlockPos): a, method_10367, playNote, func_196482_a

void (Level, BlockPos): a, playNote, method_10367, playNote, func_196482_a

boolean (BlockState, World, BlockPos, PlayerEntity, Hand, BlockHitResult): a, method_9534, activate, func_220051_a

boolean (BlockState, Level, BlockPos, Player, InteractionHand, BlockHitResult): a, use, method_9534, activate, func_220051_a

void (BlockState, World, BlockPos, PlayerEntity): a, method_9606, onBlockBreakStart, func_196270_a

void (BlockState, Level, BlockPos, Player): a, attack, method_9606, onBlockBreakStart, func_196270_a

boolean (BlockState, World, BlockPos, int, int): a, method_9592, onBlockAction, func_189539_a

boolean (BlockState, Level, BlockPos, int, int): a, triggerEvent, method_9592, onBlockAction, func_189539_a

void (StateFactory$Builder<Block, BlockState>): a, method_9515, appendProperties, func_206840_a

void (StateDefinition$Builder<Block, BlockState>): a, createBlockStateDefinition, method_9515, appendProperties, func_206840_a

1.14.3

Names

bqc

bqg

net.minecraft.block.NoteBlock

Fields

EnumProperty<NoteBlockInstrument>: a, field_11325, field_196483_a

EnumProperty<Instrument>: a, field_11325, INSTRUMENT, field_196483_a

BooleanProperty: b, field_11326, field_196484_b

BooleanProperty: b, field_11326, POWERED, field_196484_b

IntegerProperty: c, field_11324, field_196485_c

IntProperty: c, field_11324, NOTE, field_196485_c

Constructors

Methods

BlockState (BlockItemUseContext): a, method_9605, func_196258_a

BlockState (ItemPlacementContext): a, method_9605, getPlacementState, func_196258_a

BlockState (BlockState, Direction, BlockState, IWorld, BlockPos, BlockPos): a, method_9559, func_196271_a

BlockState (BlockState, Direction, BlockState, IWorld, BlockPos, BlockPos): a, method_9559, getStateForNeighborUpdate, func_196271_a

void (BlockState, World, BlockPos, Block, BlockPos, boolean): a, method_9612, func_220069_a

void (BlockState, World, BlockPos, Block, BlockPos, boolean): a, method_9612, neighborUpdate, func_220069_a

void (World, BlockPos): a, method_10367, func_196482_a

void (World, BlockPos): a, method_10367, playNote, func_196482_a

boolean (BlockState, World, BlockPos, PlayerEntity, Hand, BlockRayTraceResult): a, method_9534, func_220051_a

boolean (BlockState, World, BlockPos, PlayerEntity, Hand, BlockHitResult): a, method_9534, activate, func_220051_a

void (BlockState, World, BlockPos, PlayerEntity): a, method_9606, func_196270_a

void (BlockState, World, BlockPos, PlayerEntity): a, method_9606, onBlockBreakStart, func_196270_a

boolean (BlockState, World, BlockPos, int, int): a, method_9592, func_189539_a

boolean (BlockState, World, BlockPos, int, int): a, method_9592, onBlockAction, func_189539_a

void (StateContainer$Builder<Block, BlockState>): a, method_9515, func_206840_a

void (StateFactory$Builder<Block, BlockState>): a, method_9515, appendProperties, func_206840_a

1.14.2

Names

Fields

Constructors

Methods

1.14.1

Names

bqb

bqc

Fields

Constructors

Methods

1.14

Names

bqb

net.minecraft.class_2428

net.minecraft.block.NoteBlock

Fields

EnumProperty<NoteBlockInstrument>: a, field_11325, field_196483_a

BooleanProperty: b, field_11326, field_196484_b

IntegerProperty: c, field_11324, field_196485_c

Constructors

(Block$Properties)

Methods

BlockState (BlockItemUseContext): a, method_9605, func_196258_a

BlockState (BlockState, Direction, BlockState, IWorld, BlockPos, BlockPos): a, method_9559, func_196271_a

void (BlockState, World, BlockPos, Block, BlockPos, boolean): a, method_9612, func_220069_a

void (World, BlockPos): a, method_10367, func_196482_a

boolean (BlockState, World, BlockPos, PlayerEntity, Hand, BlockRayTraceResult): a, method_9534, func_220051_a

void (BlockState, World, BlockPos, PlayerEntity): a, method_9606, func_196270_a

boolean (BlockState, World, BlockPos, int, int): a, method_9592, func_189539_a

void (StateContainer$Builder<Block, BlockState>): a, method_9515, func_206840_a