extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetRandomPotionFunction | |
| net.minecraft.world.level.storage.loot.functions.SetRandomPotionFunction | |
| net.minecraft.class_1_72 | |
| net.minecraft.loot.function.SetRandomPotionLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetRandomPotionLootFunction> |
| ||||||||
| private final Optional<RegistryEntryList<Potion>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> predicates, Optional<RegistryEntryList<Potion>> options) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetRandomPotionLootFunction> |
| ||||||||
| public ItemStack |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
|