History - net.minecraft.predicate.item.PotionContentsPredicate

26.3-snapshot-3

Names

Fields

RegistryEntryList<Potion>: potions, comp_2461, potions

Optional<RegistryEntryList<Potion>>: potions, comp_2461, potions

Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>>: effects, comp_1_1311, effects

PacketCodec<RegistryByteBuf, PotionContentsPredicate>: STREAM_CODEC, field_1_8717, PACKET_CODEC

Constructors

(RegistryEntryList<Potion>)

(Optional<RegistryEntryList<Potion>>, Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>>)

Methods

ComponentPredicate (RegistryEntryList<Potion>): potions, method_58178, potionContents

RegistryEntryList<Potion> (): potions, comp_2461, potions

PotionContentsPredicate (RegistryEntryList<Potion>): ofPotions, method_58178, potionContents

PotionContentsPredicate (RegistryEntry<Potion>): ofPotion, method_1_8158, potionContents

Optional<RegistryEntryList<Potion>> (): potions, comp_2461, potions

Optional<CollectionPredicate<StatusEffectInstance, EntityEffectPredicate>> (): effects, comp_1_1311, effects

com.mojang.datafixers.kinds.App (com.mojang.serialization.codecs.RecordCodecBuilder$Instance): lambda$static$0, method_1_8157, method_1_8157

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

Constructors

Methods

1.21.11_unobfuscated

Names

net.minecraft.core.component.predicates.PotionsPredicate

net.minecraft.class_9359

net.minecraft.predicate.item.PotionContentsPredicate

Fields

RegistryEntryList<Potion>: potions, comp_2461, potions

com.mojang.serialization.Codec<PotionContentsPredicate>: CODEC, field_49802, CODEC

Constructors

(RegistryEntryList<Potion>)

Methods

ComponentType<PotionContentsComponent> (): componentType, method_58163, getComponentType

boolean (PotionContentsComponent): matches, method_58177, test

ComponentPredicate (RegistryEntryList<Potion>): potions, method_58178, potionContents

RegistryEntryList<Potion> (): potions, comp_2461, potions

boolean (Object): matches, method_58167, test