net.minecraft.world.level.block

public abstract class BasePressurePlateBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

cpc
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_
private final BlockSetType
d
type
field_42726
blockSetType
f_271167_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties settings, BlockSetType blockSetType)

Method summary

Modifier and TypeMethod
public VoxelShape
a(dcb arg0, cls arg1, gu arg2, een 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
a()
getPressedTime()
method_9563()
getTickRate()
m_7342_()
public boolean
a(dcb arg0)
isPossibleToRespawnInThis(BlockState arg0)
method_9538(class_2680 arg0)
canMobSpawnInside(BlockState arg0)
m_48673_(C_2064_ arg0)
public BlockState
a(dcb arg0, ha arg1, dcb arg2, cmn arg3, gu arg4, gu 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(dcb arg0, cmp arg1, gu 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(dcb arg0, aif arg1, gu arg2, apf 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(dcb arg0, cmm arg1, gu arg2, bfj 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)
private void
a(bfj arg0, cmm arg1, gu arg2, dcb 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)
public void
a(dcb arg0, cmm arg1, gu arg2, dcb 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(cmm arg0, gu 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(dcb arg0, cls arg1, gu arg2, ha 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(dcb arg0, cls arg1, gu arg2, ha 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_(dcb arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
m_7899_(C_2064_ arg0)
protected static int
a(cmm arg0, eed arg1, Class<? extends bfj> 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)
m_289607_(C_1596_ p_289656_, C_3040_ p_289647_, Class<? extends C_507_> p_289686_)
protected abstract int
b(cmm arg0, gu 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(dcb arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState state)
m_6016_(C_2064_ arg0)
protected abstract BlockState
a(dcb 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)