Package net.minecraft.block
Class AbstractButtonBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.HorizotalFacingBlock
net.minecraft.block.WallPlacedBlock
net.minecraft.block.AbstractButtonBlock
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
StoneButtonBlock,WoodButtonBlock
- Mappings:
Namespace Name official bdbintermediary net/minecraft/class_114named net/minecraft/block/AbstractButtonBlock
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.block.Block
Block.Builder, Block.NeighborGroup, Block.OffsetType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapeprotected static final VoxelShapestatic final BooleanPropertyprivate final booleanFields inherited from class net.minecraft.block.WallPlacedBlock
field_18315Fields inherited from class net.minecraft.block.HorizotalFacingBlock
field_18369Fields inherited from class net.minecraft.block.Block
blastResistance, BLOCK_STATES, blockSoundGroup, collidable, hardness, lightLevel, LOGGER, material, materialColor, randomTicks, stateManager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendProperties(StateManager.Builder<Block, BlockState> builder) protected abstract SoundEventgetClickSound(boolean powered) getOutlineShape(BlockState state, BlockView world, BlockPos pos) booleanmethod_11562(BlockState state) booleanmethod_11566(BlockState state) private voidmethod_11582(BlockState blockState, World world, BlockPos blockPos) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) intmethod_16565(RenderBlockView renderBlockView) protected voidmethod_16635(PlayerEntity playerEntity, IWorld iWorld, BlockPos blockPos, boolean bool) private voidmethod_16637(BlockState blockState, World world, BlockPos blockPos) voidmethod_416(BlockState blockState, World world, BlockPos blockPos, Entity entity) booleanmethod_421(BlockState blockState, World world, BlockPos blockPos, PlayerEntity playerEntity, Hand hand, Direction direction, float float2, float float3, float float4) intmethod_8653(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) voidmethod_8659(BlockState blockState, World world, BlockPos blockPos, BlockState blockState2, boolean bool) voidmethod_8661(BlockState blockState, World world, BlockPos blockPos, Random random) intmethod_8664(BlockState blockState, BlockView blockView, BlockPos blockPos, Direction direction) Methods inherited from class net.minecraft.block.WallPlacedBlock
method_16563, method_16570, method_16575, method_16672Methods inherited from class net.minecraft.block.HorizotalFacingBlock
withMirror, withRotationMethods inherited from class net.minecraft.block.Block
addStacksForDisplay, canMobSpawnInside, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, getPistonBehavior, getRawIdFromState, getRayTraceShape, getRenderingSeed, getRenderLayerType, getSlipperiness, getSoundGroup, getStateByRawId, getStateManager, getTranslationKey, hasBlockEntity, hasCollision, hasRandomTicks, hasStats, isAir, isFaceFullSquare, isFullBoundsCubeForCulling, isShapeFullCube, isTranslucent, method_11564, method_11565, method_11568, method_11575, method_11576, method_11577, method_13315, method_13703, method_13704, method_14308, method_14309, method_16564, method_16566, method_16568, method_16569, method_16572, method_16573, method_16580, method_16582, method_16583, method_16584, method_16585, method_16586, method_16588, method_16592, method_16593, method_16596, method_16599, method_16600, method_397, method_400, method_403, method_410, method_414, method_420, method_435, method_8640, method_8650, method_8651, method_8668, method_8669, method_8674, onBlockBreak, onBreak, onBreakByPlayer, onDestroyedByExplosion, onLandedUpon, onPlaced, onSteppedOn, pushEntitiesUpBeforeBlockChange, rainTick, requiresSilkTouch, setDefaultState, setup, shouldDropItemsOnExplosion, toString
-
Field Details
-
POWERED
- Mappings:
Namespace Name Mixin selector official aLbdb;a:Lbmb;intermediary field_18206Lnet/minecraft/class_114;field_18206:Lnet/minecraft/class_2243;named POWEREDLnet/minecraft/block/AbstractButtonBlock;POWERED:Lnet/minecraft/state/property/BooleanProperty;
-
field_18207
- Mappings:
Namespace Name Mixin selector official bLbdb;b:Lcew;intermediary field_18207Lnet/minecraft/class_114;field_18207:Lnet/minecraft/class_4100;named field_18207Lnet/minecraft/block/AbstractButtonBlock;field_18207:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18208
- Mappings:
Namespace Name Mixin selector official cLbdb;c:Lcew;intermediary field_18208Lnet/minecraft/class_114;field_18208:Lnet/minecraft/class_4100;named field_18208Lnet/minecraft/block/AbstractButtonBlock;field_18208:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18209
- Mappings:
Namespace Name Mixin selector official oLbdb;o:Lcew;intermediary field_18209Lnet/minecraft/class_114;field_18209:Lnet/minecraft/class_4100;named field_18209Lnet/minecraft/block/AbstractButtonBlock;field_18209:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18210
- Mappings:
Namespace Name Mixin selector official pLbdb;p:Lcew;intermediary field_18210Lnet/minecraft/class_114;field_18210:Lnet/minecraft/class_4100;named field_18210Lnet/minecraft/block/AbstractButtonBlock;field_18210:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18211
- Mappings:
Namespace Name Mixin selector official qLbdb;q:Lcew;intermediary field_18211Lnet/minecraft/class_114;field_18211:Lnet/minecraft/class_4100;named field_18211Lnet/minecraft/block/AbstractButtonBlock;field_18211:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18212
- Mappings:
Namespace Name Mixin selector official rLbdb;r:Lcew;intermediary field_18212Lnet/minecraft/class_114;field_18212:Lnet/minecraft/class_4100;named field_18212Lnet/minecraft/block/AbstractButtonBlock;field_18212:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18213
- Mappings:
Namespace Name Mixin selector official sLbdb;s:Lcew;intermediary field_18213Lnet/minecraft/class_114;field_18213:Lnet/minecraft/class_4100;named field_18213Lnet/minecraft/block/AbstractButtonBlock;field_18213:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18214
- Mappings:
Namespace Name Mixin selector official tLbdb;t:Lcew;intermediary field_18214Lnet/minecraft/class_114;field_18214:Lnet/minecraft/class_4100;named field_18214Lnet/minecraft/block/AbstractButtonBlock;field_18214:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18215
- Mappings:
Namespace Name Mixin selector official uLbdb;u:Lcew;intermediary field_18215Lnet/minecraft/class_114;field_18215:Lnet/minecraft/class_4100;named field_18215Lnet/minecraft/block/AbstractButtonBlock;field_18215:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18216
- Mappings:
Namespace Name Mixin selector official vLbdb;v:Lcew;intermediary field_18216Lnet/minecraft/class_114;field_18216:Lnet/minecraft/class_4100;named field_18216Lnet/minecraft/block/AbstractButtonBlock;field_18216:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18217
- Mappings:
Namespace Name Mixin selector official wLbdb;w:Lcew;intermediary field_18217Lnet/minecraft/class_114;field_18217:Lnet/minecraft/class_4100;named field_18217Lnet/minecraft/block/AbstractButtonBlock;field_18217:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18218
- Mappings:
Namespace Name Mixin selector official xLbdb;x:Lcew;intermediary field_18218Lnet/minecraft/class_114;field_18218:Lnet/minecraft/class_4100;named field_18218Lnet/minecraft/block/AbstractButtonBlock;field_18218:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18219
- Mappings:
Namespace Name Mixin selector official yLbdb;y:Lcew;intermediary field_18219Lnet/minecraft/class_114;field_18219:Lnet/minecraft/class_4100;named field_18219Lnet/minecraft/block/AbstractButtonBlock;field_18219:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18220
- Mappings:
Namespace Name Mixin selector official zLbdb;z:Lcew;intermediary field_18220Lnet/minecraft/class_114;field_18220:Lnet/minecraft/class_4100;named field_18220Lnet/minecraft/block/AbstractButtonBlock;field_18220:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18204
- Mappings:
Namespace Name Mixin selector official ALbdb;A:Lcew;intermediary field_18204Lnet/minecraft/class_114;field_18204:Lnet/minecraft/class_4100;named field_18204Lnet/minecraft/block/AbstractButtonBlock;field_18204:Lnet/minecraft/util/shapes/VoxelShape;
-
field_18205
- Mappings:
Namespace Name Mixin selector official BLbdb;B:Lcew;intermediary field_18205Lnet/minecraft/class_114;field_18205:Lnet/minecraft/class_4100;named field_18205Lnet/minecraft/block/AbstractButtonBlock;field_18205:Lnet/minecraft/util/shapes/VoxelShape;
-
wooden
private final boolean wooden- Mappings:
Namespace Name Mixin selector official ELbdb;E:Zintermediary field_4999Lnet/minecraft/class_114;field_4999:Znamed woodenLnet/minecraft/block/AbstractButtonBlock;wooden:Z
-
-
Constructor Details
-
AbstractButtonBlock
-
-
Method Details
-
method_16565
- Overrides:
method_16565in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Layc;)Iintermediary method_16565Lnet/minecraft/class_197;method_16565(Lnet/minecraft/class_3599;)Inamed method_16565Lnet/minecraft/block/Block;method_16565(Lnet/minecraft/world/RenderBlockView;)I
-
method_11562
- Overrides:
method_11562in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;)Zintermediary method_11562Lnet/minecraft/class_197;method_11562(Lnet/minecraft/class_2232;)Znamed method_11562Lnet/minecraft/block/Block;method_11562(Lnet/minecraft/block/BlockState;)Z
-
getOutlineShape
- Overrides:
getOutlineShapein classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;)Lcew;intermediary method_11554Lnet/minecraft/class_197;method_11554(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;)Lnet/minecraft/class_4100;named getOutlineShapeLnet/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_421in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laog;Ladk;Leq;FFF)Zintermediary method_421Lnet/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)Znamed method_421Lnet/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 aLbdb;a(Laog;Laxz;Lel;Z)Vintermediary method_16635Lnet/minecraft/class_114;method_16635(Lnet/minecraft/class_988;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Z)Vnamed method_16635Lnet/minecraft/block/AbstractButtonBlock;method_16635(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Z)V
-
getClickSound
- Mappings:
Namespace Name Mixin selector official aLbdb;a(Z)Lwi;intermediary method_16636Lnet/minecraft/class_114;method_16636(Z)Lnet/minecraft/class_2926;named getClickSoundLnet/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_8659in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Lblc;Z)Vintermediary method_8659Lnet/minecraft/class_197;method_8659(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;Z)Vnamed method_8659Lnet/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_8653in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxk;Lel;Leq;)Iintermediary method_8653Lnet/minecraft/class_197;method_8653(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8653Lnet/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_8664in classBlock- Mappings:
Namespace Name Mixin selector official bLbcs;b(Lblc;Laxk;Lel;Leq;)Iintermediary method_8664Lnet/minecraft/class_197;method_8664(Lnet/minecraft/class_2232;Lnet/minecraft/class_1158;Lnet/minecraft/class_2552;Lnet/minecraft/class_1354;)Inamed method_8664Lnet/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
- Overrides:
method_11566in classBlock- Mappings:
Namespace Name Mixin selector official iLbcs;i(Lblc;)Zintermediary method_11566Lnet/minecraft/class_197;method_11566(Lnet/minecraft/class_2232;)Znamed method_11566Lnet/minecraft/block/Block;method_11566(Lnet/minecraft/block/BlockState;)Z
-
method_8661
- Overrides:
method_8661in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Ljava/util/Random;)Vintermediary method_8661Lnet/minecraft/class_197;method_8661(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Ljava/util/Random;)Vnamed method_8661Lnet/minecraft/block/Block;method_8661(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)V
-
method_416
- Overrides:
method_416in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Laxy;Lel;Laer;)Vintermediary method_416Lnet/minecraft/class_197;method_416(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_864;)Vnamed method_416Lnet/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
- Mappings:
Namespace Name Mixin selector official bLbdb;b(Lblc;Laxy;Lel;)Vintermediary method_11582Lnet/minecraft/class_114;method_11582(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_11582Lnet/minecraft/block/AbstractButtonBlock;method_11582(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
method_16637
- Mappings:
Namespace Name Mixin selector official cLbdb;c(Lblc;Laxy;Lel;)Vintermediary method_16637Lnet/minecraft/class_114;method_16637(Lnet/minecraft/class_2232;Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed method_16637Lnet/minecraft/block/AbstractButtonBlock;method_16637(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
appendProperties
- Overrides:
appendPropertiesin classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lble$a;)Vintermediary method_16576Lnet/minecraft/class_197;method_16576(Lnet/minecraft/class_2233$class_3757;)Vnamed appendPropertiesLnet/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_14307in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Laxk;Lblc;Lel;Leq;)Lblb;intermediary method_14307Lnet/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_14307Lnet/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;
-