net.minecraft.block

public abstract class ButtonBlock

extends FaceAttachedHorizontalFacingBlock

All mapped superinterfaces:

ItemLike

bms
net.minecraft.class_2269
net.minecraft.block.ButtonBlock
net.minecraft.block.AbstractButtonBlock
net.minecraft.block.AbstractButtonBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
a
field_10729
POWERED
field_176584_b
field_176584_b
protected static final VoxelShape
b
field_10721
CEILING_SHAPE_X
field_196370_b
field_196370_b
protected static final VoxelShape
c
field_10727
CEILING_SHAPE_Z
field_196371_c
field_196371_c
protected static final VoxelShape
d
field_10723
FLOOR_SHAPE_X
field_196376_y
field_196376_y
protected static final VoxelShape
e
field_10716
FLOOR_SHAPE_Z
field_196377_z
field_196377_z
protected static final VoxelShape
f
field_10728
NORTH_SHAPE
field_185622_d
field_185622_d
protected static final VoxelShape
g
field_10715
SOUTH_SHAPE
field_185624_e
field_185624_e
protected static final VoxelShape
h
field_10731
WEST_SHAPE
field_185626_f
field_185626_f
protected static final VoxelShape
i
field_10720
EAST_SHAPE
field_185628_g
field_185628_g
protected static final VoxelShape
j
field_10717
PRESSED_CEILING_SHAPE_X
field_196372_E
field_196372_E
protected static final VoxelShape
k
field_10726
PRESSED_CEILING_SHAPE_Z
field_196373_F
field_196373_F
protected static final VoxelShape
w
field_10722
PRESSED_FLOOR_SHAPE_X
field_196374_G
field_196374_G
protected static final VoxelShape
x
field_10730
PRESSED_FLOOR_SHAPE_Z
field_196375_H
field_196375_H
protected static final VoxelShape
y
field_10719
PRESSED_NORTH_SHAPE
field_185623_D
field_185623_D
protected static final VoxelShape
z
field_10724
PRESSED_SOUTH_SHAPE
field_185625_E
field_185625_E
protected static final VoxelShape
A
field_10732
PRESSED_WEST_SHAPE
field_185627_F
field_185627_F
protected static final VoxelShape
B
field_10718
PRESSED_EAST_SHAPE
field_185629_G
field_185629_G
private final boolean
D
field_10725
wooden
field_150047_a
field_150047_a

Constructor summary

ModifierConstructor
protected (boolean wooden, Block$Properties properties)

Method summary

Modifier and TypeMethod
public int
a(bhk arg0)
method_9563(class_1941 arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReader arg0)
tickRate(IWorldReader arg0)
public VoxelShape
a(bvj arg0, bgr arg1, ev arg2, csa arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvj arg0, bhh arg1, ev arg2, avx arg3, agz arg4, crr arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
protected void
a(avx arg0, bhi arg1, ev arg2, boolean arg3)
method_9714(class_1657 arg0, class_1936 arg1, class_2338 arg2, boolean arg3)
playPressSound(PlayerEntity source, WorldAccess world, BlockPos pos, boolean pressed)
func_196367_a(PlayerEntity arg0, IWorld arg1, BlockPos arg2, boolean arg3)
playSound(PlayerEntity arg0, IWorld arg1, BlockPos arg2, boolean arg3)
protected abstract SoundEvent
a(boolean arg0)
method_9712(boolean arg0)
getPressSound(boolean pressed)
func_196369_b(boolean arg0)
getSoundEvent(boolean arg0)
public void
a(bvj arg0, bhh arg1, ev arg2, bvj arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public int
a(bvj arg0, bgr arg1, ev arg2, fa arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getWeakPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
b(bvj arg0, bgr arg1, ev arg2, fa arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getDirectSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getStrongPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public boolean
h(bvj arg0)
method_9506(class_2680 arg0)
isSignalSource(BlockState arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState arg0)
public void
b(bvj arg0, bhh arg1, ev arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
public void
a(bvj arg0, bhh arg1, ev arg2, aif arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
func_196262_a(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private void
d(bvj arg0, bhh arg1, ev arg2)
method_9715(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updatePressed(BlockState state, World world, BlockPos pos)
func_185616_e(BlockState arg0, World arg1, BlockPos arg2)
checkPressed(BlockState state, World worldIn, BlockPos pos)
private void
e(bvj arg0, bhh arg1, ev arg2)
method_9713(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196368_e(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(bvk$a<bml, bvj> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)