Package net.minecraft.predicate.entity
Class LightningBoltPredicate
java.lang.Object
net.minecraft.predicate.entity.LightningBoltPredicate
- Mappings:
Namespace Name official ce
intermediary net/minecraft/class_6404
named net/minecraft/predicate/entity/LightningBoltPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final LightningBoltPredicate
private static final String
private final NumberRange.IntRange
private static final String
private final EntityPredicate
-
Constructor Summary
ModifierConstructorDescriptionprivate
LightningBoltPredicate
(NumberRange.IntRange blocksSetOnFire, EntityPredicate entityStruck) -
Method Summary
Modifier and TypeMethodDescriptionstatic LightningBoltPredicate
fromJson
(@Nullable JsonElement json) static LightningBoltPredicate
of
(NumberRange.IntRange blocksSetOnFire) boolean
test
(Entity lightningBolt, ServerWorld world, @Nullable Vec3d vec3d) toJson()
-
Field Details
-
ANY
- Mappings:
Namespace Name Mixin selector official a
Lce;a:Lce;
intermediary field_33920
Lnet/minecraft/class_6404;field_33920:Lnet/minecraft/class_6404;
named ANY
Lnet/minecraft/predicate/entity/LightningBoltPredicate;ANY:Lnet/minecraft/predicate/entity/LightningBoltPredicate;
-
BLOCKS_SET_ON_FIRE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lce;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
Lce;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
Lce;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
Lce;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>
Lce;<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
Lce;a(Lcj$d;)Lce;
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
Lce;a(Lcom/google/gson/JsonElement;)Lce;
intermediary method_37238
Lnet/minecraft/class_6404;method_37238(Lcom/google/gson/JsonElement;)Lnet/minecraft/class_6404;
named fromJson
Lnet/minecraft/predicate/entity/LightningBoltPredicate;fromJson(Lcom/google/gson/JsonElement;)Lnet/minecraft/predicate/entity/LightningBoltPredicate;
-
toJson
- Mappings:
Namespace Name Mixin selector official a
Lce;a()Lcom/google/gson/JsonElement;
intermediary method_37234
Lnet/minecraft/class_6404;method_37234()Lcom/google/gson/JsonElement;
named toJson
Lnet/minecraft/predicate/entity/LightningBoltPredicate;toJson()Lcom/google/gson/JsonElement;
-
test
- Mappings:
Namespace Name Mixin selector official a
Lce;a(Laxk;Ladw;Ldpo;)Z
intermediary method_37236
Lnet/minecraft/class_6404;method_37236(Lnet/minecraft/class_1297;Lnet/minecraft/class_3218;Lnet/minecraft/class_243;)Z
named test
Lnet/minecraft/predicate/entity/LightningBoltPredicate;test(Lnet/minecraft/entity/Entity;Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/Vec3d;)Z
-