Package net.minecraft.predicate.entity
Class EntityEffectPredicate.EffectData
java.lang.Object
net.minecraft.predicate.entity.EntityEffectPredicate.EffectData
- Enclosing class:
EntityEffectPredicate
- Mappings:
Namespace Name official ck$a
intermediary net/minecraft/class_2102$class_2103
named net/minecraft/predicate/entity/EntityEffectPredicate$EffectData
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberRange.IntRange
private final NumberRange.IntRange
-
Constructor Summary
ConstructorDescriptionEffectData
(NumberRange.IntRange amplifier, NumberRange.IntRange duration, @Nullable Boolean ambient, @Nullable Boolean visible) -
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject json) boolean
test
(@Nullable StatusEffectInstance statusEffectInstance) toJson()
-
Field Details
-
amplifier
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a:Lcj$d;
intermediary field_9711
Lnet/minecraft/class_2102$class_2103;field_9711:Lnet/minecraft/class_2096$class_2100;
named amplifier
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;amplifier:Lnet/minecraft/predicate/NumberRange$IntRange;
-
duration
- Mappings:
Namespace Name Mixin selector official b
Lck$a;b:Lcj$d;
intermediary field_9713
Lnet/minecraft/class_2102$class_2103;field_9713:Lnet/minecraft/class_2096$class_2100;
named duration
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;duration:Lnet/minecraft/predicate/NumberRange$IntRange;
-
ambient
- Mappings:
Namespace Name Mixin selector official c
Lck$a;c:Ljava/lang/Boolean;
intermediary field_9714
Lnet/minecraft/class_2102$class_2103;field_9714:Ljava/lang/Boolean;
named ambient
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;ambient:Ljava/lang/Boolean;
-
visible
- Mappings:
Namespace Name Mixin selector official d
Lck$a;d:Ljava/lang/Boolean;
intermediary field_9712
Lnet/minecraft/class_2102$class_2103;field_9712:Ljava/lang/Boolean;
named visible
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;visible:Ljava/lang/Boolean;
-
-
Constructor Details
-
EffectData
public EffectData(NumberRange.IntRange amplifier, NumberRange.IntRange duration, @Nullable @Nullable Boolean ambient, @Nullable @Nullable Boolean visible) - Mappings:
Namespace Name Mixin selector official <init>
Lck$a;<init>(Lcj$d;Lcj$d;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
intermediary <init>
Lnet/minecraft/class_2102$class_2103;<init>(Lnet/minecraft/class_2096$class_2100;Lnet/minecraft/class_2096$class_2100;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
named <init>
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;Lnet/minecraft/predicate/NumberRange$IntRange;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
-
EffectData
public EffectData()
-
-
Method Details
-
test
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a(Lbfa;)Z
intermediary method_9069
Lnet/minecraft/class_2102$class_2103;method_9069(Lnet/minecraft/class_1293;)Z
named test
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;test(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a()Lcom/google/gson/JsonElement;
intermediary method_9071
Lnet/minecraft/class_2102$class_2103;method_9071()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;toJson()Lcom/google/gson/JsonElement;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lck$a;a(Lcom/google/gson/JsonObject;)Lck$a;
intermediary method_9070
Lnet/minecraft/class_2102$class_2103;method_9070(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_2102$class_2103;
named fromJson
Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/predicate/entity/EntityEffectPredicate$EffectData;
-