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

1.21

Names

dfl

dgi

Fields

Constructors

Methods

void (BlockState, Level, BlockPos): d, press, method_21845, m_xgiovkgj, powerOn, powerOn, m_51116_

void (BlockState, Level, BlockPos): e, checkPressed, method_9715, m_zsepdvap, tryPowerWithProjectiles, tryPowerWithProjectiles, m_51120_

void (BlockState, Level, BlockPos): d, checkPressed, method_9715, m_zsepdvap, tryPowerWithProjectiles, tryPowerWithProjectiles, m_51120_

void (BlockState, Level, BlockPos): f, updateNeighbours, method_9713, m_vkkuhzwv, updateNeighbors, updateNeighbors, m_51124_

void (BlockState, Level, BlockPos): e, updateNeighbours, method_9713, m_vkkuhzwv, updateNeighbors, updateNeighbors, m_51124_

void (BlockState, Level, BlockPos, Player): a, press, method_21845, m_xgiovkgj, powerOn, m_xgiovkgj, m_51116_

1.20.6

Names

dfl

net.minecraft.world.level.block.ButtonBlock

net.minecraft.class_2269

net.minecraft.unmapped.C_mvguptux

net.minecraft.block.ButtonBlock

net.minecraft.block.ButtonBlock

net.minecraft.src.C_1716_

net.minecraft.world.level.block.BlockButtonAbstract

Fields

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

BooleanProperty: b, POWERED, field_10729, f_pzyrfksa, POWERED, POWERED, f_51045_

int: L, PRESSED_DEPTH, field_31040, f_qdffkfbl, field_31040, PRESSED_DEPTH, f_152736_

int: M, UNPRESSED_DEPTH, field_31041, f_jdxwsqgj, field_31041, UNPRESSED_DEPTH, f_152737_

int: c, HALF_AABB_HEIGHT, field_31042, f_tnurjoub, field_31042, HALF_SHAPE_HEIGHT, f_152738_

int: d, HALF_AABB_WIDTH, field_31043, f_wwplhixo, field_31043, HALF_SHAPE_WIDTH, f_152739_

VoxelShape: e, CEILING_AABB_X, field_10721, f_xfwgrord, CEILING_X_SHAPE, CEILING_X_SHAPE, f_51046_

VoxelShape: f, CEILING_AABB_Z, field_10727, f_fqunlwzs, CEILING_Z_SHAPE, CEILING_Z_SHAPE, f_51047_

VoxelShape: g, FLOOR_AABB_X, field_10723, f_ugfojogr, FLOOR_X_SHAPE, FLOOR_X_SHAPE, f_51048_

VoxelShape: h, FLOOR_AABB_Z, field_10716, f_lyvwefny, FLOOR_Z_SHAPE, FLOOR_Z_SHAPE, f_51049_

VoxelShape: i, NORTH_AABB, field_10728, f_mmsecubf, NORTH_SHAPE, NORTH_SHAPE, f_51050_

VoxelShape: j, SOUTH_AABB, field_10715, f_kzpgltxs, SOUTH_SHAPE, SOUTH_SHAPE, f_51051_

VoxelShape: k, WEST_AABB, field_10731, f_qmwjtlhs, WEST_SHAPE, WEST_SHAPE, f_51052_

VoxelShape: l, EAST_AABB, field_10720, f_ryekvpwj, EAST_SHAPE, EAST_SHAPE, f_51053_

VoxelShape: m, PRESSED_CEILING_AABB_X, field_10717, f_qeodymvp, CEILING_X_PRESSED_SHAPE, CEILING_X_PRESSED_SHAPE, f_51054_

VoxelShape: n, PRESSED_CEILING_AABB_Z, field_10726, f_mduuvfgj, CEILING_Z_PRESSED_SHAPE, CEILING_Z_PRESSED_SHAPE, f_51055_

VoxelShape: o, PRESSED_FLOOR_AABB_X, field_10722, f_zdevvfvl, FLOOR_X_PRESSED_SHAPE, FLOOR_X_PRESSED_SHAPE, f_51056_

VoxelShape: F, PRESSED_FLOOR_AABB_Z, field_10730, f_rbfhhthe, FLOOR_Z_PRESSED_SHAPE, FLOOR_Z_PRESSED_SHAPE, f_51057_

VoxelShape: G, PRESSED_NORTH_AABB, field_10719, f_vbanmhdw, NORTH_PRESSED_SHAPE, NORTH_PRESSED_SHAPE, f_51058_

VoxelShape: H, PRESSED_SOUTH_AABB, field_10724, f_irjxpusc, SOUTH_PRESSED_SHAPE, SOUTH_PRESSED_SHAPE, f_51059_

VoxelShape: I, PRESSED_WEST_AABB, field_10732, f_uurxfwdq, WEST_PRESSED_SHAPE, WEST_PRESSED_SHAPE, f_51060_

VoxelShape: J, PRESSED_EAST_AABB, field_10718, f_rcocfcie, EAST_PRESSED_SHAPE, EAST_PRESSED_SHAPE, f_51061_

BlockSetType: N, type, field_42753, f_plcwtqai, blockSetType, blockSetType, f_271519_

int: O, ticksToStayPressed, field_40298, f_oodobmpj, pressTicks, onTicks, f_244105_

Constructors

(BlockSetType, int, BlockBehaviour$Properties)

Methods

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

VoxelShape (BlockState, BlockGetter, BlockPos, CollisionContext): a, getShape, method_9530, m_fqngyjtr, getOutlineShape, getOutlineShape, m_5940_

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

void (BlockState, Level, BlockPos, Explosion, BiConsumer<ItemStack, BlockPos>): a, onExplosionHit, method_55124, m_qjdjbqgu, onExploded, onExplosion, m_304760_

void (BlockState, Level, BlockPos): d, press, method_21845, m_xgiovkgj, powerOn, powerOn, m_51116_

void (Player, LevelAccessor, BlockPos, boolean): a, playSound, method_9714, m_wnfxbhzh, playClickSound, playClickSound, m_51067_

SoundEvent (boolean): a, getSound, method_9712, m_smnwtisx, getClickSound, getClickSound, m_5722_

void (BlockState, Level, BlockPos, BlockState, boolean): a, onRemove, method_9536, m_rhbsxbgh, onStateReplaced, onStateReplaced, m_6810_

int (BlockState, BlockGetter, BlockPos, Direction): a, getSignal, method_9524, m_bhohbmwk, getWeakRedstonePower, getWeakRedstonePower, m_6378_

int (BlockState, BlockGetter, BlockPos, Direction): b, getDirectSignal, method_9603, m_ydisyayk, getStrongRedstonePower, getStrongRedstonePower, m_6376_

boolean (BlockState): e_, isSignalSource, method_9506, m_fjkbizwn, emitsRedstonePower, isRedstonePowerSource, m_7899_

void (BlockState, ServerLevel, BlockPos, RandomSource): a, tick, method_9588, m_bneobcwj, scheduledTick, scheduledTick, m_213897_

void (BlockState, Level, BlockPos, Entity): a, entityInside, method_9548, m_lmjnycyw, onEntityCollision, onEntityCollision, m_7892_

void (BlockState, Level, BlockPos): e, checkPressed, method_9715, m_zsepdvap, tryPowerWithProjectiles, tryPowerWithProjectiles, m_51120_

void (BlockState, Level, BlockPos): f, updateNeighbours, method_9713, m_vkkuhzwv, updateNeighbors, updateNeighbors, m_51124_

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