Class ButtonBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class ButtonBlock extends WallMountedBlock
Mappings:
Namespace Name
official cpq
intermediary net/minecraft/class_2269
named net/minecraft/block/ButtonBlock
  • Field Details

    • POWERED

      public static final BooleanProperty POWERED
      Mappings:
      Namespace Name Mixin selector
      official a Lcpq;a:Ldci;
      intermediary field_10729 Lnet/minecraft/class_2269;field_10729:Lnet/minecraft/class_2746;
      named POWERED Lnet/minecraft/block/ButtonBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
    • field_31040

      private static final int field_31040
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official K Lcpq;K:I
      intermediary field_31040 Lnet/minecraft/class_2269;field_31040:I
      named field_31040 Lnet/minecraft/block/ButtonBlock;field_31040:I
    • field_31041

      private static final int field_31041
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official L Lcpq;L:I
      intermediary field_31041 Lnet/minecraft/class_2269;field_31041:I
      named field_31041 Lnet/minecraft/block/ButtonBlock;field_31041:I
    • field_31042

      protected static final int field_31042
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lcpq;b:I
      intermediary field_31042 Lnet/minecraft/class_2269;field_31042:I
      named field_31042 Lnet/minecraft/block/ButtonBlock;field_31042:I
    • field_31043

      protected static final int field_31043
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcpq;c:I
      intermediary field_31043 Lnet/minecraft/class_2269;field_31043:I
      named field_31043 Lnet/minecraft/block/ButtonBlock;field_31043:I
    • CEILING_X_SHAPE

      protected static final VoxelShape CEILING_X_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official d Lcpq;d:Ledx;
      intermediary field_10721 Lnet/minecraft/class_2269;field_10721:Lnet/minecraft/class_265;
      named CEILING_X_SHAPE Lnet/minecraft/block/ButtonBlock;CEILING_X_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CEILING_Z_SHAPE

      protected static final VoxelShape CEILING_Z_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official e Lcpq;e:Ledx;
      intermediary field_10727 Lnet/minecraft/class_2269;field_10727:Lnet/minecraft/class_265;
      named CEILING_Z_SHAPE Lnet/minecraft/block/ButtonBlock;CEILING_Z_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_X_SHAPE

      protected static final VoxelShape FLOOR_X_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official f Lcpq;f:Ledx;
      intermediary field_10723 Lnet/minecraft/class_2269;field_10723:Lnet/minecraft/class_265;
      named FLOOR_X_SHAPE Lnet/minecraft/block/ButtonBlock;FLOOR_X_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_Z_SHAPE

      protected static final VoxelShape FLOOR_Z_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official g Lcpq;g:Ledx;
      intermediary field_10716 Lnet/minecraft/class_2269;field_10716:Lnet/minecraft/class_265;
      named FLOOR_Z_SHAPE Lnet/minecraft/block/ButtonBlock;FLOOR_Z_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • NORTH_SHAPE

      protected static final VoxelShape NORTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official h Lcpq;h:Ledx;
      intermediary field_10728 Lnet/minecraft/class_2269;field_10728:Lnet/minecraft/class_265;
      named NORTH_SHAPE Lnet/minecraft/block/ButtonBlock;NORTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SOUTH_SHAPE

      protected static final VoxelShape SOUTH_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official i Lcpq;i:Ledx;
      intermediary field_10715 Lnet/minecraft/class_2269;field_10715:Lnet/minecraft/class_265;
      named SOUTH_SHAPE Lnet/minecraft/block/ButtonBlock;SOUTH_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • WEST_SHAPE

      protected static final VoxelShape WEST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official j Lcpq;j:Ledx;
      intermediary field_10731 Lnet/minecraft/class_2269;field_10731:Lnet/minecraft/class_265;
      named WEST_SHAPE Lnet/minecraft/block/ButtonBlock;WEST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EAST_SHAPE

      protected static final VoxelShape EAST_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official k Lcpq;k:Ledx;
      intermediary field_10720 Lnet/minecraft/class_2269;field_10720:Lnet/minecraft/class_265;
      named EAST_SHAPE Lnet/minecraft/block/ButtonBlock;EAST_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CEILING_X_PRESSED_SHAPE

      protected static final VoxelShape CEILING_X_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official l Lcpq;l:Ledx;
      intermediary field_10717 Lnet/minecraft/class_2269;field_10717:Lnet/minecraft/class_265;
      named CEILING_X_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;CEILING_X_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • CEILING_Z_PRESSED_SHAPE

      protected static final VoxelShape CEILING_Z_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official m Lcpq;m:Ledx;
      intermediary field_10726 Lnet/minecraft/class_2269;field_10726:Lnet/minecraft/class_265;
      named CEILING_Z_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;CEILING_Z_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_X_PRESSED_SHAPE

      protected static final VoxelShape FLOOR_X_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official n Lcpq;n:Ledx;
      intermediary field_10722 Lnet/minecraft/class_2269;field_10722:Lnet/minecraft/class_265;
      named FLOOR_X_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;FLOOR_X_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • FLOOR_Z_PRESSED_SHAPE

      protected static final VoxelShape FLOOR_Z_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official E Lcpq;E:Ledx;
      intermediary field_10730 Lnet/minecraft/class_2269;field_10730:Lnet/minecraft/class_265;
      named FLOOR_Z_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;FLOOR_Z_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • NORTH_PRESSED_SHAPE

      protected static final VoxelShape NORTH_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official F Lcpq;F:Ledx;
      intermediary field_10719 Lnet/minecraft/class_2269;field_10719:Lnet/minecraft/class_265;
      named NORTH_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;NORTH_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • SOUTH_PRESSED_SHAPE

      protected static final VoxelShape SOUTH_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official G Lcpq;G:Ledx;
      intermediary field_10724 Lnet/minecraft/class_2269;field_10724:Lnet/minecraft/class_265;
      named SOUTH_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;SOUTH_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • WEST_PRESSED_SHAPE

      protected static final VoxelShape WEST_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official H Lcpq;H:Ledx;
      intermediary field_10732 Lnet/minecraft/class_2269;field_10732:Lnet/minecraft/class_265;
      named WEST_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;WEST_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • EAST_PRESSED_SHAPE

      protected static final VoxelShape EAST_PRESSED_SHAPE
      Mappings:
      Namespace Name Mixin selector
      official I Lcpq;I:Ledx;
      intermediary field_10718 Lnet/minecraft/class_2269;field_10718:Lnet/minecraft/class_265;
      named EAST_PRESSED_SHAPE Lnet/minecraft/block/ButtonBlock;EAST_PRESSED_SHAPE:Lnet/minecraft/util/shape/VoxelShape;
    • blockSetType

      private final BlockSetType blockSetType
      Mappings:
      Namespace Name Mixin selector
      official M Lcpq;M:Ldcg;
      intermediary field_42753 Lnet/minecraft/class_2269;field_42753:Lnet/minecraft/class_8177;
      named blockSetType Lnet/minecraft/block/ButtonBlock;blockSetType:Lnet/minecraft/block/BlockSetType;
    • pressTicks

      private final int pressTicks
      Mappings:
      Namespace Name Mixin selector
      official N Lcpq;N:I
      intermediary field_40298 Lnet/minecraft/class_2269;field_40298:I
      named pressTicks Lnet/minecraft/block/ButtonBlock;pressTicks:I
    • wooden

      private final boolean wooden
      Mappings:
      Namespace Name Mixin selector
      official O Lcpq;O:Z
      intermediary field_40299 Lnet/minecraft/class_2269;field_40299:Z
      named wooden Lnet/minecraft/block/ButtonBlock;wooden:Z
  • Constructor Details

    • ButtonBlock

      protected ButtonBlock(AbstractBlock.Settings settings, BlockSetType blockSetType, int pressTicks, boolean wooden)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcpq;<init>(Ldbp$d;Ldcg;IZ)V
      intermediary <init> Lnet/minecraft/class_2269;<init>(Lnet/minecraft/class_4970$class_2251;Lnet/minecraft/class_8177;IZ)V
      named <init> Lnet/minecraft/block/ButtonBlock;<init>(Lnet/minecraft/block/AbstractBlock$Settings;Lnet/minecraft/block/BlockSetType;IZ)V
  • Method Details