net.minecraft.world.level.block

public class WeightedPressurePlateBlock

extends BasePressurePlateBlock

All mapped superinterfaces:

ItemLike

csq
net.minecraft.world.level.block.WeightedPressurePlateBlock
net.minecraft.class_2557
net.minecraft.block.WeightedPressurePlateBlock
net.minecraft.src.C_1965_
net.minecraft.world.level.block.BlockPressurePlateWeighted

Field summary

Modifier and TypeField
public static final IntegerProperty
d
POWER
field_11739
POWER
f_58198_
private final int
e
maxWeight
field_11738
weight
f_58199_

Constructor summary

ModifierConstructor
protected (int weight, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
protected int
b(cgx arg0, gt arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World arg0, BlockPos arg1)
m_6693_(C_1596_ p_58214_, C_4675_ arg1)
protected void
a(cgy arg0, gt arg1)
playOnSound(LevelAccessor arg0, BlockPos arg1)
method_9436(class_1936 arg0, class_2338 arg1)
playPressSound(WorldAccess arg0, BlockPos arg1)
m_5494_(C_1598_ p_58206_, C_4675_ arg1)
protected void
b(cgy arg0, gt arg1)
playOffSound(LevelAccessor arg0, BlockPos arg1)
method_9438(class_1936 arg0, class_2338 arg1)
playDepressSound(WorldAccess arg0, BlockPos arg1)
m_5493_(C_1598_ p_58217_, C_4675_ arg1)
protected int
g(cvo arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState arg0)
m_6016_(C_2064_ arg0)
protected BlockState
a(cvo arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState arg0, int arg1)
m_7422_(C_2064_ p_58209_, int arg1)
protected int
b()
getPressedTime()
method_9563()
getTickRate()
m_7342_()
protected void
a(cvp$a<cjt, cvo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2066_<C_1706_, C_2064_> arg0)