net.minecraft.block

public abstract class AbstractButtonBlock

extends WallMountedBlock

All mapped superinterfaces:

ItemConvertible

bmx
net.minecraft.class_2269
net.minecraft.block.AbstractButtonBlock
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
POWERED
field_176584_b
POWERED
protected static final VoxelShape
b
field_10721
CEILING_X_SHAPE
CEILING_SHAPE_X
field_196370_b
field_196370_b
protected static final VoxelShape
c
field_10727
CEILING_Z_SHAPE
CEILING_SHAPE_Z
field_196371_c
field_196371_c
protected static final VoxelShape
d
field_10723
FLOOR_X_SHAPE
FLOOR_SHAPE_X
field_196376_y
field_196376_y
protected static final VoxelShape
e
field_10716
FLOOR_Z_SHAPE
FLOOR_SHAPE_Z
field_196377_z
field_196377_z
protected static final VoxelShape
f
field_10728
NORTH_SHAPE
NORTH_SHAPE
field_185622_d
AABB_NORTH_OFF
protected static final VoxelShape
g
field_10715
SOUTH_SHAPE
SOUTH_SHAPE
field_185624_e
AABB_SOUTH_OFF
protected static final VoxelShape
h
field_10731
WEST_SHAPE
WEST_SHAPE
field_185626_f
AABB_WEST_OFF
protected static final VoxelShape
i
field_10720
EAST_SHAPE
EAST_SHAPE
field_185628_g
AABB_EAST_OFF
protected static final VoxelShape
j
field_10717
CEILING_X_PRESSED_SHAPE
PRESSED_CEILING_SHAPE_X
field_196372_E
field_196372_E
protected static final VoxelShape
k
field_10726
CEILING_Z_PRESSED_SHAPE
PRESSED_CEILING_SHAPE_Z
field_196373_F
field_196373_F
protected static final VoxelShape
w
field_10722
FLOOR_X_PRESSED_SHAPE
PRESSED_FLOOR_SHAPE_X
field_196374_G
field_196374_G
protected static final VoxelShape
x
field_10730
FLOOR_Z_PRESSED_SHAPE
PRESSED_FLOOR_SHAPE_Z
field_196375_H
field_196375_H
protected static final VoxelShape
y
field_10719
NORTH_PRESSED_SHAPE
PRESSED_NORTH_SHAPE
field_185623_D
AABB_NORTH_ON
protected static final VoxelShape
z
field_10724
SOUTH_PRESSED_SHAPE
PRESSED_SOUTH_SHAPE
field_185625_E
AABB_SOUTH_ON
protected static final VoxelShape
A
field_10732
WEST_PRESSED_SHAPE
PRESSED_WEST_SHAPE
field_185627_F
AABB_WEST_ON
protected static final VoxelShape
B
field_10718
EAST_PRESSED_SHAPE
PRESSED_EAST_SHAPE
field_185629_G
AABB_EAST_ON
private final boolean
D
field_10725
wooden
wooden
field_150047_a
wooden

Constructor summary

ModifierConstructor
protected (boolean wooden, Block$Settings properties)

Method summary

Modifier and TypeMethod
public int
a(bhp arg0)
method_9563(class_1941 arg0)
getTickRate(ViewableWorld arg0)
getTickRate(WorldView arg0)
func_149738_a(IWorldReader arg0)
tickRate(IWorldReader arg0)
public VoxelShape
a(bvo arg0, bgw arg1, ev arg2, csg arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvo arg0, bhm arg1, ev arg2, awb arg3, ahf arg4, crx arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult 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)
onBlockActivated(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
protected void
a(awb arg0, bhn arg1, ev arg2, boolean arg3)
method_9714(class_1657 arg0, class_1936 arg1, class_2338 arg2, boolean arg3)
playClickSound(PlayerEntity arg0, IWorld arg1, BlockPos 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 playerIn, IWorld worldIn, BlockPos pos, boolean arg3)
protected abstract SoundEvent
a(boolean arg0)
method_9712(boolean arg0)
getClickSound(boolean arg0)
getPressSound(boolean pressed)
func_196369_b(boolean arg0)
getSoundEvent(boolean arg0)
public void
a(bvo arg0, bhm arg1, ev arg2, bvo arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState 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(bvo arg0, bgw arg1, ev arg2, fa arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction 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(bvo arg0, bgw arg1, ev arg2, fa arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction 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(bvo arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
isSignalSource(BlockState arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState arg0)
public void
b(bvo arg0, bhm arg1, ev arg2, Random arg3)
method_9588(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
onScheduledTick(BlockState arg0, World arg1, BlockPos 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(bvo arg0, bhm arg1, ev arg2, ail arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity 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(bvo arg0, bhm arg1, ev arg2)
method_9715(class_2680 arg0, class_1937 arg1, class_2338 arg2)
tryPowerWithProjectiles(BlockState arg0, World arg1, BlockPos 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(bvo arg0, bhm arg1, ev arg2)
method_9713(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196368_e(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState state, World worldIn, BlockPos pos)
protected void
a(bvp$a<bmq, bvo> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateFactory$Builder<Block, BlockState> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)