Class PistonBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class PistonBlock extends FacingBlock
Mappings:
Namespace Name
named net/minecraft/block/PistonBlock
intermediary net/minecraft/class_2665
official drx
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<PistonBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/block/PistonBlock;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_46530 Lnet/minecraft/class_2665;field_46530:Lcom/mojang/serialization/MapCodec;
      official b Ldrx;b:Lcom/mojang/serialization/MapCodec;
    • EXTENDED

      public static final BooleanProperty EXTENDED
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED Lnet/minecraft/block/PistonBlock;EXTENDED:Lnet/minecraft/state/property/BooleanProperty;
      intermediary field_12191 Lnet/minecraft/class_2665;field_12191:Lnet/minecraft/class_2746;
      official c Ldrx;c:Ldsv;
    • field_31373

      public static final int field_31373
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31373 Lnet/minecraft/block/PistonBlock;field_31373:I
      intermediary field_31373 Lnet/minecraft/class_2665;field_31373:I
      official d Ldrx;d:I
    • field_31374

      public static final int field_31374
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31374 Lnet/minecraft/block/PistonBlock;field_31374:I
      intermediary field_31374 Lnet/minecraft/class_2665;field_31374:I
      official e Ldrx;e:I
    • field_31375

      public static final int field_31375
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31375 Lnet/minecraft/block/PistonBlock;field_31375:I
      intermediary field_31375 Lnet/minecraft/class_2665;field_31375:I
      official f Ldrx;f:I
    • field_31376

      public static final float field_31376
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31376 Lnet/minecraft/block/PistonBlock;field_31376:F
      intermediary field_31376 Lnet/minecraft/class_2665;field_31376:F
      official g Ldrx;g:F
    • EXTENDED_EAST_SHAPE

      protected static final VoxelShape EXTENDED_EAST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_EAST_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12188 Lnet/minecraft/class_2665;field_12188:Lnet/minecraft/class_265;
      official h Ldrx;h:Lewm;
    • EXTENDED_WEST_SHAPE

      protected static final VoxelShape EXTENDED_WEST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_WEST_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12184 Lnet/minecraft/class_2665;field_12184:Lnet/minecraft/class_265;
      official i Ldrx;i:Lewm;
    • EXTENDED_SOUTH_SHAPE

      protected static final VoxelShape EXTENDED_SOUTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_SOUTH_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12186 Lnet/minecraft/class_2665;field_12186:Lnet/minecraft/class_265;
      official j Ldrx;j:Lewm;
    • EXTENDED_NORTH_SHAPE

      protected static final VoxelShape EXTENDED_NORTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_NORTH_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12189 Lnet/minecraft/class_2665;field_12189:Lnet/minecraft/class_265;
      official k Ldrx;k:Lewm;
    • EXTENDED_UP_SHAPE

      protected static final VoxelShape EXTENDED_UP_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_UP_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_UP_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12185 Lnet/minecraft/class_2665;field_12185:Lnet/minecraft/class_265;
      official l Ldrx;l:Lewm;
    • EXTENDED_DOWN_SHAPE

      protected static final VoxelShape EXTENDED_DOWN_SHAPE
      Mappings:
      Namespace Name Mixin selector
      named EXTENDED_DOWN_SHAPE Lnet/minecraft/block/PistonBlock;EXTENDED_DOWN_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
      intermediary field_12190 Lnet/minecraft/class_2665;field_12190:Lnet/minecraft/class_265;
      official m Ldrx;m:Lewm;
    • sticky

      private final boolean sticky
      Mappings:
      Namespace Name Mixin selector
      named sticky Lnet/minecraft/block/PistonBlock;sticky:Z
      intermediary field_12187 Lnet/minecraft/class_2665;field_12187:Z
      official n Ldrx;n:Z
  • Constructor Details

    • PistonBlock

      public PistonBlock(boolean sticky, AbstractBlock.Settings settings)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/PistonBlock;<init>(ZLnet/minecraft/block/AbstractBlock$Settings;)V
      intermediary <init> Lnet/minecraft/class_2665;<init>(ZLnet/minecraft/class_4970$class_2251;)V
      official <init> Ldrx;<init>(ZLdsd$d;)V
  • Method Details