Package net.minecraft.predicate.entity
Class LightningBoltPredicate
java.lang.Object
net.minecraft.predicate.entity.LightningBoltPredicate
- All Implemented Interfaces:
TypeSpecificPredicate
- Mappings:
Namespace Name official cf
intermediary net/minecraft/class_6404
named net/minecraft/predicate/entity/LightningBoltPredicate
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
TypeSpecificPredicate.Deserializer, TypeSpecificPredicate.Deserializers
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private final NumberRange.IntRange
private static final String
private final EntityPredicate
Fields inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
ANY
-
Constructor Summary
ModifierConstructorDescriptionprivate
LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, EntityPredicate entityStruck) -
Method Summary
Modifier and TypeMethodDescriptionstatic LightningBoltPredicate
fromJson
(JsonObject json) static LightningBoltPredicate
of
(NumberRange.IntRange blocksSetOnFire) boolean
test
(Entity entity, ServerWorld world, @Nullable Vec3d pos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.predicate.entity.TypeSpecificPredicate
toJson
-
Field Details
-
BLOCKS_SET_ON_FIRE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lcf;b:Ljava/lang/String;
intermediary field_33921
Lnet/minecraft/class_6404;field_33921:Ljava/lang/String;
named BLOCKS_SET_ON_FIRE_KEY
Lnet/minecraft/predicate/entity/LightningBoltPredicate;BLOCKS_SET_ON_FIRE_KEY:Ljava/lang/String;
-
ENTITY_STRUCK_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcf;c:Ljava/lang/String;
intermediary field_33922
Lnet/minecraft/class_6404;field_33922:Ljava/lang/String;
named ENTITY_STRUCK_KEY
Lnet/minecraft/predicate/entity/LightningBoltPredicate;ENTITY_STRUCK_KEY:Ljava/lang/String;
-
blocksSetOnFire
- Mappings:
Namespace Name Mixin selector official d
Lcf;d:Lcj$d;
intermediary field_33923
Lnet/minecraft/class_6404;field_33923:Lnet/minecraft/class_2096$class_2100;
named blocksSetOnFire
Lnet/minecraft/predicate/entity/LightningBoltPredicate;blocksSetOnFire:Lnet/minecraft/predicate/NumberRange$IntRange;
-
entityStruck
- Mappings:
Namespace Name Mixin selector official e
Lcf;e:Lbo;
intermediary field_33924
Lnet/minecraft/class_6404;field_33924:Lnet/minecraft/class_2048;
named entityStruck
Lnet/minecraft/predicate/entity/LightningBoltPredicate;entityStruck:Lnet/minecraft/predicate/entity/EntityPredicate;
-
-
Constructor Details
-
LightningBoltPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Lcf;<init>(Lcj$d;Lbo;)V
intermediary <init>
Lnet/minecraft/class_6404;<init>(Lnet/minecraft/class_2096$class_2100;Lnet/minecraft/class_2048;)V
named <init>
Lnet/minecraft/predicate/entity/LightningBoltPredicate;<init>(Lnet/minecraft/predicate/NumberRange$IntRange;Lnet/minecraft/predicate/entity/EntityPredicate;)V
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector official a
Lcf;a(Lcj$d;)Lcf;
intermediary method_37237
Lnet/minecraft/class_6404;method_37237(Lnet/minecraft/class_2096$class_2100;)Lnet/minecraft/class_6404;
named of
Lnet/minecraft/predicate/entity/LightningBoltPredicate;of(Lnet/minecraft/predicate/NumberRange$IntRange;)Lnet/minecraft/predicate/entity/LightningBoltPredicate;
-
fromJson
- Mappings:
Namespace Name Mixin selector official a
Lcf;a(Lcom/google/gson/JsonObject;)Lcf;
intermediary method_37238
Lnet/minecraft/class_6404;method_37238(Lcom/google/gson/JsonObject;)Lnet/minecraft/class_6404;
named fromJson
Lnet/minecraft/predicate/entity/LightningBoltPredicate;fromJson(Lcom/google/gson/JsonObject;)Lnet/minecraft/predicate/entity/LightningBoltPredicate;
-
typeSpecificToJson
- Specified by:
typeSpecificToJson
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbp;a()Lcom/google/gson/JsonObject;
intermediary method_22494
Lnet/minecraft/class_7376;method_22494()Lcom/google/gson/JsonObject;
named typeSpecificToJson
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;typeSpecificToJson()Lcom/google/gson/JsonObject;
-
getDeserializer
- Specified by:
getDeserializer
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official c
Lbp;c()Lbp$a;
intermediary method_43099
Lnet/minecraft/class_7376;method_43099()Lnet/minecraft/class_7376$class_7377;
named getDeserializer
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;getDeserializer()Lnet/minecraft/predicate/entity/TypeSpecificPredicate$Deserializer;
-
test
- Specified by:
test
in interfaceTypeSpecificPredicate
- Mappings:
Namespace Name Mixin selector official a
Lbp;a(Lbbn;Lagg;Ldwq;)Z
intermediary method_22497
Lnet/minecraft/class_7376;method_22497(Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
named test
Lnet/minecraft/predicate/entity/TypeSpecificPredicate;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
-