Class ButtonBlock

All Implemented Interfaces:
ItemConvertible, ToggleableFeature

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

    • CODEC

      public static final com.mojang.serialization.MapCodec<ButtonBlock> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcxa;a:Lcom/mojang/serialization/MapCodec;
      intermediary field_46293 Lnet/minecraft/class_2269;field_46293:Lcom/mojang/serialization/MapCodec;
      named CODEC Lnet/minecraft/block/ButtonBlock;CODEC:Lcom/mojang/serialization/MapCodec;
    • POWERED

      public static final BooleanProperty POWERED
      Mappings:
      Namespace Name Mixin selector
      official b Lcxa;b:Ldjy;
      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 L Lcxa;L: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 M Lcxa;M: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 c Lcxa;c: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 d Lcxa;d: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 e Lcxa;e:Lemm;
      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 f Lcxa;f:Lemm;
      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 g Lcxa;g:Lemm;
      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 h Lcxa;h:Lemm;
      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 i Lcxa;i:Lemm;
      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 j Lcxa;j:Lemm;
      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 k Lcxa;k:Lemm;
      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 l Lcxa;l:Lemm;
      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 m Lcxa;m:Lemm;
      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 n Lcxa;n:Lemm;
      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 o Lcxa;o:Lemm;
      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 F Lcxa;F:Lemm;
      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 G Lcxa;G:Lemm;
      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 H Lcxa;H:Lemm;
      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 I Lcxa;I:Lemm;
      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 J Lcxa;J:Lemm;
      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 N Lcxa;N:Ldjw;
      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 O Lcxa;O:I
      intermediary field_40298 Lnet/minecraft/class_2269;field_40298:I
      named pressTicks Lnet/minecraft/block/ButtonBlock;pressTicks:I
  • Constructor Details

    • ButtonBlock

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