Class BlockStateDrops

All Implemented Interfaces:
ItemDropProvider

public class BlockStateDrops extends BlockDrops
  • Field Details

    • TYPE

      public static final Supplier<ItemDropProviderType<?>> TYPE
    • CODEC

      public static final com.mojang.serialization.MapCodec<BlockStateDrops> 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)
  • Method Details