net.minecraft.world.level.block

public class DropExperienceBlock

extends Block

All mapped superinterfaces:

FeatureElement, ItemLike

dly
net.minecraft.world.level.block.DropExperienceBlock
net.minecraft.class_2431
net.minecraft.block.ExperienceDroppingBlock
net.minecraft.world.level.block.DropExperienceBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<DropExperienceBlock>
a
CODEC
field_46340
CODEC
private final IntProvider
b
xpRange
field_27195
experienceDropped

Constructor summary

ModifierConstructor
public (IntProvider experienceDropped, BlockBehaviour$Properties settings)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<? extends DropExperienceBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dwy arg0, ard arg1, ji arg2, cwq arg3, boolean arg4)
spawnAfterBreak(BlockState arg0, ServerLevel arg1, BlockPos arg2, ItemStack arg3, boolean arg4)
method_9565(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1799 arg3, boolean arg4)
onStacksDropped(BlockState arg0, ServerWorld arg1, BlockPos arg2, ItemStack arg3, boolean arg4)