Uses of Record Class
net.minecraft.predicate.entity.EntityEffectPredicate.EffectData
-
Uses of EntityEffectPredicate.EffectData in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<EntityEffectPredicate.EffectData> EntityEffectPredicate.EffectData.CODEC
EntityEffectPredicate.Builder.effects
private final Map
<RegistryEntry<StatusEffect>, EntityEffectPredicate.EffectData> EntityEffectPredicate.effects
The field for theeffects
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.effects()
Returns the value of theeffects
record component.Modifier and TypeMethodDescriptionEntityEffectPredicate.Builder.addEffect
(RegistryEntry<StatusEffect> effect, EntityEffectPredicate.EffectData effectData) ModifierConstructorDescriptionCreates an instance of aEntityEffectPredicate
record class.