Interface PickupStrategy.Factory

Enclosing interface:
PickupStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface PickupStrategy.Factory
  • Method Summary

    Modifier and Type
    Method
    Description
    create(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos fromPos, net.minecraft.core.Direction fromSide, net.minecraft.world.level.block.entity.BlockEntity host, net.minecraft.world.item.enchantment.ItemEnchantments enchantments, @Nullable UUID owningPlayerId)
     
  • Method Details

    • create

      PickupStrategy create(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos fromPos, net.minecraft.core.Direction fromSide, net.minecraft.world.level.block.entity.BlockEntity host, net.minecraft.world.item.enchantment.ItemEnchantments enchantments, @Nullable @Nullable UUID owningPlayerId)