| public com.mojang.serialization.MapCodec<ButtonBlock> | | codec() | | codec() | | method_53969() | | getCodec() |
|
| private Function<BlockState, VoxelShape> | | makeShapes() | | makeShapes() | | method_66419() | | createShapeFunction() |
|
| protected VoxelShape | | getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) | | getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) | | method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3) | | getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3) |
|
| protected ActionResult | | useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) | | useWithoutItem(BlockState state, Level level, BlockPos pos, Player player, BlockHitResult hitResult) | | method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4) | | onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4) |
|
| protected void | | onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) | | onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) | | method_55124(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1927 arg3, BiConsumer<class_1799, class_2338> arg4) | | onExploded(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4) |
|
| public void | | press(BlockState state, Level level, BlockPos pos, Player player) | | press(BlockState state, Level level, BlockPos pos, Player player) | | method_21845(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3) | | powerOn(BlockState state, World world, BlockPos pos, PlayerEntity player) |
|
| protected void | | playSound(Player player, LevelAccessor level, BlockPos pos, boolean pressed) | | playSound(Player player, LevelAccessor level, BlockPos pos, boolean pressed) | | method_9714(class_1657 arg0, class_1936 arg1, class_2338 arg2, boolean arg3) | | playClickSound(PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered) |
|
| protected SoundEvent | | getSound(boolean pressed) | | getSound(boolean pressed) | | method_9712(boolean arg0) | | getClickSound(boolean powered) |
|
| protected void | | affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) | | affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) | | method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3) | | onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3) |
|
| protected int | | getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | getSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3) | | getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3) |
|
| protected int | | getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3) | | getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3) |
|
| protected boolean | |
| protected void | | tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) | | tick(BlockState state, ServerLevel level, BlockPos pos, RandomSource random) | | method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3) | | scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3) |
|
| protected void | | entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) | | entityInside(BlockState state, Level level, BlockPos pos, Entity entity, InsideBlockEffectApplier effectApplier, boolean isPrecise) | | method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4, boolean arg5) | | onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4, boolean arg5) |
|
| protected void | |
| private void | |
| protected void | |