extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| fnx | |
| 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<EnchantRandomlyFunction> |
| ||||||||
| private final Optional<HolderSet<Enchantment>> |
| ||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| (List<LootItemCondition> conditions, Optional<HolderSet<Enchantment>> options, boolean onlyCompatible) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType<EnchantRandomlyFunction> |
| ||||||||
| public ItemStack |
| ||||||||
| private static ItemStack |
| ||||||||
| public static EnchantRandomlyFunction$Builder |
| ||||||||
| public static EnchantRandomlyFunction$Builder |
|