net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dms
net.minecraft.world.level.block.BasePressurePlateBlock
net.minecraft.class_2231
net.minecraft.block.AbstractPressurePlateBlock

Field summary

Modifier and TypeField
private static final VoxelShape
c
SHAPE_PRESSED
field_9942
PRESSED_SHAPE
private static final VoxelShape
d
SHAPE
field_9943
DEFAULT_SHAPE
protected static final AABB
a
TOUCH_AABB
field_9941
BOX
protected final BlockSetType
b
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(ebg arg0, djd arg1, iw arg2, ffx 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(ebg arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
protected BlockState
a(ebg arg0, dkc arg1, dko arg2, iw arg3, jc arg4, iw arg5, ebg arg6, azz 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(ebg arg0, dkc arg1, iw 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(ebg arg0, aru arg1, iw arg2, azz 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(ebg arg0, djz arg1, iw arg2, bwv arg3, bxo arg4)
entityInside(BlockState arg0, Level arg1, BlockPos arg2, Entity arg3, InsideBlockEffectApplier arg4)
method_9548(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1297 arg3, class_10774 arg4)
onEntityCollision(BlockState arg0, World arg1, BlockPos arg2, Entity arg3, EntityCollisionHandler arg4)
private void
a(bwv arg0, djz arg1, iw arg2, ebg 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(ebg arg0, aru arg1, iw arg2, boolean arg3)
affectNeighborsAfterRemoval(BlockState arg0, ServerLevel arg1, BlockPos arg2, boolean arg3)
method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3)
onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3)
protected void
a(djz arg0, iw arg1)
updateNeighbours(Level arg0, BlockPos arg1)
method_9437(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
protected int
a(ebg arg0, djd arg1, iw arg2, jc 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(ebg arg0, djd arg1, iw arg2, jc 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_(ebg arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
protected static int
a(djz arg0, ffn arg1, Class<? extends bwv> 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(djz arg0, iw arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World world, BlockPos pos)
protected abstract int
h(ebg arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
protected abstract BlockState
a(ebg arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState state, int rsOut)