net.minecraft.world.level.block

public class NoteBlock

extends Block

All mapped superinterfaces:

ItemLike

bql
net.minecraft.world.level.block.NoteBlock
net.minecraft.class_2428
net.minecraft.block.NoteBlock
net.minecraft.block.NoteBlock
net.minecraft.server.v1_14_R1.BlockNote

Field summary

Modifier and TypeField
public static final EnumProperty<NoteBlockInstrument>
a
INSTRUMENT
field_11325
INSTRUMENT
field_196483_a
INSTRUMENT
public static final BooleanProperty
b
POWERED
field_11326
POWERED
field_196484_b
POWERED
public static final IntegerProperty
c
NOTE
field_11324
NOTE
field_196485_c
NOTE

Constructor summary

ModifierConstructor
public (Block$Properties settings)

Method summary

Modifier and TypeMethod
public BlockState
a(ban arg0)
getStateForPlacement(BlockPlaceContext arg0)
method_9605(class_1750 arg0)
getPlacementState(ItemPlacementContext arg0)
func_196258_a(BlockItemUseContext arg0)
getPlacedState(BlockActionContext arg0)
public BlockState
a(bvt arg0, fb arg1, bvt arg2, bhs arg3, ew arg4, ew arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
func_196271_a(BlockState arg0, Direction arg1, BlockState arg2, IWorld arg3, BlockPos arg4, BlockPos arg5)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public void
a(bvt arg0, bhr arg1, ew arg2, bmv arg3, ew arg4, boolean arg5)
neighborChanged(BlockState arg0, Level arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
method_9612(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3, class_2338 arg4, boolean arg5)
neighborUpdate(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
func_220069_a(BlockState arg0, World arg1, BlockPos arg2, Block arg3, BlockPos arg4, boolean arg5)
doPhysics(IBlockData arg0, World arg1, BlockPosition arg2, Block arg3, BlockPosition arg4, boolean arg5)
private void
a(bhr arg0, ew arg1)
playNote(Level arg0, BlockPos arg1)
method_10367(class_1937 arg0, class_2338 arg1)
playNote(World world, BlockPos pos)
func_196482_a(World arg0, BlockPos arg1)
play(World arg0, BlockPosition arg1)
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public void
a(bvt arg0, bhr arg1, ew arg2, awg arg3)
attack(BlockState arg0, Level arg1, BlockPos arg2, Player arg3)
method_9606(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3)
onBlockBreakStart(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
func_196270_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3)
attack(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3)
public boolean
a(bvt arg0, bhr arg1, ew arg2, int arg3, int arg4)
triggerEvent(BlockState arg0, Level arg1, BlockPos arg2, int arg3, int arg4)
method_9592(class_2680 arg0, class_1937 arg1, class_2338 arg2, int arg3, int arg4)
onBlockAction(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
func_189539_a(BlockState arg0, World arg1, BlockPos arg2, int arg3, int arg4)
protected void
a(bvu$a<bmv, bvt> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)