extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eyp | |
net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction | |
net.minecraft.class_5642 | |
net.minecraft.unmapped.C_bpyfibfg | |
net.minecraft.loot.function.SetEnchantmentsLootFunction | |
net.minecraft.loot.function.SetEnchantmentsLootFunction | |
net.minecraft.src.C_141470_ | |
net.minecraft.world.level.storage.loot.functions.SetCustomModelDataFunction |
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> conditions, Map<Holder<Enchantment>, NumberProvider> enchantments, boolean add) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<SetEnchantmentsFunction> |
| ||||||||||||||
public Set<ContextKey<?>> |
| ||||||||||||||
public ItemStack |
|