Class LeverBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class LeverBlock extends WallMountedBlock
Mappings:
Namespace Name
official dbk
intermediary net/minecraft/class_2401
named net/minecraft/block/LeverBlock
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<LeverBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Ldbk;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_46387 Lnet/minecraft/class_2401;field_46387:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/LeverBlock;CODEC:Lcom/mojang/serialization/MapCodec;
    • POWERED

      public static final BooleanProperty POWERED
      Mappings:
      Namespace Name Mixin selector
      official b Ldbk;b:Ldkg;
      intermediary field_11265 Lnet/minecraft/class_2401;field_11265:Lnet/minecraft/class_2746;
      named POWERED Lnet/minecraft/block/LeverBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
    • field_31184

      protected static final int field_31184
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Ldbk;c:I
      intermediary field_31184 Lnet/minecraft/class_2401;field_31184:I
      named field_31184 Lnet/minecraft/block/LeverBlock;field_31184:I
    • field_31185

      protected static final int field_31185
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Ldbk;d:I
      intermediary field_31185 Lnet/minecraft/class_2401;field_31185:I
      named field_31185 Lnet/minecraft/block/LeverBlock;field_31185:I
    • field_31186

      protected static final int field_31186
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Ldbk;e:I
      intermediary field_31186 Lnet/minecraft/class_2401;field_31186:I
      named field_31186 Lnet/minecraft/block/LeverBlock;field_31186:I
    • NORTH_WALL_SHAPE

      protected static final VoxelShape NORTH_WALL_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Ldbk;f:Lemv;
      intermediary field_11267 Lnet/minecraft/class_2401;field_11267:Lnet/minecraft/class_265;
      named NORTH_WALL_SHAPE Lnet/minecraft/block/LeverBlock;NORTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SOUTH_WALL_SHAPE

      protected static final VoxelShape SOUTH_WALL_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Ldbk;g:Lemv;
      intermediary field_11263 Lnet/minecraft/class_2401;field_11263:Lnet/minecraft/class_265;
      named SOUTH_WALL_SHAPE Lnet/minecraft/block/LeverBlock;SOUTH_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • WEST_WALL_SHAPE

      protected static final VoxelShape WEST_WALL_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official h Ldbk;h:Lemv;
      intermediary field_11260 Lnet/minecraft/class_2401;field_11260:Lnet/minecraft/class_265;
      named WEST_WALL_SHAPE Lnet/minecraft/block/LeverBlock;WEST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EAST_WALL_SHAPE

      protected static final VoxelShape EAST_WALL_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official i Ldbk;i:Lemv;
      intermediary field_11262 Lnet/minecraft/class_2401;field_11262:Lnet/minecraft/class_265;
      named EAST_WALL_SHAPE Lnet/minecraft/block/LeverBlock;EAST_WALL_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_Z_AXIS_SHAPE

      protected static final VoxelShape FLOOR_Z_AXIS_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official j Ldbk;j:Lemv;
      intermediary field_11264 Lnet/minecraft/class_2401;field_11264:Lnet/minecraft/class_265;
      named FLOOR_Z_AXIS_SHAPE Lnet/minecraft/block/LeverBlock;FLOOR_Z_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_X_AXIS_SHAPE

      protected static final VoxelShape FLOOR_X_AXIS_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official k Ldbk;k:Lemv;
      intermediary field_11261 Lnet/minecraft/class_2401;field_11261:Lnet/minecraft/class_265;
      named FLOOR_X_AXIS_SHAPE Lnet/minecraft/block/LeverBlock;FLOOR_X_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CEILING_Z_AXIS_SHAPE

      protected static final VoxelShape CEILING_Z_AXIS_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official l Ldbk;l:Lemv;
      intermediary field_11268 Lnet/minecraft/class_2401;field_11268:Lnet/minecraft/class_265;
      named CEILING_Z_AXIS_SHAPE Lnet/minecraft/block/LeverBlock;CEILING_Z_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CEILING_X_AXIS_SHAPE

      protected static final VoxelShape CEILING_X_AXIS_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official m Ldbk;m:Lemv;
      intermediary field_11266 Lnet/minecraft/class_2401;field_11266:Lnet/minecraft/class_265;
      named CEILING_X_AXIS_SHAPE Lnet/minecraft/block/LeverBlock;CEILING_X_AXIS_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
  • Constructor Details

    • LeverBlock

      protected LeverBlock(AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldjo;<init>(Ldjo$d;)V
      intermediary <init> Lnet/minecraft/class_4970;<init>(Lnet/minecraft/class_4970$class_2251;)V
      named <init> Lnet/minecraft/block/AbstractBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;)V
  • Method Details