Class ButtonBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class ButtonBlock extends WallMountedBlock
Mappings:
Namespace Name
official cpw
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 Lcpw;a:Ldcs;
      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 J Lcpw;J: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 K Lcpw;K: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 Lcpw;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 Lcpw;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 Lcpw;d:Lefb;
      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 Lcpw;e:Lefb;
      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 Lcpw;f:Lefb;
      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 Lcpw;g:Lefb;
      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 Lcpw;h:Lefb;
      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 Lcpw;i:Lefb;
      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 Lcpw;j:Lefb;
      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 Lcpw;k:Lefb;
      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 Lcpw;l:Lefb;
      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 Lcpw;m:Lefb;
      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 Lcpw;n:Lefb;
      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 D Lcpw;D:Lefb;
      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 E Lcpw;E:Lefb;
      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 F Lcpw;F:Lefb;
      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 G Lcpw;G:Lefb;
      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 H Lcpw;H:Lefb;
      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 L Lcpw;L:Ldcq;
      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 M Lcpw;M: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 N Lcpw;N: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> Lcpw;<init>(Ldca$d;Ldcq;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