Class EntityEquipmentPredicate

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

public class EntityEquipmentPredicate extends Object
Mappings:
Namespace Name
official bj
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 Lbj;a:Lbj;
      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 Lbj;b:Lbj;
      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 Lbj;d:Lbw;
      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 Lbj;e:Lbw;
      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 Lbj;f:Lbw;
      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 Lbj;g:Lbw;
      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 Lbj;h:Lbw;
      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> Lbj;<init>(Lbw;Lbw;Lbw;Lbw;Lbw;Lbw;)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 Lbj;a(Latf;)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

      public static EntityEquipmentPredicate fromJson(@Nullable @Nullable JsonElement json)
      Mappings:
      Namespace Name Mixin selector
      official a Lbj;a(Lcom/google/gson/JsonElement;)Lbj;
      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 Lbj;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;