Class AbstractButtonBlock

All Implemented Interfaces:
Itemable
Direct Known Subclasses:
StoneButtonBlock, WoodButtonBlock

public abstract class AbstractButtonBlock extends WallPlacedBlock
Mappings:
Namespace Name
official bdb
intermediary net/minecraft/class_114
named net/minecraft/block/AbstractButtonBlock
  • Field Details

    • POWERED

      public static final BooleanProperty POWERED
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;a:Lbmb;
      intermediary field_18206 Lnet/minecraft/class_114;field_18206:Lnet/minecraft/class_2243;
      named POWERED Lnet/minecraft/block/AbstractButtonBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
    • field_18207

      protected static final VoxelShape field_18207
      Mappings:
      Namespace Name Mixin selector
      official b Lbdb;b:Lcew;
      intermediary field_18207 Lnet/minecraft/class_114;field_18207:Lnet/minecraft/class_4100;
      named field_18207 Lnet/minecraft/block/AbstractButtonBlock;field_18207:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18208

      protected static final VoxelShape field_18208
      Mappings:
      Namespace Name Mixin selector
      official c Lbdb;c:Lcew;
      intermediary field_18208 Lnet/minecraft/class_114;field_18208:Lnet/minecraft/class_4100;
      named field_18208 Lnet/minecraft/block/AbstractButtonBlock;field_18208:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18209

      protected static final VoxelShape field_18209
      Mappings:
      Namespace Name Mixin selector
      official o Lbdb;o:Lcew;
      intermediary field_18209 Lnet/minecraft/class_114;field_18209:Lnet/minecraft/class_4100;
      named field_18209 Lnet/minecraft/block/AbstractButtonBlock;field_18209:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18210

      protected static final VoxelShape field_18210
      Mappings:
      Namespace Name Mixin selector
      official p Lbdb;p:Lcew;
      intermediary field_18210 Lnet/minecraft/class_114;field_18210:Lnet/minecraft/class_4100;
      named field_18210 Lnet/minecraft/block/AbstractButtonBlock;field_18210:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18211

      protected static final VoxelShape field_18211
      Mappings:
      Namespace Name Mixin selector
      official q Lbdb;q:Lcew;
      intermediary field_18211 Lnet/minecraft/class_114;field_18211:Lnet/minecraft/class_4100;
      named field_18211 Lnet/minecraft/block/AbstractButtonBlock;field_18211:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18212

      protected static final VoxelShape field_18212
      Mappings:
      Namespace Name Mixin selector
      official r Lbdb;r:Lcew;
      intermediary field_18212 Lnet/minecraft/class_114;field_18212:Lnet/minecraft/class_4100;
      named field_18212 Lnet/minecraft/block/AbstractButtonBlock;field_18212:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18213

      protected static final VoxelShape field_18213
      Mappings:
      Namespace Name Mixin selector
      official s Lbdb;s:Lcew;
      intermediary field_18213 Lnet/minecraft/class_114;field_18213:Lnet/minecraft/class_4100;
      named field_18213 Lnet/minecraft/block/AbstractButtonBlock;field_18213:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18214

      protected static final VoxelShape field_18214
      Mappings:
      Namespace Name Mixin selector
      official t Lbdb;t:Lcew;
      intermediary field_18214 Lnet/minecraft/class_114;field_18214:Lnet/minecraft/class_4100;
      named field_18214 Lnet/minecraft/block/AbstractButtonBlock;field_18214:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18215

      protected static final VoxelShape field_18215
      Mappings:
      Namespace Name Mixin selector
      official u Lbdb;u:Lcew;
      intermediary field_18215 Lnet/minecraft/class_114;field_18215:Lnet/minecraft/class_4100;
      named field_18215 Lnet/minecraft/block/AbstractButtonBlock;field_18215:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18216

      protected static final VoxelShape field_18216
      Mappings:
      Namespace Name Mixin selector
      official v Lbdb;v:Lcew;
      intermediary field_18216 Lnet/minecraft/class_114;field_18216:Lnet/minecraft/class_4100;
      named field_18216 Lnet/minecraft/block/AbstractButtonBlock;field_18216:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18217

      protected static final VoxelShape field_18217
      Mappings:
      Namespace Name Mixin selector
      official w Lbdb;w:Lcew;
      intermediary field_18217 Lnet/minecraft/class_114;field_18217:Lnet/minecraft/class_4100;
      named field_18217 Lnet/minecraft/block/AbstractButtonBlock;field_18217:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18218

      protected static final VoxelShape field_18218
      Mappings:
      Namespace Name Mixin selector
      official x Lbdb;x:Lcew;
      intermediary field_18218 Lnet/minecraft/class_114;field_18218:Lnet/minecraft/class_4100;
      named field_18218 Lnet/minecraft/block/AbstractButtonBlock;field_18218:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18219

      protected static final VoxelShape field_18219
      Mappings:
      Namespace Name Mixin selector
      official y Lbdb;y:Lcew;
      intermediary field_18219 Lnet/minecraft/class_114;field_18219:Lnet/minecraft/class_4100;
      named field_18219 Lnet/minecraft/block/AbstractButtonBlock;field_18219:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18220

      protected static final VoxelShape field_18220
      Mappings:
      Namespace Name Mixin selector
      official z Lbdb;z:Lcew;
      intermediary field_18220 Lnet/minecraft/class_114;field_18220:Lnet/minecraft/class_4100;
      named field_18220 Lnet/minecraft/block/AbstractButtonBlock;field_18220:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18204

      protected static final VoxelShape field_18204
      Mappings:
      Namespace Name Mixin selector
      official A Lbdb;A:Lcew;
      intermediary field_18204 Lnet/minecraft/class_114;field_18204:Lnet/minecraft/class_4100;
      named field_18204 Lnet/minecraft/block/AbstractButtonBlock;field_18204:Lnet/minecraft/util/shapes/VoxelShape;
    • field_18205

      protected static final VoxelShape field_18205
      Mappings:
      Namespace Name Mixin selector
      official B Lbdb;B:Lcew;
      intermediary field_18205 Lnet/minecraft/class_114;field_18205:Lnet/minecraft/class_4100;
      named field_18205 Lnet/minecraft/block/AbstractButtonBlock;field_18205:Lnet/minecraft/util/shapes/VoxelShape;
    • wooden

      private final boolean wooden
      Mappings:
      Namespace Name Mixin selector
      official E Lbdb;E:Z
      intermediary field_4999 Lnet/minecraft/class_114;field_4999:Z
      named wooden Lnet/minecraft/block/AbstractButtonBlock;wooden:Z
  • Constructor Details

    • AbstractButtonBlock

      protected AbstractButtonBlock(boolean bool, Block.Builder builder)
  • Method Details

    • method_16565

      public int method_16565(RenderBlockView renderBlockView)
      Overrides:
      method_16565 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Layc;)I
      intermediary method_16565 Lnet/minecraft/class_197;method_16565(Lnet/minecraft/class_3599;)I
      named method_16565 Lnet/minecraft/block/Block;method_16565(Lnet/minecraft/world/RenderBlockView;)I
    • method_11562

      public boolean method_11562(BlockState state)
      Overrides:
      method_11562 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;)Z
      intermediary method_11562 Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Z
      named method_11562 Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
    • getOutlineShape

      public VoxelShape getOutlineShape(BlockState state, BlockView world, BlockPos pos)
      Overrides:
      getOutlineShape in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;)Lcew;
      intermediary method_11554 Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;
      named getOutlineShape Lnet/minecraft/block/Block;getOutlineShape(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/shapes/VoxelShape;
    • method_421

      public boolean method_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4)
      Overrides:
      method_421 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Z
      intermediary method_421 Lnet/minecraft/class_197;method_421(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_988;Lnet/minecraft/class_2961;Lnet/minecraft/class_1354;FFF)Z
      named method_421 Lnet/minecraft/block/Block;method_421(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;Lnet/minecraft/util/math/Direction;FFF)Z
    • method_16635

      protected void method_16635(@Nullable PlayerEntity playerEntity, IWorld iWorld, BlockPos blockPos, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;a(Laog;Laxz;Lel;Z)V
      intermediary method_16635 Lnet/minecraft/class_114;method_16635(Lnet/minecraft/class_988;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Z)V
      named method_16635 Lnet/minecraft/block/AbstractButtonBlock;method_16635(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Z)V
    • getClickSound

      protected abstract SoundEvent getClickSound(boolean powered)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdb;a(Z)Lwi;
      intermediary method_16636 Lnet/minecraft/class_114;method_16636(Z)Lnet/minecraft/class_2926;
      named getClickSound Lnet/minecraft/block/AbstractButtonBlock;getClickSound(Z)Lnet/minecraft/client/sound/SoundEvent;
    • method_8659

      public void method_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool)
      Overrides:
      method_8659 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Lblc;Z)V
      intermediary method_8659 Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)V
      named method_8659 Lnet/minecraft/block/Block;method_8659(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Z)V
    • method_8653

      public int method_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Overrides:
      method_8653 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8653 Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8653 Lnet/minecraft/block/Block;method_8653(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_8664

      public int method_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction)
      Overrides:
      method_8664 in class Block
      Mappings:
      Namespace Name Mixin selector
      official b Lbcs;b(Lblc;Laxk;Lel;Leq;)I
      intermediary method_8664 Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)I
      named method_8664 Lnet/minecraft/block/Block;method_8664(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)I
    • method_11566

      public boolean method_11566(BlockState state)
      Overrides:
      method_11566 in class Block
      Mappings:
      Namespace Name Mixin selector
      official i Lbcs;i(Lblc;)Z
      intermediary method_11566 Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Z
      named method_11566 Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
    • method_8661

      public void method_8661(BlockState blockState, World world, BlockPos blockPos, Random random)
      Overrides:
      method_8661 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)V
      intermediary method_8661 Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)V
      named method_8661 Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
    • method_416

      public void method_416(BlockState blockState, World world, BlockPos blockPos, Entity entity)
      Overrides:
      method_416 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lblc;Laxy;Lel;Laer;)V
      intermediary method_416 Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)V
      named method_416 Lnet/minecraft/block/Block;method_416(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/Entity;)V
    • method_11582

      private void method_11582(BlockState blockState, World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbdb;b(Lblc;Laxy;Lel;)V
      intermediary method_11582 Lnet/minecraft/class_114;method_11582(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_11582 Lnet/minecraft/block/AbstractButtonBlock;method_11582(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • method_16637

      private void method_16637(BlockState blockState, World world, BlockPos blockPos)
      Mappings:
      Namespace Name Mixin selector
      official c Lbdb;c(Lblc;Laxy;Lel;)V
      intermediary method_16637 Lnet/minecraft/class_114;method_16637(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)V
      named method_16637 Lnet/minecraft/block/AbstractButtonBlock;method_16637(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • appendProperties

      protected void appendProperties(StateManager.Builder<Block,BlockState> builder)
      Overrides:
      appendProperties in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Lble$a;)V
      intermediary method_16576 Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)V
      named appendProperties Lnet/minecraft/block/Block;appendProperties(Lnet/minecraft/state/StateManager$Builder;)V
    • method_14307

      public BlockRenderLayer method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction)
      Overrides:
      method_14307 in class Block
      Mappings:
      Namespace Name Mixin selector
      official a Lbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;
      intermediary method_14307 Lnet/minecraft/class_197;method_14307(Lnet/minecraft/class_1158;Lnet/minecraft/class_2232;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Lnet/minecraft/class_3225;
      named method_14307 Lnet/minecraft/block/Block;method_14307(Lnet/minecraft/world/BlockView;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/BlockRenderLayer;