net.minecraft.world.level.block

public class LeverBlock

extends FaceAttachedHorizontalDirectionalBlock

All mapped superinterfaces:

ItemLike

chr
net.minecraft.world.level.block.LeverBlock
net.minecraft.class_2401
net.minecraft.unmapped.C_hcykfprw
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.src.C_1831_
net.minecraft.world.level.block.BlockLever

Field summary

Modifier and TypeField
public static final BooleanProperty
a
POWERED
field_11265
f_tyacqxtk
POWERED
POWERED
f_54622_
protected static final int
b
DEPTH
field_31184
f_odxziinh
field_31184
DEPTH
f_153653_
protected static final int
c
WIDTH
field_31185
f_vurawrwz
field_31185
WIDTH
f_153654_
protected static final int
d
HEIGHT
field_31186
f_wjirtlhh
field_31186
HEIGHT
f_153655_
protected static final VoxelShape
e
NORTH_AABB
field_11267
f_zdqvqkwk
NORTH_WALL_SHAPE
NORTH_WALL_SHAPE
f_54623_
protected static final VoxelShape
f
SOUTH_AABB
field_11263
f_wzyaggpc
SOUTH_WALL_SHAPE
SOUTH_WALL_SHAPE
f_54624_
protected static final VoxelShape
g
WEST_AABB
field_11260
f_baovugsn
WEST_WALL_SHAPE
WEST_WALL_SHAPE
f_54625_
protected static final VoxelShape
h
EAST_AABB
field_11262
f_ooywwomu
EAST_WALL_SHAPE
EAST_WALL_SHAPE
f_54626_
protected static final VoxelShape
i
UP_AABB_Z
field_11264
f_pbflnhxb
FLOOR_Z_AXIS_SHAPE
FLOOR_Z_AXIS_SHAPE
f_54627_
protected static final VoxelShape
j
UP_AABB_X
field_11261
f_smmjyjuq
FLOOR_X_AXIS_SHAPE
FLOOR_X_AXIS_SHAPE
f_54628_
protected static final VoxelShape
k
DOWN_AABB_Z
field_11268
f_oiodeyly
CEILING_Z_AXIS_SHAPE
CEILING_Z_AXIS_SHAPE
f_54629_
protected static final VoxelShape
l
DOWN_AABB_X
field_11266
f_pvoiqrfo
CEILING_X_AXIS_SHAPE
CEILING_X_AXIS_SHAPE
f_54630_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(cov arg0, cab arg1, gj arg2, dpt arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
m_fqngyjtr(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_pbfjvesm arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
m_5940_(C_2064_ p_54666_, C_1559_ p_54667_, C_4675_ p_54668_, C_3051_ arg3)
public InteractionResult
a(cov arg0, cav arg1, gj arg2, boj arg3, awg arg4, dpk 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)
m_rocdemyx(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_laxmzoqs arg4, C_jdakttms arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
m_6227_(C_2064_ p_54641_, C_1596_ p_54642_, C_4675_ p_54643_, C_1141_ p_54644_, C_470_ p_54645_, C_3041_ arg5)
public BlockState
d(cov arg0, cav arg1, gj arg2)
pull(BlockState arg0, Level arg1, BlockPos arg2)
method_21846(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_rryaawcw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
togglePower(BlockState state, World world, BlockPos pos)
togglePower(BlockState state, World world, BlockPos pos)
m_54676_(C_2064_ p_54678_, C_1596_ p_54679_, C_4675_ arg2)
private static void
a(cov arg0, caw arg1, gj arg2, float arg3)
makeParticle(BlockState arg0, LevelAccessor arg1, BlockPos arg2, float arg3)
method_10308(class_2680 arg0, class_1936 arg1, class_2338 arg2, float arg3)
m_qafqjimt(C_txtbiemp arg0, C_vdvbsyle arg1, C_hynzadkk arg2, float arg3)
spawnParticles(BlockState state, WorldAccess world, BlockPos pos, float alpha)
spawnParticles(BlockState state, WorldAccess world, BlockPos pos, float alpha)
m_54657_(C_2064_ p_54658_, C_1598_ p_54659_, C_4675_ p_54660_, float p_54661_)
public void
a(cov arg0, cav arg1, gj arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
m_7100_(C_2064_ p_54654_, C_1596_ p_54655_, C_4675_ p_54656_, Random arg3)
public void
a(cov arg0, cav arg1, gj arg2, cov 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)
m_rhbsxbgh(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_txtbiemp arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
m_6810_(C_2064_ p_54648_, C_1596_ p_54649_, C_4675_ p_54650_, C_2064_ p_54651_, boolean arg4)
public int
a(cov arg0, cab arg1, gj arg2, go arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_bhohbmwk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6378_(C_2064_ p_54636_, C_1559_ p_54637_, C_4675_ p_54638_, C_4687_ arg3)
public int
b(cov arg0, cab arg1, gj arg2, go arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
m_ydisyayk(C_txtbiemp arg0, C_peaveboq arg1, C_hynzadkk arg2, C_xpuuihxf arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
m_6376_(C_2064_ p_54671_, C_1559_ p_54672_, C_4675_ p_54673_, C_4687_ arg3)
public boolean
f_(cov arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
private void
e(cov arg0, cav arg1, gj arg2)
updateNeighbours(BlockState arg0, Level arg1, BlockPos arg2)
method_10309(class_2680 arg0, class_1937 arg1, class_2338 arg2)
m_frzaiydw(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
updateNeighbors(BlockState state, World world, BlockPos pos)
m_54680_(C_2064_ p_54682_, C_1596_ p_54683_, C_4675_ arg2)
protected void
a(cow$a<cdq, cov> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
m_yujtcnah(C_ezfeikaq$C_mfnsmxhw<C_mmxmpdoq, C_txtbiemp> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)