Class LightningBoltPredicate

java.lang.Object
net.minecraft.predicate.entity.LightningBoltPredicate

public class LightningBoltPredicate extends Object
Mappings:
Namespace Name
official ce
intermediary net/minecraft/class_6404
named net/minecraft/predicate/entity/LightningBoltPredicate
  • Field Details

    • ANY

      public static final LightningBoltPredicate 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

      private static final String 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

      private static final 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

      private final NumberRange.IntRange 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

      private final EntityPredicate 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

      private LightningBoltPredicate(NumberRange.IntRange blocksSetOnFire, EntityPredicate entityStruck)
      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

      public static LightningBoltPredicate of(NumberRange.IntRange blocksSetOnFire)
      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

      public static LightningBoltPredicate fromJson(@Nullable @Nullable JsonElement json)
      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

      public JsonElement 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

      public boolean test(Entity lightningBolt, ServerWorld world, @Nullable @Nullable Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official a Lce;a(Lawt;Ladi;Ldom;)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