Class EntityEffectPredicate.Builder

java.lang.Object
net.minecraft.predicate.entity.EntityEffectPredicate.Builder
Enclosing class:
EntityEffectPredicate

public static class EntityEffectPredicate.Builder extends Object
Mappings:
Namespace Name
official cm$a
intermediary net/minecraft/class_2102$class_8748
named net/minecraft/predicate/entity/EntityEffectPredicate$Builder
  • Field Details

    • EFFECTS

      Mappings:
      Namespace Name Mixin selector
      official a Lcm$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_45765 Lnet/minecraft/class_2102$class_8748;field_45765:Lcom/google/common/collect/ImmutableMap$Builder;
      named EFFECTS Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;EFFECTS:Lcom/google/common/collect/ImmutableMap$Builder;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • create

      public static EntityEffectPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lcm$a;a()Lcm$a;
      intermediary method_53200 Lnet/minecraft/class_2102$class_8748;method_53200()Lnet/minecraft/class_2102$class_8748;
      named create Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;create()Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;
    • addEffect

      public EntityEffectPredicate.Builder addEffect(StatusEffect effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lcm$a;a(Lbib;)Lcm$a;
      intermediary method_53201 Lnet/minecraft/class_2102$class_8748;method_53201(Lnet/minecraft/class_1291;)Lnet/minecraft/class_2102$class_8748;
      named addEffect Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;addEffect(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;
    • addEffect

      Mappings:
      Namespace Name Mixin selector
      official a Lcm$a;a(Lbib;Lcm$b;)Lcm$a;
      intermediary method_53202 Lnet/minecraft/class_2102$class_8748;method_53202(Lnet/minecraft/class_1291;Lnet/minecraft/class_2102$class_2103;)Lnet/minecraft/class_2102$class_8748;
      named addEffect Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;addEffect(Lnet/minecraft/entity/effect/StatusEffect;Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;)Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;
    • build

      Mappings:
      Namespace Name Mixin selector
      official b Lcm$a;b()Ljava/util/Optional;
      intermediary method_53203 Lnet/minecraft/class_2102$class_8748;method_53203()Ljava/util/Optional;
      named build Lnet/minecraft/predicate/entity/EntityEffectPredicate$Builder;build()Ljava/util/Optional;