net.minecraft.world.level.block

public class LeverBlock

extends FaceAttachedHorizontalDirectionalBlock

All mapped superinterfaces:

FeatureElement, ItemLike

djo
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 com.mojang.serialization.MapCodec<LeverBlock>
a
CODEC
field_46387
f_eehxwxgv
CODEC
CODEC
f_302745_
public static final BooleanProperty
b
POWERED
field_11265
f_tyacqxtk
POWERED
POWERED
f_54622_
protected static final int
c
DEPTH
field_31184
f_odxziinh
field_31184
DEPTH
f_153653_
protected static final int
d
WIDTH
field_31185
f_vurawrwz
field_31185
WIDTH
f_153654_
protected static final int
e
HEIGHT
field_31186
f_wjirtlhh
field_31186
HEIGHT
f_153655_
protected static final VoxelShape
f
NORTH_AABB
field_11267
f_zdqvqkwk
NORTH_WALL_SHAPE
NORTH_WALL_SHAPE
f_54623_
protected static final VoxelShape
g
SOUTH_AABB
field_11263
f_wzyaggpc
SOUTH_WALL_SHAPE
SOUTH_WALL_SHAPE
f_54624_
protected static final VoxelShape
h
WEST_AABB
field_11260
f_baovugsn
WEST_WALL_SHAPE
WEST_WALL_SHAPE
f_54625_
protected static final VoxelShape
i
EAST_AABB
field_11262
f_ooywwomu
EAST_WALL_SHAPE
EAST_WALL_SHAPE
f_54626_
protected static final VoxelShape
j
UP_AABB_Z
field_11264
f_pbflnhxb
FLOOR_Z_AXIS_SHAPE
FLOOR_Z_AXIS_SHAPE
f_54627_
protected static final VoxelShape
k
UP_AABB_X
field_11261
f_smmjyjuq
FLOOR_X_AXIS_SHAPE
FLOOR_X_AXIS_SHAPE
f_54628_
protected static final VoxelShape
l
DOWN_AABB_Z
field_11268
f_oiodeyly
CEILING_Z_AXIS_SHAPE
CEILING_Z_AXIS_SHAPE
f_54629_
protected static final VoxelShape
m
DOWN_AABB_X
field_11266
f_pvoiqrfo
CEILING_X_AXIS_SHAPE
CEILING_X_AXIS_SHAPE
f_54630_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<LeverBlock>
a()
codec()
method_53969()
m_wrnxumjr()
getCodec()
getCodec()
m_304657_()
protected VoxelShape
a(dse arg0, dbg arg1, iz arg2, evy 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)
protected InteractionResult
a(dse arg0, dca arg1, iz arg2, cmz arg3, evp arg4)
useWithoutItem(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, BlockHitResult arg4)
method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4)
m_pguoxmgn(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_jzrpycqo arg3, C_jdakttms arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4)
m_6227_(C_2064_ p_54641_, C_1596_ p_54642_, C_4675_ p_54643_, C_1141_ p_54645_, C_3041_ arg4)
protected void
a(dse arg0, dca arg1, iz arg2, dbs arg3, BiConsumer<cur, iz> arg4)
onExplosionHit(BlockState arg0, Level arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
method_55124(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1927 arg3, BiConsumer<class_1799, class_2338> arg4)
m_qjdjbqgu(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_aahhrzpf arg3, BiConsumer<C_sddaxwyk, C_hynzadkk> arg4)
onExploded(BlockState arg0, World arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
onExplosion(BlockState arg0, World arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4)
m_304760_(C_2064_ p_311735_, C_1596_ p_310069_, C_4675_ p_312793_, C_1578_ p_310075_, BiConsumer<C_1391_, C_4675_> arg4)
public BlockState
d(dse arg0, dca arg1, iz 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(dse arg0, dcb arg1, iz 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(dse arg0, dca arg1, iz arg2, azh arg3)
animateTick(BlockState arg0, Level arg1, BlockPos arg2, RandomSource arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3)
m_qdvbqnpt(C_txtbiemp arg0, C_cdctfzbn arg1, C_hynzadkk arg2, C_rlomrsco arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, RandomGenerator arg3)
m_214162_(C_2064_ p_221396_, C_1596_ p_221397_, C_4675_ p_221398_, C_212974_ arg3)
protected void
a(dse arg0, dca arg1, iz arg2, dse 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)
protected int
a(dse arg0, dbg arg1, iz arg2, je 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)
protected int
b(dse arg0, dbg arg1, iz arg2, je 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)
protected boolean
e_(dse arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
m_fjkbizwn(C_txtbiemp arg0)
emitsRedstonePower(BlockState arg0)
isRedstonePowerSource(BlockState arg0)
m_7899_(C_2064_ arg0)
private void
e(dse arg0, dca arg1, iz 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(dsf$a<dfb, dse> 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)