net.minecraft.world.level.block

public class WeightedPressurePlateBlock

extends BasePressurePlateBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dpp
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 com.mojang.serialization.MapCodec<WeightedPressurePlateBlock>
e
CODEC
field_46501
CODEC
f_302690_
public static final IntegerProperty
f
POWER
field_11739
POWER
f_58198_
private final int
g
maxWeight
field_11738
weight
f_58199_

Constructor summary

ModifierConstructor
protected (int weight, BlockSetType type, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<WeightedPressurePlateBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected int
b(dcw arg0, jd 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 int
g(dtc arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState arg0)
m_6016_(C_2064_ arg0)
protected BlockState
a(dtc 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(dtd$a<dfy, dtc> 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_2065_$C_2066_<C_1706_, C_2064_> arg0)