net.minecraft.block

public abstract class ButtonBlock

extends FaceAttachedHorizontalFacingBlock

All mapped superinterfaces:

ItemLike

bdb
net.minecraft.class_114
net.minecraft.block.ButtonBlock
net.minecraft.block.BlockButton
net.minecraft.block.BlockButton

Field summary

Modifier and TypeField
public static final BooleanProperty
a
field_18206
POWERED
field_176584_b
POWERED
protected static final VoxelShape
b
field_18207
CEILING_SHAPE_X
field_196370_b
field_196370_b
protected static final VoxelShape
c
field_18208
CEILING_SHAPE_Z
field_196371_c
field_196371_c
protected static final VoxelShape
o
field_18209
FLOOR_SHAPE_X
field_196376_y
field_196376_y
protected static final VoxelShape
p
field_18210
FLOOR_SHAPE_Z
field_196377_z
field_196377_z
protected static final VoxelShape
q
field_18211
NORTH_SHAPE
field_185622_d
AABB_NORTH_OFF
protected static final VoxelShape
r
field_18212
SOUTH_SHAPE
field_185624_e
AABB_SOUTH_OFF
protected static final VoxelShape
s
field_18213
WEST_SHAPE
field_185626_f
AABB_WEST_OFF
protected static final VoxelShape
t
field_18214
EAST_SHAPE
field_185628_g
AABB_EAST_OFF
protected static final VoxelShape
u
field_18215
PRESSED_CEILING_SHAPE_X
field_196372_E
field_196372_E
protected static final VoxelShape
v
field_18216
PRESSED_CEILING_SHAPE_Z
field_196373_F
field_196373_F
protected static final VoxelShape
w
field_18217
PRESSED_FLOOR_SHAPE_X
field_196374_G
field_196374_G
protected static final VoxelShape
x
field_18218
PRESSED_FLOOR_SHAPE_Z
field_196375_H
field_196375_H
protected static final VoxelShape
y
field_18219
PRESSED_NORTH_SHAPE
field_185623_D
AABB_NORTH_ON
protected static final VoxelShape
z
field_18220
PRESSED_SOUTH_SHAPE
field_185625_E
AABB_SOUTH_ON
protected static final VoxelShape
A
field_18204
PRESSED_WEST_SHAPE
field_185627_F
AABB_WEST_ON
protected static final VoxelShape
B
field_18205
PRESSED_EAST_SHAPE
field_185629_G
AABB_EAST_ON
private final boolean
E
field_4999
wooden
field_150047_a
wooden

Constructor summary

ModifierConstructor
protected (boolean wooden, Block$Properties properties)

Method summary

Modifier and TypeMethod
public int
a(ayc arg0)
method_16565(class_3599 arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReaderBase arg0)
tickRate(IWorldReaderBase arg0)
public boolean
a(blc arg0)
method_11562(class_2232 arg0)
isCube(BlockState arg0)
func_149686_d(IBlockState arg0)
isFullCube(IBlockState arg0)
public VoxelShape
a(blc arg0, axk arg1, el arg2)
method_11554(class_2232 arg0, class_1158 arg1, class_2552 arg2)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2)
func_196244_b(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
getShape(IBlockState arg0, IBlockReader arg1, BlockPos arg2)
public boolean
a(blc arg0, axy arg1, el arg2, aog arg3, adk arg4, eq arg5, float arg6, float arg7, float arg8)
method_421(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_988 arg3, class_2961 arg4, class_1354 arg5, float arg6, float arg7, float arg8)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, Direction arg5, float arg6, float arg7, float arg8)
func_196250_a(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
onBlockActivated(IBlockState arg0, World arg1, BlockPos arg2, EntityPlayer arg3, EnumHand arg4, EnumFacing arg5, float arg6, float arg7, float arg8)
protected void
a(aog arg0, axz arg1, el arg2, boolean arg3)
method_16635(class_988 arg0, class_3598 arg1, class_2552 arg2, boolean arg3)
playPressSound(PlayerEntity source, WorldAccess world, BlockPos pos, boolean pressed)
func_196367_a(EntityPlayer arg0, IWorld arg1, BlockPos arg2, boolean arg3)
playSound(EntityPlayer arg0, IWorld arg1, BlockPos arg2, boolean arg3)
protected abstract SoundEvent
a(boolean arg0)
method_16636(boolean arg0)
getPressSound(boolean pressed)
func_196369_b(boolean arg0)
getSoundEvent(boolean arg0)
public void
a(blc arg0, axy arg1, el arg2, blc arg3, boolean arg4)
method_8659(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_2232 arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
onReplaced(IBlockState arg0, World arg1, BlockPos arg2, IBlockState arg3, boolean arg4)
public int
a(blc arg0, axk arg1, el arg2, eq arg3)
method_8653(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_1354 arg3)
getSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(IBlockState arg0, IBlockReader arg1, BlockPos arg2, EnumFacing arg3)
getWeakPower(IBlockState arg0, IBlockReader arg1, BlockPos arg2, EnumFacing arg3)
public int
b(blc arg0, axk arg1, el arg2, eq arg3)
method_8664(class_2232 arg0, class_1158 arg1, class_2552 arg2, class_1354 arg3)
getDirectSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_176211_b(IBlockState arg0, IBlockReader arg1, BlockPos arg2, EnumFacing arg3)
getStrongPower(IBlockState arg0, IBlockReader arg1, BlockPos arg2, EnumFacing arg3)
public boolean
i(blc arg0)
method_11566(class_2232 arg0)
isSignalSource(BlockState arg0)
func_149744_f(IBlockState arg0)
canProvidePower(IBlockState arg0)
public void
a(blc arg0, axy arg1, el arg2, Random arg3)
method_8661(class_2232 arg0, class_1150 arg1, class_2552 arg2, Random arg3)
tick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_196267_b(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
tick(IBlockState arg0, World arg1, BlockPos arg2, Random arg3)
public void
a(blc arg0, axy arg1, el arg2, aer arg3)
method_416(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_864 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
func_196262_a(IBlockState arg0, World arg1, BlockPos arg2, Entity arg3)
onEntityCollision(IBlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private void
b(blc arg0, axy arg1, el arg2)
method_11582(class_2232 arg0, class_1150 arg1, class_2552 arg2)
updatePressed(BlockState state, World world, BlockPos pos)
func_185616_e(IBlockState arg0, World arg1, BlockPos arg2)
checkPressed(IBlockState state, World worldIn, BlockPos pos)
private void
c(blc arg0, axy arg1, el arg2)
method_16637(class_2232 arg0, class_1150 arg1, class_2552 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196368_e(IBlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(IBlockState arg0, World arg1, BlockPos arg2)
protected void
a(ble$a<bcs, blc> arg0)
method_16576(class_2233$class_3757<class_197, class_2232> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, IBlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, IBlockState> arg0)
public FaceShape
a(axk arg0, blc arg1, el arg2, eq arg3)
method_14307(class_1158 arg0, class_2232 arg1, class_2552 arg2, class_1354 arg3)
getFaceShape(BlockView arg0, BlockState arg1, BlockPos arg2, Direction arg3)
func_193383_a(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)
getBlockFaceShape(IBlockReader arg0, IBlockState arg1, BlockPos arg2, EnumFacing arg3)