net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

djb
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(dwy arg0, dfo arg1, ji arg2, fbg 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(dwy arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
protected BlockState
a(dwy arg0, dgm arg1, dgy arg2, ji arg3, jn arg4, ji arg5, dwy arg6, azh 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(dwy arg0, dgm arg1, ji 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(dwy arg0, ard arg1, ji arg2, azh 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(dwy arg0, dgj arg1, ji arg2, bum 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(bum arg0, dgj arg1, ji arg2, dwy 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(dwy arg0, dgj arg1, ji arg2, dwy 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(dgj arg0, ji arg1)
updateNeighbours(Level arg0, BlockPos arg1)
method_9437(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
protected int
a(dwy arg0, dfo arg1, ji arg2, jn 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(dwy arg0, dfo arg1, ji arg2, jn 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_(dwy arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected static int
a(dgj arg0, faw arg1, Class<? extends bum> 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(dgj arg0, ji arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World world, BlockPos pos)
protected abstract int
h(dwy arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
protected abstract BlockState
a(dwy arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState state, int rsOut)