net.minecraft.world.level.block

public class WeightedPressurePlateBlock

extends BasePressurePlateBlock

All mapped superinterfaces:

FeatureElement, ItemLike

dti
net.minecraft.world.level.block.WeightedPressurePlateBlock
net.minecraft.class_2557
net.minecraft.block.WeightedPressurePlateBlock
net.minecraft.world.level.block.BlockPressurePlateWeighted

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<WeightedPressurePlateBlock>
e
CODEC
field_46501
CODEC
public static final IntegerProperty
f
POWER
field_11739
POWER
private final int
g
maxWeight
field_11738
weight

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()
protected int
b(dgj arg0, ji arg1)
getSignalStrength(Level arg0, BlockPos arg1)
method_9434(class_1937 arg0, class_2338 arg1)
getRedstoneOutput(World arg0, BlockPos arg1)
protected int
h(dwy arg0)
getSignalForState(BlockState arg0)
method_9435(class_2680 arg0)
getRedstoneOutput(BlockState arg0)
protected BlockState
a(dwy arg0, int arg1)
setSignalForState(BlockState arg0, int arg1)
method_9432(class_2680 arg0, int arg1)
setRedstoneOutput(BlockState arg0, int arg1)
protected int
b()
getPressedTime()
method_9563()
getTickRate()
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)