extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction | |
| net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction | |
| net.minecraft.class_109 | |
| net.minecraft.loot.function.EnchantRandomlyLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private static final org.slf4j.Logger |
| ||||||||
| public static final com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction> |
| ||||||||
| private final Optional<RegistryEntryList<Enchantment>> |
| ||||||||
| private final boolean |
| ||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (Optional<RegistryEntry<LootCondition>> conditions, Optional<RegistryEntryList<Enchantment>> options, boolean onlyCompatible, boolean includeAdditionalCostComponent) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<EnchantRandomlyLootFunction> |
| ||||||||
| public Set<ContextParameter<?>> |
| ||||||||
| public ItemStack |
| ||||||||
| private ItemStack |
| ||||||||
| public static EnchantRandomlyLootFunction$Builder |
| ||||||||
| public static EnchantRandomlyLootFunction$Builder |
|