Class EntityEquipmentPredicate

java.lang.Object
net.minecraft.predicate.entity.EntityEquipmentPredicate

public class EntityEquipmentPredicate extends Object
Mappings:
Namespace Name
official bl
intermediary net/minecraft/class_3735
named net/minecraft/predicate/entity/EntityEquipmentPredicate
  • Field Details

    • ANY

      public static final EntityEquipmentPredicate ANY
      Mappings:
      Namespace Name Mixin selector
      official a Lbl;a:Lbl;
      intermediary field_16485 Lnet/minecraft/class_3735;field_16485:Lnet/minecraft/class_3735;
      named ANY Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;ANY:Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;
    • OMINOUS_BANNER_ON_HEAD

      public static final EntityEquipmentPredicate OMINOUS_BANNER_ON_HEAD
      Mappings:
      Namespace Name Mixin selector
      official b Lbl;b:Lbl;
      intermediary field_19240 Lnet/minecraft/class_3735;field_19240:Lnet/minecraft/class_3735;
      named OMINOUS_BANNER_ON_HEAD Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;OMINOUS_BANNER_ON_HEAD:Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;
    • chest

      private final ItemPredicate chest
      Mappings:
      Namespace Name Mixin selector
      official d Lbl;d:Lbz;
      intermediary field_16487 Lnet/minecraft/class_3735;field_16487:Lnet/minecraft/class_2073;
      named chest Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;chest:Lnet/minecraft/predicate/item/ItemPredicate;
    • legs

      private final ItemPredicate legs
      Mappings:
      Namespace Name Mixin selector
      official e Lbl;e:Lbz;
      intermediary field_16488 Lnet/minecraft/class_3735;field_16488:Lnet/minecraft/class_2073;
      named legs Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;legs:Lnet/minecraft/predicate/item/ItemPredicate;
    • feet

      private final ItemPredicate feet
      Mappings:
      Namespace Name Mixin selector
      official f Lbl;f:Lbz;
      intermediary field_16489 Lnet/minecraft/class_3735;field_16489:Lnet/minecraft/class_2073;
      named feet Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;feet:Lnet/minecraft/predicate/item/ItemPredicate;
    • mainhand

      private final ItemPredicate mainhand
      Mappings:
      Namespace Name Mixin selector
      official g Lbl;g:Lbz;
      intermediary field_16486 Lnet/minecraft/class_3735;field_16486:Lnet/minecraft/class_2073;
      named mainhand Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;mainhand:Lnet/minecraft/predicate/item/ItemPredicate;
    • offhand

      private final ItemPredicate offhand
      Mappings:
      Namespace Name Mixin selector
      official h Lbl;h:Lbz;
      intermediary field_16484 Lnet/minecraft/class_3735;field_16484:Lnet/minecraft/class_2073;
      named offhand Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;offhand:Lnet/minecraft/predicate/item/ItemPredicate;
  • Constructor Details

    • EntityEquipmentPredicate

      public EntityEquipmentPredicate(ItemPredicate head, ItemPredicate chest, ItemPredicate legs, ItemPredicate feet, ItemPredicate mainhand, ItemPredicate offhand)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbl;<init>(Lbz;Lbz;Lbz;Lbz;Lbz;Lbz;)V
      intermediary <init> Lnet/minecraft/class_3735;<init>(Lnet/minecraft/class_2073;Lnet/minecraft/class_2073;Lnet/minecraft/class_2073;Lnet/minecraft/class_2073;Lnet/minecraft/class_2073;Lnet/minecraft/class_2073;)V
      named <init> Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;<init>(Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/item/ItemPredicate;Lnet/minecraft/predicate/item/ItemPredicate;)V
  • Method Details

    • test

      public boolean test(@Nullable @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbl;a(Lbfj;)Z
      intermediary method_16226 Lnet/minecraft/class_3735;method_16226(Lnet/minecraft/class_1297;)Z
      named test Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;test(Lnet/minecraft/entity/Entity;)Z
    • fromJson

      Mappings:
      Namespace Name Mixin selector
      official a Lbl;a(Lcom/google/gson/JsonElement;)Lbl;
      intermediary method_16224 Lnet/minecraft/class_3735;method_16224(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_3735;
      named fromJson Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;
    • toJson

      public JsonElement toJson()
      Mappings:
      Namespace Name Mixin selector
      official a Lbl;a()Lcom/google/gson/JsonElement;
      intermediary method_16225 Lnet/minecraft/class_3735;method_16225()Lcom/google/gson/JsonElement;
      named toJson Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;toJson()Lcom/google/gson/JsonElement;