extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
exs | |
net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction | |
net.minecraft.class_109 | |
net.minecraft.loot.function.EnchantRandomlyLootFunction | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionEnchant |
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 |
|