Class LeverBlock

All Implemented Interfaces:
Itemable

public class LeverBlock extends WallPlacedBlock
Mappings:
Namespace Name
official bft
intermediary net/minecraft/class_151
named net/minecraft/block/LeverBlock
  • Field Details

    • field_18391

      public static final BooleanProperty field_18391
      Mappings:
      Namespace Name Mixin selector
      official a Lbft;a:Lbmb;
      intermediary field_18391 Lnet/minecraft/class_151;field_18391:Lnet/minecraft/class_2243;
      named field_18391 Lnet/minecraft/block/LeverBlock;field_18391:Lnet/minecraft/state/property/BooleanProperty;
    • field_18392

      protected static final VoxelShape field_18392
      Mappings:
      Namespace Name Mixin selector
      official b Lbft;b:Lcew;
      intermediary field_18392 Lnet/minecraft/class_151;field_18392:Lnet/minecraft/class_4100;
      named field_18392 Lnet/minecraft/block/LeverBlock;field_18392:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18393

      protected static final VoxelShape field_18393
      Mappings:
      Namespace Name Mixin selector
      official c Lbft;c:Lcew;
      intermediary field_18393 Lnet/minecraft/class_151;field_18393:Lnet/minecraft/class_4100;
      named field_18393 Lnet/minecraft/block/LeverBlock;field_18393:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18394

      protected static final VoxelShape field_18394
      Mappings:
      Namespace Name Mixin selector
      official o Lbft;o:Lcew;
      intermediary field_18394 Lnet/minecraft/class_151;field_18394:Lnet/minecraft/class_4100;
      named field_18394 Lnet/minecraft/block/LeverBlock;field_18394:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18395

      protected static final VoxelShape field_18395
      Mappings:
      Namespace Name Mixin selector
      official p Lbft;p:Lcew;
      intermediary field_18395 Lnet/minecraft/class_151;field_18395:Lnet/minecraft/class_4100;
      named field_18395 Lnet/minecraft/block/LeverBlock;field_18395:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18396

      protected static final VoxelShape field_18396
      Mappings:
      Namespace Name Mixin selector
      official q Lbft;q:Lcew;
      intermediary field_18396 Lnet/minecraft/class_151;field_18396:Lnet/minecraft/class_4100;
      named field_18396 Lnet/minecraft/block/LeverBlock;field_18396:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18397

      protected static final VoxelShape field_18397
      Mappings:
      Namespace Name Mixin selector
      official r Lbft;r:Lcew;
      intermediary field_18397 Lnet/minecraft/class_151;field_18397:Lnet/minecraft/class_4100;
      named field_18397 Lnet/minecraft/block/LeverBlock;field_18397:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18398

      protected static final VoxelShape field_18398
      Mappings:
      Namespace Name Mixin selector
      official s Lbft;s:Lcew;
      intermediary field_18398 Lnet/minecraft/class_151;field_18398:Lnet/minecraft/class_4100;
      named field_18398 Lnet/minecraft/block/LeverBlock;field_18398:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18399

      protected static final VoxelShape field_18399
      Mappings:
      Namespace Name Mixin selector
      official t Lbft;t:Lcew;
      intermediary field_18399 Lnet/minecraft/class_151;field_18399:Lnet/minecraft/class_4100;
      named field_18399 Lnet/minecraft/block/LeverBlock;field_18399:Lnet/minecraft/util/shapes/VoxelShape;
  • Constructor Details

    • LeverBlock

      protected LeverBlock(Block.Builder settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcs;<init>(Lbcs$c;)V
      intermediary <init> Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)V
      named <init> Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
  • Method Details

    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/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_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/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)Z
      named method_421 Lnet/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 a Lbft;a(Lblc;Laxz;Lel;F)V
      intermediary method_16695 Lnet/minecraft/class_151;method_16695(Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;F)V
      named method_16695 Lnet/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_8669 in class Block
      Mappings:
      Namespace Name Mixin selector
      official c Lbcs;c(Lblc;Laxy;Lel;Ljava/util/Random;)V
      intermediary method_8669 Lnet/minecraft/class_197;method_8669(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)V
      named method_8669 Lnet/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_8659 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;Z)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_8659 Lnet/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_8653 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8653 Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8653 Lnet/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_8664 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8664 Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8664 Lnet/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

      public boolean method_11566(BlockState state)
      Overrides:
      method_11566 in class Block
      Mappings:
      Namespace Name Mixin selector
      official i Lbcs;i(Lblc;)Z
      intermediary method_11566 Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Z
      named method_11566 Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
    • method_16696

      private void method_16696(BlockState blockState, World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbft;b(Lblc;Laxy;Lel;)V
      intermediary method_16696 Lnet/minecraft/class_151;method_16696(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_16696 Lnet/minecraft/block/LeverBlock;method_16696(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/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_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/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_14307 Lnet/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;