extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| 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 |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, Optional<RegistryEntryList<Enchantment>> options, boolean onlyCompatible) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public LootFunctionType<EnchantRandomlyLootFunction> |
|
||||||
| public ItemStack |
|
||||||
| private static ItemStack |
|
||||||
| public static EnchantRandomlyLootFunction$Builder |
|
||||||
| public static EnchantRandomlyLootFunction$Builder |
|
||||||
| private static boolean |
|
||||||
| private static Stream |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|
||||||
| private static Boolean |
|
||||||
| private static Optional |
|