net.minecraft.block

public abstract class AbstractButtonBlock

extends WallMountedBlock

All mapped superinterfaces:

ItemConvertible

bvy
net.minecraft.world.level.block.ButtonBlock
net.minecraft.class_2269
net.minecraft.block.AbstractButtonBlock
net.minecraft.unmapped.C_mvguptux
net.minecraft.block.AbstractButtonBlock
net.minecraft.block.AbstractButtonBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
a
POWERED
field_10729
POWERED
f_pzyrfksa
field_176584_b
POWERED
protected static final VoxelShape
b
CEILING_AABB_X
field_10721
CEILING_X_SHAPE
f_xfwgrord
field_196370_b
AABB_CEILING_X_OFF
protected static final VoxelShape
c
CEILING_AABB_Z
field_10727
CEILING_Z_SHAPE
f_fqunlwzs
field_196371_c
AABB_CEILING_Z_OFF
protected static final VoxelShape
d
FLOOR_AABB_X
field_10723
FLOOR_X_SHAPE
f_ugfojogr
field_196376_y
AABB_FLOOR_X_OFF
protected static final VoxelShape
e
FLOOR_AABB_Z
field_10716
FLOOR_Z_SHAPE
f_lyvwefny
field_196377_z
AABB_FLOOR_Z_OFF
protected static final VoxelShape
f
NORTH_AABB
field_10728
NORTH_SHAPE
f_mmsecubf
field_185622_d
AABB_NORTH_OFF
protected static final VoxelShape
g
SOUTH_AABB
field_10715
SOUTH_SHAPE
f_kzpgltxs
field_185624_e
AABB_SOUTH_OFF
protected static final VoxelShape
h
WEST_AABB
field_10731
WEST_SHAPE
f_qmwjtlhs
field_185626_f
AABB_WEST_OFF
protected static final VoxelShape
i
EAST_AABB
field_10720
EAST_SHAPE
f_ryekvpwj
field_185628_g
AABB_EAST_OFF
protected static final VoxelShape
j
PRESSED_CEILING_AABB_X
field_10717
CEILING_X_PRESSED_SHAPE
f_qeodymvp
field_196372_E
AABB_CEILING_X_ON
protected static final VoxelShape
k
PRESSED_CEILING_AABB_Z
field_10726
CEILING_Z_PRESSED_SHAPE
f_mduuvfgj
field_196373_F
AABB_CEILING_Z_ON
protected static final VoxelShape
o
PRESSED_FLOOR_AABB_X
field_10722
FLOOR_X_PRESSED_SHAPE
f_zdevvfvl
field_196374_G
AABB_FLOOR_X_ON
protected static final VoxelShape
p
PRESSED_FLOOR_AABB_Z
field_10730
FLOOR_Z_PRESSED_SHAPE
f_rbfhhthe
field_196375_H
AABB_FLOOR_Z_ON
protected static final VoxelShape
q
PRESSED_NORTH_AABB
field_10719
NORTH_PRESSED_SHAPE
f_vbanmhdw
field_185623_D
AABB_NORTH_ON
protected static final VoxelShape
r
PRESSED_SOUTH_AABB
field_10724
SOUTH_PRESSED_SHAPE
f_irjxpusc
field_185625_E
AABB_SOUTH_ON
protected static final VoxelShape
s
PRESSED_WEST_AABB
field_10732
WEST_PRESSED_SHAPE
f_uurxfwdq
field_185627_F
AABB_WEST_ON
protected static final VoxelShape
t
PRESSED_EAST_AABB
field_10718
EAST_PRESSED_SHAPE
f_rcocfcie
field_185629_G
AABB_EAST_ON
private final boolean
v
sensitive
field_10725
wooden
f_wgplbkgd
field_150047_a
wooden

Constructor summary

ModifierConstructor
protected (boolean wooden, AbstractBlock$Settings settings)

Method summary

Modifier and TypeMethod
private int
c()
getPressDuration()
method_26153()
getPressTicks()
m_kgzvowzg()
func_235471_c_()
getActiveDuration()
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public ActionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
func_225533_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)
public void
d(cfj arg0, bqb arg1, fu arg2)
press(BlockState arg0, Level arg1, BlockPos arg2)
method_21845(class_2680 arg0, class_1937 arg1, class_2338 arg2)
powerOn(BlockState state, World world, BlockPos pos)
m_xgiovkgj(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
func_226910_d_(BlockState arg0, World arg1, BlockPos arg2)
powerBlock(BlockState state, World world, BlockPos pos)
protected void
a(bec arg0, bqc arg1, fu arg2, boolean arg3)
playSound(Player arg0, LevelAccessor arg1, BlockPos arg2, boolean arg3)
method_9714(class_1657 arg0, class_1936 arg1, class_2338 arg2, boolean arg3)
playClickSound(PlayerEntity player, WorldAccess world, BlockPos pos, boolean powered)
m_wnfxbhzh(C_jzrpycqo arg0, C_vdvbsyle arg1, C_hynzadkk arg2, boolean arg3)
func_196367_a(PlayerEntity arg0, IWorld arg1, BlockPos arg2, boolean arg3)
playSound(PlayerEntity playerIn, IWorld worldIn, BlockPos pos, boolean hitByArrow)
protected abstract SoundEvent
a(boolean arg0)
getSound(boolean arg0)
method_9712(boolean arg0)
getClickSound(boolean powered)
m_smnwtisx(boolean arg0)
func_196369_b(boolean arg0)
getSoundEvent(boolean isOn)
public void
a(cfj arg0, bqb arg1, fu arg2, cfj arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp 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(cfj arg0, bpg arg1, fu arg2, fz arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getWeakPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
b(cfj arg0, bpg arg1, fu arg2, fz arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getStrongPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public boolean
b_(cfj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_fjkbizwn(C_txtbiemp arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState arg0)
public void
a(cfj arg0, zd arg1, fu arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_bneobcwj(C_txtbiemp arg0, C_bdwnwhiu arg1, C_hynzadkk arg2, Random arg3)
func_225534_a_(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
tick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
public void
a(cfj arg0, bqb arg1, fu arg2, aom arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
m_lmjnycyw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_astfners arg3)
func_196262_a(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private void
e(cfj arg0, bqb arg1, fu arg2)
checkPressed(BlockState arg0, Level arg1, BlockPos arg2)
method_9715(class_2680 arg0, class_1937 arg1, class_2338 arg2)
tryPowerWithProjectiles(BlockState state, World world, BlockPos pos)
m_zsepdvap(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
func_185616_e(BlockState arg0, World arg1, BlockPos arg2)
checkPressed(BlockState state, World worldIn, BlockPos pos)
private void
f(cfj arg0, bqb arg1, fu arg2)
updateNeighbours(BlockState arg0, Level arg1, BlockPos arg2)
method_9713(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
m_vkkuhzwv(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
func_196368_e(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState state, World worldIn, BlockPos pos)
protected void
a(cfk$a<bvr, cfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)