implements SingleComponentItemPredicate<PotionContents>
| ky | |
| net.minecraft.core.component.predicates.PotionsPredicate | |
| net.minecraft.class_9359 | |
| net.minecraft.predicate.item.PotionContentsPredicate |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private final HolderSet<Potion> |
| ||||||||
| public static final com.mojang.serialization.Codec<PotionsPredicate> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (HolderSet<Potion> potions) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public DataComponentType<PotionContents> |
| ||||||||
| public boolean |
| ||||||||
| public static DataComponentPredicate |
| ||||||||
| public HolderSet<Potion> |
|