net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

ItemLike

cil
net.minecraft.world.level.block.BasePressurePlateBlock
net.minecraft.class_2231
net.minecraft.block.AbstractPressurePlateBlock
net.minecraft.src.C_1694_
net.minecraft.world.level.block.BlockPressurePlateAbstract

Field summary

Modifier and TypeField
protected static final VoxelShape
a
PRESSED_AABB
field_9942
PRESSED_SHAPE
f_49285_
protected static final VoxelShape
b
AABB
field_9943
DEFAULT_SHAPE
f_49286_
protected static final AABB
c
TOUCH_AABB
field_9941
BOX
f_49287_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(cur arg0, cfg arg1, gt arg2, dvy 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)
m_5940_(C_2064_ p_49342_, C_1559_ p_49343_, C_4675_ p_49344_, C_3051_ arg3)
protected int
b()
getPressedTime()
method_9563()
getTickRate()
m_7342_()
public boolean
Z_()
isPossibleToRespawnInThis()
method_9538()
canMobSpawnInside()
m_5568_()
public BlockState
a(cur arg0, gy arg1, cur arg2, cgb arg3, gt arg4, gt arg5)
updateShape(BlockState arg0, Direction arg1, BlockState arg2, LevelAccessor arg3, BlockPos arg4, BlockPos arg5)
method_9559(class_2680 arg0, class_2350 arg1, class_2680 arg2, class_1936 arg3, class_2338 arg4, class_2338 arg5)
getStateForNeighborUpdate(BlockState arg0, Direction arg1, BlockState arg2, WorldAccess arg3, BlockPos arg4, BlockPos arg5)
m_7417_(C_2064_ p_49330_, C_4687_ p_49331_, C_2064_ p_49332_, C_1598_ p_49333_, C_4675_ p_49334_, C_4675_ arg5)
public boolean
a(cur arg0, cgd arg1, gt 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)
m_7898_(C_2064_ p_49326_, C_1599_ p_49327_, C_4675_ arg2)
public void
a(cur arg0, afo arg1, gt arg2, alu 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)
m_213897_(C_2064_ p_220769_, C_12_ p_220770_, C_4675_ p_220771_, C_212974_ arg3)
public void
a(cur arg0, cga arg1, gt arg2, baq 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)
m_7892_(C_2064_ p_49315_, C_1596_ p_49316_, C_4675_ p_49317_, C_507_ arg3)
protected void
a(baq arg0, cga arg1, gt arg2, cur 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)
m_152143_(C_507_ p_152145_, C_1596_ p_152146_, C_4675_ p_152147_, C_2064_ p_152148_, int arg4)
protected abstract void
a(cgb arg0, gt arg1)
playOnSound(LevelAccessor arg0, BlockPos arg1)
method_9436(class_1936 arg0, class_2338 arg1)
playPressSound(WorldAccess world, BlockPos pos)
m_5494_(C_1598_ p_49300_, C_4675_ arg1)
protected abstract void
b(cgb arg0, gt arg1)
playOffSound(LevelAccessor arg0, BlockPos arg1)
method_9438(class_1936 arg0, class_2338 arg1)
playDepressSound(WorldAccess world, BlockPos pos)
m_5493_(C_1598_ p_49339_, C_4675_ arg1)
public void
a(cur arg0, cga arg1, gt arg2, cur 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)
m_6810_(C_2064_ p_49320_, C_1596_ p_49321_, C_4675_ p_49322_, C_2064_ p_49323_, boolean arg4)
protected void
a(cga arg0, gt arg1)
updateNeighbours(Level arg0, BlockPos arg1)
method_9437(class_1937 arg0, class_2338 arg1)
updateNeighbors(World world, BlockPos pos)
m_49291_(C_1596_ p_49293_, C_4675_ arg1)
public int
a(cur arg0, cfg arg1, gt arg2, gy 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)
m_6378_(C_2064_ p_49310_, C_1559_ p_49311_, C_4675_ p_49312_, C_4687_ arg3)
public int
b(cur arg0, cfg arg1, gt arg2, gy 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)
m_6376_(C_2064_ p_49347_, C_1559_ p_49348_, C_4675_ p_49349_, C_4687_ arg3)
public boolean
f_(cur arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
public PushReaction
d(cur arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
protected abstract int
b(cga arg0, gt arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World world, BlockPos pos)
m_6693_(C_1596_ p_49337_, C_4675_ arg1)
protected abstract int
g(cur arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
m_6016_(C_2064_ arg0)
protected abstract BlockState
a(cur arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState state, int rsOut)
m_7422_(C_2064_ p_49302_, int arg1)