extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
fdp | |
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction | |
net.minecraft.class_5642 |
Field summary
Modifier and Type | Field | ||||||
---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<SetEnchantmentsFunction> |
| ||||||
private final Map<Holder<Enchantment>, NumberProvider> |
| ||||||
private final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
(List<LootItemCondition> arg0, Map<Holder<Enchantment>, NumberProvider> arg1, boolean arg2) |
Method summary
Modifier and Type | Method | ||||||
---|---|---|---|---|---|---|---|
public LootItemFunctionType<SetEnchantmentsFunction> |
| ||||||
public Set<ContextKey<?>> |
| ||||||
public ItemStack |
|