net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

ItemLike

bzd
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(cks arg0, bvt arg1, gg arg2, dnf 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
c()
getPressedTime()
method_9563()
getTickRate()
m_7342_()
public boolean
W_()
isPossibleToRespawnInThis()
method_9538()
canMobSpawnInside()
m_5568_()
public BlockState
a(cks arg0, gl arg1, cks arg2, bwq arg3, gg arg4, gg 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)
updateState(IBlockData arg0, EnumDirection arg1, IBlockData arg2, GeneratorAccess arg3, BlockPosition arg4, BlockPosition arg5)
public boolean
a(cks arg0, bws arg1, gg 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)
canPlace(IBlockData arg0, IWorldReader arg1, BlockPosition arg2)
public void
a(cks arg0, abr arg1, gg arg2, Random arg3)
tick(BlockState arg0, ServerLevel arg1, BlockPos arg2, Random arg3)
method_9588(class_2680 arg0, class_3218 arg1, class_2338 arg2, Random arg3)
scheduledTick(BlockState arg0, ServerWorld arg1, BlockPos arg2, Random arg3)
m_7458_(C_2064_ p_49305_, C_12_ p_49306_, C_4675_ p_49307_, Random arg3)
tickAlways(IBlockData arg0, WorldServer arg1, BlockPosition arg2, Random arg3)
public void
a(cks arg0, bwp arg1, gg arg2, atf 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(atf arg0, bwp arg1, gg arg2, cks 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(bwq arg0, gg 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(bwq arg0, gg 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(cks arg0, bwp arg1, gg arg2, cks 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)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
protected void
a(bwp arg0, gg 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(cks arg0, bvt arg1, gg arg2, gl 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(cks arg0, bvt arg1, gg arg2, gl 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_(cks arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
isPowerSource(IBlockData arg0)
public PushReaction
d(cks arg0)
getPistonPushReaction(BlockState arg0)
method_9527(class_2680 arg0)
getPistonBehavior(BlockState arg0)
m_5537_(C_2064_ arg0)
getPushReaction(IBlockData arg0)
protected abstract int
b(bwp arg0, gg 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(cks arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
m_6016_(C_2064_ arg0)
getPower(IBlockData arg0)
protected abstract BlockState
a(cks 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)