Package net.minecraft.predicate.entity
Class EntityFlagsPredicate
java.lang.Object
net.minecraft.predicate.entity.EntityFlagsPredicate
- Mappings:
Namespace Name official bl
intermediary net/minecraft/class_2040
named net/minecraft/predicate/entity/EntityFlagsPredicate
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EntityFlagsPredicate
fromJson
(@Nullable JsonElement json) nullableBooleanFromJson
(JsonObject json, String key) private void
nullableBooleanToJson
(JsonObject json, String key, @Nullable Boolean value) boolean
toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lbl;a:Lbl;
intermediary field_9581
Lnet/minecraft/class_2040;field_9581:Lnet/minecraft/class_2040;
named ANY
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;ANY:Lnet/minecraft/predicate/entity/EntityFlagsPredicate;
-
isOnFire
- Mappings:
Namespace Name Mixin selector official b
Lbl;b:Ljava/lang/Boolean;
intermediary field_9580
Lnet/minecraft/class_2040;field_9580:Ljava/lang/Boolean;
named isOnFire
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;isOnFire:Ljava/lang/Boolean;
-
isSneaking
- Mappings:
Namespace Name Mixin selector official c
Lbl;c:Ljava/lang/Boolean;
intermediary field_9582
Lnet/minecraft/class_2040;field_9582:Ljava/lang/Boolean;
named isSneaking
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;isSneaking:Ljava/lang/Boolean;
-
isSprinting
- Mappings:
Namespace Name Mixin selector official d
Lbl;d:Ljava/lang/Boolean;
intermediary field_9579
Lnet/minecraft/class_2040;field_9579:Ljava/lang/Boolean;
named isSprinting
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;isSprinting:Ljava/lang/Boolean;
-
isSwimming
- Mappings:
Namespace Name Mixin selector official e
Lbl;e:Ljava/lang/Boolean;
intermediary field_9578
Lnet/minecraft/class_2040;field_9578:Ljava/lang/Boolean;
named isSwimming
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;isSwimming:Ljava/lang/Boolean;
-
isBaby
- Mappings:
Namespace Name Mixin selector official f
Lbl;f:Ljava/lang/Boolean;
intermediary field_9583
Lnet/minecraft/class_2040;field_9583:Ljava/lang/Boolean;
named isBaby
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;isBaby:Ljava/lang/Boolean;
-
-
Constructor Details
-
EntityFlagsPredicate
public EntityFlagsPredicate(@Nullable @Nullable Boolean isOnFire, @Nullable @Nullable Boolean isSneaking, @Nullable @Nullable Boolean isSprinting, @Nullable @Nullable Boolean isSwimming, @Nullable @Nullable Boolean isBaby) - Mappings:
Namespace Name Mixin selector official <init>
Lbl;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
intermediary <init>
Lnet/minecraft/class_2040;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
named <init>
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;<init>(Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lbl;a(Lbfh;)Z
intermediary method_8892
Lnet/minecraft/class_2040;method_8892(Lnet/minecraft/class_1297;)Z
named test
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;test(Lnet/minecraft/entity/Entity;)Z
-
nullableBooleanFromJson
- Mappings:
Namespace Name Mixin selector official a
Lbl;a(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean;
intermediary method_8895
Lnet/minecraft/class_2040;method_8895(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean;
named nullableBooleanFromJson
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;nullableBooleanFromJson(Lcom/google/gson/JsonObject;Ljava/lang/String;)Ljava/lang/Boolean;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lbl;a(Lcom/google/gson/JsonElement;)Lbl;
intermediary method_8893
Lnet/minecraft/class_2040;method_8893(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_2040;
named fromJson
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/EntityFlagsPredicate;
-
nullableBooleanToJson
- Mappings:
Namespace Name Mixin selector official a
Lbl;a(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Boolean;)V
intermediary method_8896
Lnet/minecraft/class_2040;method_8896(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Boolean;)V
named nullableBooleanToJson
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;nullableBooleanToJson(Lcom/google/gson/JsonObject;Ljava/lang/String;Ljava/lang/Boolean;)V
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lbl;a()Lcom/google/gson/JsonElement;
intermediary method_8894
Lnet/minecraft/class_2040;method_8894()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/EntityFlagsPredicate;toJson()Lcom/google/gson/JsonElement;
-