net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dka
net.minecraft.world.level.block.BasePressurePlateBlock
net.minecraft.class_2231
net.minecraft.block.AbstractPressurePlateBlock
net.minecraft.world.level.block.BlockPressurePlateAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
a
PRESSED_AABB
field_9942
PRESSED_SHAPE
protected static final VoxelShape
b
AABB
field_9943
DEFAULT_SHAPE
protected static final AABB
c
TOUCH_AABB
field_9941
BOX
protected final BlockSetType
d
type
field_42726
blockSetType

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings, BlockSetType blockSetType)

Method summary

Modifier and TypeMethod
protected abstract com.mojang.serialization.MapCodec<? extends BasePressurePlateBlock>
a()
codec()
method_53969()
getCodec()
protected VoxelShape
a(dxv arg0, dgn arg1, jh arg2, fcd arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
protected int
b()
getPressedTime()
method_9563()
getTickRate()
public boolean
a(dxv arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
protected BlockState
a(dxv arg0, dhl arg1, dhx arg2, jh arg3, jm arg4, jh arg5, dxv arg6, bam arg7)
updateShape(BlockState arg0, LevelReader arg1, ScheduledTickAccess arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, RandomSource arg7)
method_9559(class_2680 arg0, class_4538 arg1, class_10225 arg2, class_2338 arg3, class_2350 arg4, class_2338 arg5, class_2680 arg6, class_5819 arg7)
getStateForNeighborUpdate(BlockState arg0, WorldView arg1, ScheduledTickView arg2, BlockPos arg3, Direction arg4, BlockPos arg5, BlockState arg6, Random arg7)
protected boolean
a(dxv arg0, dhl arg1, jh arg2)
canSurvive(BlockState arg0, LevelReader arg1, BlockPos arg2)
method_9558(class_2680 arg0, class_4538 arg1, class_2338 arg2)
canPlaceAt(BlockState arg0, WorldView arg1, BlockPos arg2)
protected void
a(dxv arg0, ash arg1, jh arg2, bam arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, RandomSource arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_5819 arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
protected void
a(dxv arg0, dhi arg1, jh arg2, bvk arg3)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3)
private void
a(bvk arg0, dhi arg1, jh arg2, dxv arg3, int arg4)
checkPressed(Entity arg0, Level arg1, BlockPos arg2, BlockState arg3, int arg4)
method_9433(class_1297 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, int arg4)
updatePlateState(Entity entity, World world, BlockPos pos, BlockState state, int output)
protected void
a(dxv arg0, dhi arg1, jh arg2, dxv arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
protected void
a(dhi arg0, jh arg1)
updateNeighbours(Level arg0, BlockPos arg1)
method_9437(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
protected int
a(dxv arg0, dgn arg1, jh arg2, jm arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected int
b(dxv arg0, dgn arg1, jh arg2, jm arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
protected boolean
f_(dxv arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected static int
a(dhi arg0, fbt arg1, Class<? extends bvk> arg2)
getEntityCount(Level arg0, AABB arg1, Class<? extends Entity> arg2)
method_52210(class_1937 arg0, class_238 arg1, Class<? extends class_1297> arg2)
getEntityCount(World world, Box box, Class<? extends Entity> entityClass)
protected abstract int
b(dhi arg0, jh arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World world, BlockPos pos)
protected abstract int
h(dxv arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
protected abstract BlockState
a(dxv arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState state, int rsOut)