Class ButtonBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

public class ButtonBlock extends WallMountedBlock
Mappings:
Namespace Name
official cpu
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 Lcpu;a:Ldcp;
      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 Lcpu;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 Lcpu;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 Lcpu;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 Lcpu;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 Lcpu;d:Leet;
      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 Lcpu;e:Leet;
      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 Lcpu;f:Leet;
      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 Lcpu;g:Leet;
      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 Lcpu;h:Leet;
      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 Lcpu;i:Leet;
      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 Lcpu;j:Leet;
      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 Lcpu;k:Leet;
      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 Lcpu;l:Leet;
      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 Lcpu;m:Leet;
      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 Lcpu;n:Leet;
      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 Lcpu;D:Leet;
      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 Lcpu;E:Leet;
      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 Lcpu;F:Leet;
      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 Lcpu;G:Leet;
      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 Lcpu;H:Leet;
      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 Lcpu;L:Ldcn;
      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 Lcpu;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 Lcpu;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> Lcpu;<init>(Ldbx$d;Ldcn;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