Package net.minecraft.block
Class AbstractPressurePlateBlock
java.lang.Object
net.minecraft.block.Block
net.minecraft.block.AbstractPressurePlateBlock
- All Implemented Interfaces:
Itemable
- Direct Known Subclasses:
PressurePlateBlock,WeightedPressurePlateBlock
- Mappings:
Namespace Name official bcnintermediary net/minecraft/class_1445named net/minecraft/block/AbstractPressurePlateBlock
-
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 Boxprotected static final VoxelShapeprotected static final VoxelShapeFields 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 TypeMethodDescriptionbooleanReturns whether mobs can spawn inside the block.protected abstract intgetMinRedstoneOutput(BlockState state) getOutlineShape(BlockState state, BlockView world, BlockPos pos) getPistonBehavior(BlockState state) protected abstract intgetRedstoneOutput(World world, BlockPos pos) protected voidmethod_11548(World world, BlockPos blockPos, BlockState blockState, int int2) protected abstract voidmethod_11549(IWorld iWorld, BlockPos blockPos) protected abstract voidmethod_11550(IWorld iWorld, BlockPos blockPos) booleanmethod_11562(BlockState state) booleanmethod_11566(BlockState state) method_14307(BlockView view, BlockState state, BlockPos pos, Direction direction) intmethod_16565(RenderBlockView renderBlockView) booleanmethod_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) voidmethod_416(BlockState blockState, World world, BlockPos blockPos, Entity entity) 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) protected abstract BlockStatesetRedstoneOutput(BlockState state, int value) protected voidupdateNeighbours(World world, BlockPos pos) Methods inherited from class net.minecraft.block.Block
addStacksForDisplay, appendProperties, canPlaceAtSide, canReplace, createCuboidShape, createStackFromBlock, dropExperience, getBlastResistance, getBlockFromItem, getBlockRenderType, getCollisionShape, getComparatorOutput, getDefaultState, getFluidState, getHardness, getItem, getLightSubtracted, getLuminance, getMaterial, getMaterialColor, getOffsetPos, getOffsetType, 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_16563, 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_421, 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, withMirror, withRotation
-
Field Details
-
field_17735
- Mappings:
Namespace Name Mixin selector official aLbcn;a:Lcew;intermediary field_17735Lnet/minecraft/class_1445;field_17735:Lnet/minecraft/class_4100;named field_17735Lnet/minecraft/block/AbstractPressurePlateBlock;field_17735:Lnet/minecraft/util/shapes/VoxelShape;
-
field_17736
- Mappings:
Namespace Name Mixin selector official bLbcn;b:Lcew;intermediary field_17736Lnet/minecraft/class_1445;field_17736:Lnet/minecraft/class_4100;named field_17736Lnet/minecraft/block/AbstractPressurePlateBlock;field_17736:Lnet/minecraft/util/shapes/VoxelShape;
-
field_12565
- Mappings:
Namespace Name Mixin selector official cLbcn;c:Lcea;intermediary field_12565Lnet/minecraft/class_1445;field_12565:Lnet/minecraft/class_231;named field_12565Lnet/minecraft/block/AbstractPressurePlateBlock;field_12565:Lnet/minecraft/util/math/Box;
-
-
Constructor Details
-
AbstractPressurePlateBlock
- Mappings:
Namespace Name Mixin selector official <init>Lbcs;<init>(Lbcs$c;)Vintermediary <init>Lnet/minecraft/class_197;<init>(Lnet/minecraft/class_197$class_3692;)Vnamed <init>Lnet/minecraft/block/Block;<init>(Lnet/minecraft/block/Block$Builder;)V
-
-
Method Details
-
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_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
-
canMobSpawnInside
public boolean canMobSpawnInside()Returns whether mobs can spawn inside the block. Used for Air.- Overrides:
canMobSpawnInsidein classBlock- Returns:
- Whether mobs can spawn inside the block
- Mappings:
Namespace Name Mixin selector official aLbcs;a()Zintermediary method_8678Lnet/minecraft/class_197;method_8678()Znamed canMobSpawnInsideLnet/minecraft/block/Block;canMobSpawnInside()Z
-
method_16575
public BlockState method_16575(BlockState blockState, Direction direction, BlockState blockState2, IWorld iWorld, BlockPos blockPos, BlockPos blockPos2) - Overrides:
method_16575in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Leq;Lblc;Laxz;Lel;Lel;)Lblc;intermediary method_16575Lnet/minecraft/class_197;method_16575(Lnet/minecraft/class_2232;Lnet/minecraft/class_1354;Lnet/minecraft/class_2232;Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;Lnet/minecraft/class_2552;)Lnet/minecraft/class_2232;named method_16575Lnet/minecraft/block/Block;method_16575(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/block/BlockState;
-
method_16570
public boolean method_16570(BlockState blockState, RenderBlockView renderBlockView, BlockPos blockPos) - Overrides:
method_16570in classBlock- Mappings:
Namespace Name Mixin selector official aLbcs;a(Lblc;Layc;Lel;)Zintermediary method_16570Lnet/minecraft/class_197;method_16570(Lnet/minecraft/class_2232;Lnet/minecraft/class_3599;Lnet/minecraft/class_2552;)Znamed method_16570Lnet/minecraft/block/Block;method_16570(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/RenderBlockView;Lnet/minecraft/util/math/BlockPos;)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_11548
- Mappings:
Namespace Name Mixin selector official aLbcn;a(Laxy;Lel;Lblc;I)Vintermediary method_11548Lnet/minecraft/class_1445;method_11548(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;I)Vnamed method_11548Lnet/minecraft/block/AbstractPressurePlateBlock;method_11548(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)V
-
method_11549
- Mappings:
Namespace Name Mixin selector official aLbcn;a(Laxz;Lel;)Vintermediary method_11549Lnet/minecraft/class_1445;method_11549(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)Vnamed method_11549Lnet/minecraft/block/AbstractPressurePlateBlock;method_11549(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)V
-
method_11550
- Mappings:
Namespace Name Mixin selector official bLbcn;b(Laxz;Lel;)Vintermediary method_11550Lnet/minecraft/class_1445;method_11550(Lnet/minecraft/class_3598;Lnet/minecraft/class_2552;)Vnamed method_11550Lnet/minecraft/block/AbstractPressurePlateBlock;method_11550(Lnet/minecraft/world/IWorld;Lnet/minecraft/util/math/BlockPos;)V
-
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
-
updateNeighbours
- Mappings:
Namespace Name Mixin selector official aLbcn;a(Laxy;Lel;)Vintermediary method_8608Lnet/minecraft/class_1445;method_8608(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Vnamed updateNeighboursLnet/minecraft/block/AbstractPressurePlateBlock;updateNeighbours(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)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
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classBlock- Mappings:
Namespace Name Mixin selector official jLbcs;j(Lblc;)Lbzc;intermediary method_11567Lnet/minecraft/class_197;method_11567(Lnet/minecraft/class_2232;)Lnet/minecraft/class_2768;named getPistonBehaviorLnet/minecraft/block/Block;getPistonBehavior(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/piston/PistonBehavior;
-
getRedstoneOutput
- Mappings:
Namespace Name Mixin selector official bLbcn;b(Laxy;Lel;)Iintermediary method_8610Lnet/minecraft/class_1445;method_8610(Lnet/minecraft/class_1150;Lnet/minecraft/class_2552;)Inamed getRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;getRedstoneOutput(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)I
-
getMinRedstoneOutput
- Mappings:
Namespace Name Mixin selector official kLbcn;k(Lblc;)Iintermediary method_8609Lnet/minecraft/class_1445;method_8609(Lnet/minecraft/class_2232;)Inamed getMinRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;getMinRedstoneOutput(Lnet/minecraft/block/BlockState;)I
-
setRedstoneOutput
- Mappings:
Namespace Name Mixin selector official aLbcn;a(Lblc;I)Lblc;intermediary method_8605Lnet/minecraft/class_1445;method_8605(Lnet/minecraft/class_2232;I)Lnet/minecraft/class_2232;named setRedstoneOutputLnet/minecraft/block/AbstractPressurePlateBlock;setRedstoneOutput(Lnet/minecraft/block/BlockState;I)Lnet/minecraft/block/BlockState;
-
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;
-