History - net.minecraft.block.ButtonBlock

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

com.mojang.serialization.MapCodec<ButtonBlock>: CODEC, field_46293, CODEC

Constructors

Methods

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

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_53983, method_53983

Integer (ButtonBlock): lambda$static$2, method_53984, method_53984

BlockSetType (ButtonBlock): lambda$static$1, method_53985, method_53985

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos): ownSignal, method_1_5240, getWeakRedstonePower

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

VoxelShape (Map, VoxelShape, VoxelShape, BlockState): lambda$makeShapes$3, method_66418, method_66418

VoxelShape (Map, VoxelShape, VoxelShape, BlockState): lambda$makeShapes$0, method_66418, method_66418

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$2, method_53983, method_53983

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_53983, method_53983

Integer (ButtonBlock): lambda$static$1, method_53984, method_53984

Integer (ButtonBlock): lambda$static$2, method_53984, method_53984

BlockSetType (ButtonBlock): lambda$static$0, method_53985, method_53985

BlockSetType (ButtonBlock): lambda$static$1, method_53985, method_53985

1.21.11_unobfuscated

Names

net.minecraft.world.level.block.ButtonBlock

net.minecraft.class_2269

net.minecraft.block.ButtonBlock

Fields

com.mojang.serialization.MapCodec<ButtonBlock>: CODEC, field_46293, CODEC

BooleanProperty: POWERED, field_10729, POWERED

BlockSetType: type, field_42753, blockSetType

int: ticksToStayPressed, field_40298, pressTicks

Function<BlockState, VoxelShape>: shapes, field_55743, shapeFunction

Constructors

(BlockSetType, int, AbstractBlock$Settings)

Methods

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

Function<BlockState, VoxelShape> (): makeShapes, method_66419, createShapeFunction

VoxelShape (BlockState, BlockView, BlockPos, ShapeContext): getShape, method_9530, getOutlineShape

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

void (BlockState, ServerWorld, BlockPos, Explosion, BiConsumer<ItemStack, BlockPos>): onExplosionHit, method_55124, onExploded

void (BlockState, World, BlockPos, PlayerEntity): press, method_21845, powerOn

void (PlayerEntity, WorldAccess, BlockPos, boolean): playSound, method_9714, playClickSound

SoundEvent (boolean): getSound, method_9712, getClickSound

void (BlockState, ServerWorld, BlockPos, boolean): affectNeighborsAfterRemoval, method_66388, onStateReplaced

int (BlockState, BlockView, BlockPos, Direction): getSignal, method_9524, getWeakRedstonePower

int (BlockState, BlockView, BlockPos, Direction): getDirectSignal, method_9603, getStrongRedstonePower

boolean (BlockState): isSignalSource, method_9506, emitsRedstonePower

void (BlockState, ServerWorld, BlockPos, Random): tick, method_9588, scheduledTick

void (BlockState, World, BlockPos, Entity, EntityCollisionHandler, boolean): entityInside, method_9548, onEntityCollision

void (BlockState, World, BlockPos): checkPressed, method_9715, tryPowerWithProjectiles

void (BlockState, World, BlockPos): updateNeighbours, method_9713, updateNeighbors

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

VoxelShape (Map, VoxelShape, VoxelShape, BlockState): lambda$makeShapes$3, method_66418, method_66418

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$2, method_53983, method_53983

Integer (ButtonBlock): lambda$static$1, method_53984, method_53984

BlockSetType (ButtonBlock): lambda$static$0, method_53985, method_53985