extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| ffk | |
| net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction | |
| net.minecraft.class_5642 | |
| net.minecraft.loot.function.SetEnchantmentsLootFunction | |
| net.minecraft.unmapped.C_bpyfibfg | |
| net.minecraft.loot.function.SetEnchantmentsLootFunction | |
| net.minecraft.src.C_141470_ |
Field summary
| Modifier and Type | Field | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetEnchantmentsLootFunction> |
| ||||||||||||||
| private final Map<RegistryEntry<Enchantment>, LootNumberProvider> |
| ||||||||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootCondition> conditions, Map<RegistryEntry<Enchantment>, LootNumberProvider> enchantments, boolean add) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootFunctionType<SetEnchantmentsLootFunction> |
| ||||||||||||||
| public Set<ContextParameter<?>> |
| ||||||||||||||
| public ItemStack |
|