Package net.minecraft.predicate.entity
Class EntityEquipmentPredicate
java.lang.Object
net.minecraft.predicate.entity.EntityEquipmentPredicate
public class EntityEquipmentPredicate extends Object
- Mappings:
Namespace Name official bd
intermediary net/minecraft/class_3735
named net/minecraft/predicate/entity/EntityEquipmentPredicate
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
EntityEquipmentPredicate.Builder
-
Field Summary
Fields Modifier and Type Field Description static EntityEquipmentPredicate
ANY
private ItemPredicate
chest
private ItemPredicate
feet
private ItemPredicate
head
private ItemPredicate
legs
private ItemPredicate
mainhand
private ItemPredicate
offhand
static EntityEquipmentPredicate
OMINOUS_BANNER_ON_HEAD
-
Constructor Summary
Constructors Constructor Description EntityEquipmentPredicate(ItemPredicate head, ItemPredicate chest, ItemPredicate legs, ItemPredicate feet, ItemPredicate mainhand, ItemPredicate offhand)
-
Method Summary
Modifier and Type Method Description static EntityEquipmentPredicate
fromJson(JsonElement json)
boolean
test(Entity entity)
JsonElement
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbd;a:Lbd;
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
- Mappings:
Namespace Name Mixin selector official b
Lbd;b:Lbd;
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;
-
head
- Mappings:
Namespace Name Mixin selector official c
Lbd;c:Lbq;
intermediary field_16483
Lnet/minecraft/class_3735;field_16483:Lnet/minecraft/class_2073;
named head
Lnet/minecraft/predicate/entity/EntityEquipmentPredicate;head:Lnet/minecraft/predicate/item/ItemPredicate;
-
chest
- Mappings:
Namespace Name Mixin selector official d
Lbd;d:Lbq;
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
- Mappings:
Namespace Name Mixin selector official e
Lbd;e:Lbq;
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
- Mappings:
Namespace Name Mixin selector official f
Lbd;f:Lbq;
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
- Mappings:
Namespace Name Mixin selector official g
Lbd;g:Lbq;
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
- Mappings:
Namespace Name Mixin selector official h
Lbd;h:Lbq;
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>
Lbd;<init>(Lbq;Lbq;Lbq;Lbq;Lbq;Lbq;)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
- Mappings:
Namespace Name Mixin selector official a
Lbd;a(Laqv;)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
Lbd;a(Lcom/google/gson/JsonElement;)Lbd;
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
- Mappings:
Namespace Name Mixin selector official a
Lbd;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;
-