net.minecraft.block

public class LeverBlock

extends FaceAttachedHorizontalFacingBlock

All mapped superinterfaces:

ItemLike

bpq
net.minecraft.class_2401
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
a
field_11265
POWERED
field_176359_b
field_176359_b
protected static final VoxelShape
b
field_11267
NORTH_SHAPE
field_185692_c
field_185692_c
protected static final VoxelShape
c
field_11263
SOUTH_SHAPE
field_185693_d
field_185693_d
protected static final VoxelShape
d
field_11260
WEST_SHAPE
field_185694_e
field_185694_e
protected static final VoxelShape
e
field_11262
EAST_SHAPE
field_185695_f
field_185695_f
protected static final VoxelShape
f
field_11264
FLOOR_SHAPE_Z
field_209348_r
field_209348_r
protected static final VoxelShape
g
field_11261
FLOOR_SHAPE_X
field_209349_s
field_209349_s
protected static final VoxelShape
h
field_11268
CEILING_SHAPE_Z
field_209350_t
field_209350_t
protected static final VoxelShape
i
field_11266
CEILING_SHAPE_X
field_209351_u
field_209351_u

Constructor summary

ModifierConstructor
protected (Block$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(bvk arg0, bgs arg1, ev arg2, csc arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvk arg0, bhi arg1, ev arg2, avy arg3, ahc arg4, crt arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 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)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
private static void
a(bvk arg0, bhj arg1, ev arg2, float arg3)
method_10308(class_2680 arg0, class_1936 arg1, class_2338 arg2, float arg3)
spawnParticle(BlockState state, WorldAccess world, BlockPos pos, float scale)
func_196379_a(BlockState arg0, IWorld arg1, BlockPos arg2, float arg3)
addParticles(BlockState state, IWorld worldIn, BlockPos pos, float alpha)
public void
a(bvk arg0, bhi arg1, ev arg2, bvk arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 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(bvk arg0, bgs arg1, ev arg2, fa arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 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(bvk arg0, bgs arg1, ev arg2, fa arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 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(bvk arg0)
method_9506(class_2680 arg0)
isSignalSource(BlockState arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState arg0)
private void
d(bvk arg0, bhi arg1, ev arg2)
method_10309(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196378_d(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(bvl$a<bmm, bvk> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public void
a(bvk arg0, bhi arg1, ev arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)