Class BlockStateDrops
java.lang.Object
net.darkhax.botanypots.common.impl.data.itemdrops.LootTableDrops
net.darkhax.botanypots.common.impl.data.itemdrops.BlockDrops
net.darkhax.botanypots.common.impl.data.itemdrops.BlockStateDrops
- All Implemented Interfaces:
ItemDropProvider
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<BlockStateDrops> static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf, BlockStateDrops> -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateDrops(net.minecraft.world.level.block.state.BlockState state) BlockStateDrops(net.minecraft.world.level.block.state.BlockState state, net.minecraft.resources.ResourceLocation tableId, List<net.minecraft.world.item.ItemStack> displayItems) -
Method Summary
Methods inherited from class net.darkhax.botanypots.common.impl.data.itemdrops.BlockDrops
getBlock, getHarvestState, getLootParams, getTypeMethods inherited from class net.darkhax.botanypots.common.impl.data.itemdrops.LootTableDrops
apply, getDisplayItems, getTableId
-
Field Details
-
CODEC
-
STREAM
public static final net.minecraft.network.codec.StreamCodec<net.minecraft.network.RegistryFriendlyByteBuf,BlockStateDrops> STREAM
-
-
Constructor Details
-
BlockStateDrops
public BlockStateDrops(net.minecraft.world.level.block.state.BlockState state) -
BlockStateDrops
public BlockStateDrops(net.minecraft.world.level.block.state.BlockState state, net.minecraft.resources.ResourceLocation tableId, List<net.minecraft.world.item.ItemStack> displayItems)
-