extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetPotionFunction | |
| net.minecraft.world.level.storage.loot.functions.SetPotionFunction | |
| net.minecraft.class_6662 | |
| net.minecraft.loot.function.SetPotionLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetPotionLootFunction> |
| ||||||||
| private final RegistryEntry<Potion> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, RegistryEntry<Potion> potion) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetPotionLootFunction> |
| ||||||||
| public ItemStack |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
|