Package net.minecraft.block
Class LeverBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizotalFacingBlock
net.minecraft.block.WallPlacedBlock
net.minecraft.block.LeverBlock
- All Implemented Interfaces:
Itemable
- Mappings:
Namespace Name official bftintermediary net/minecraft/class_151named net/minecraft/block/LeverBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BooleanPropertyprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeFields inherited from class net.minecraft.block.WallPlacedBlock
field_18315Fields inherited from class net.minecraft.block.HorizotalFacingBlock
field_18369Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) getOutlineShape(BlockState state, BlockView world, BlockPos pos) booleanmethod_11562(BlockState state) booleanmethod_11566(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) private static voidmethod_16695(BlockState blockState, IWorld iWorld, BlockPos blockPos, float float2) private voidmethod_16696(BlockState blockState, World world, BlockPos blockPos) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) intmethod_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) intmethod_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) voidmethod_8669(BlockState blockState, World world, BlockPos blockPos, Random random) Methods inherited from class net.minecraft.block.WallPlacedBlock
method_16563, method_16570, method_16575, method_16672Methods inherited from class net.minecraft.block.HorizotalFacingBlock
withMirror, withRotationMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16565, method_16566, method_16568, method_16569, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_410, method_414, method_416, method_420, method_435, method_8640, method_8650, method_8651, method_8661, method_8668, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
field_18391
- Mappings:
Namespace Name Mixin selector official aLbft;a:Lbmb;intermediary field_18391Lnet/minecraft/class_151;field_18391:Lnet/minecraft/class_2243;named field_18391Lnet/minecraft/block/LeverBlock;field_18391:Lnet/minecraft/state/property/BooleanProperty;
-
field_18392
- Mappings:
Namespace Name Mixin selector official bLbft;b:Lcew;intermediary field_18392Lnet/minecraft/class_151;field_18392:Lnet/minecraft/class_4100;named field_18392Lnet/minecraft/block/LeverBlock;field_18392:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18393
- Mappings:
Namespace Name Mixin selector official cLbft;c:Lcew;intermediary field_18393Lnet/minecraft/class_151;field_18393:Lnet/minecraft/class_4100;named field_18393Lnet/minecraft/block/LeverBlock;field_18393:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18394
- Mappings:
Namespace Name Mixin selector official oLbft;o:Lcew;intermediary field_18394Lnet/minecraft/class_151;field_18394:Lnet/minecraft/class_4100;named field_18394Lnet/minecraft/block/LeverBlock;field_18394:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18395
- Mappings:
Namespace Name Mixin selector official pLbft;p:Lcew;intermediary field_18395Lnet/minecraft/class_151;field_18395:Lnet/minecraft/class_4100;named field_18395Lnet/minecraft/block/LeverBlock;field_18395:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18396
- Mappings:
Namespace Name Mixin selector official qLbft;q:Lcew;intermediary field_18396Lnet/minecraft/class_151;field_18396:Lnet/minecraft/class_4100;named field_18396Lnet/minecraft/block/LeverBlock;field_18396:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18397
- Mappings:
Namespace Name Mixin selector official rLbft;r:Lcew;intermediary field_18397Lnet/minecraft/class_151;field_18397:Lnet/minecraft/class_4100;named field_18397Lnet/minecraft/block/LeverBlock;field_18397:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18398
- Mappings:
Namespace Name Mixin selector official sLbft;s:Lcew;intermediary field_18398Lnet/minecraft/class_151;field_18398:Lnet/minecraft/class_4100;named field_18398Lnet/minecraft/block/LeverBlock;field_18398:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18399
- Mappings:
Namespace Name Mixin selector official tLbft;t:Lcew;intermediary field_18399Lnet/minecraft/class_151;field_18399:Lnet/minecraft/class_4100;named field_18399Lnet/minecraft/block/LeverBlock;field_18399:Lnet/minecraft/util/shapes/VoxelShape;
-
-
Constructor Details
-
LeverBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
-
method_421
public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) - Overrides:
method_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Znamed method_421Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
-
method_16695
private static void method_16695(BlockState blockState, IWorld iWorld, BlockPos blockPos, float float2) - Mappings:
Namespace Name Mixin selector official aLbft;a(Lblc;Laxz;Lel;F)Vintermediary method_16695Lnet/minecraft/class_151;method_16695(Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;F)Vnamed method_16695Lnet/minecraft/block/LeverBlock;method_16695(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;F)V
-
method_8669
@Environment(CLIENT) public void method_8669(BlockState blockState, World world, BlockPos blockPos, Random random) - Overrides:
method_8669in classBlock- Mappings:
Namespace Name Mixin selector official cLbcs;c(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8669Lnet/minecraft/class_197;method_8669(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8669Lnet/minecraft/block/Block;method_8669(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
method_8659
public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) - Overrides:
method_8659in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
-
method_8653
public int method_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) - Overrides:
method_8653in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;Leq;)Iintermediary method_8653Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8653Lnet/minecraft/block/Block;method_8653(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
method_8664
public int method_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) - Overrides:
method_8664in classBlock- Mappings:
Namespace Name Mixin selector official bLbcs;b(Lblc;Laxk;Lel;Leq;)Iintermediary method_8664Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8664Lnet/minecraft/block/Block;method_8664(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
-
method_11566
- Overrides:
method_11566in classBlock- Mappings:
Namespace Name Mixin selector official iLbcs;i(Lblc;)Zintermediary method_11566Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Znamed method_11566Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
-
method_16696
- Mappings:
Namespace Name Mixin selector official bLbft;b(Lblc;Laxy;Lel;)Vintermediary method_16696Lnet/minecraft/class_151;method_16696(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_16696Lnet/minecraft/block/LeverBlock;method_16696(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
-
method_14307
public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) - Overrides:
method_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;named method_14307Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;
-