implements ComponentSubPredicate<PotionContentsComponent>
| net.minecraft.core.component.predicates.PotionsPredicate | |
| net.minecraft.core.component.predicates.PotionsPredicate | |
| net.minecraft.class_9359 | |
| net.minecraft.predicate.item.PotionContentsPredicate |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private final Optional<RegistryEntryList<Potion>> |
| ||||||||
| private final Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>> |
| ||||||||
| public static final com.mojang.serialization.Codec<PotionContentsPredicate> |
| ||||||||
| public static final PacketCodec<RegistryByteBuf, PotionContentsPredicate> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (Optional<RegistryEntryList<Potion>> potions, Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>> effects) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public ComponentType<PotionContentsComponent> |
| ||||||||
| public boolean |
| ||||||||
| public static PotionContentsPredicate |
| ||||||||
| public static PotionContentsPredicate |
| ||||||||
| public Optional<RegistryEntryList<Potion>> |
| ||||||||
| public Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>> |
|