Class LightningEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LightningEntity
All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class LightningEntity extends Entity
Mappings:
Namespace Name
official ats
intermediary net/minecraft/class_1538
named net/minecraft/entity/LightningEntity
  • Field Details

    • field_30062

      private static final int field_30062
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c:I
      intermediary field_30062 Lnet/minecraft/class_1538;field_30062:I
      named field_30062 Lnet/minecraft/entity/LightningEntity;field_30062:I
    • field_33906

      private static final double field_33906
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Lats;d:D
      intermediary field_33906 Lnet/minecraft/class_1538;field_33906:D
      named field_33906 Lnet/minecraft/entity/LightningEntity;field_33906:D
    • field_33907

      private static final double field_33907
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Lats;e:D
      intermediary field_33907 Lnet/minecraft/class_1538;field_33907:D
      named field_33907 Lnet/minecraft/entity/LightningEntity;field_33907:D
    • ambientTick

      private int ambientTick
      Mappings:
      Namespace Name Mixin selector
      official f Lats;f:I
      intermediary field_7185 Lnet/minecraft/class_1538;field_7185:I
      named ambientTick Lnet/minecraft/entity/LightningEntity;ambientTick:I
    • seed

      public long seed
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b:J
      intermediary field_7186 Lnet/minecraft/class_1538;field_7186:J
      named seed Lnet/minecraft/entity/LightningEntity;seed:J
    • remainingActions

      private int remainingActions
      Mappings:
      Namespace Name Mixin selector
      official ao Lats;ao:I
      intermediary field_7183 Lnet/minecraft/class_1538;field_7183:I
      named remainingActions Lnet/minecraft/entity/LightningEntity;remainingActions:I
    • cosmetic

      private boolean cosmetic
      Mappings:
      Namespace Name Mixin selector
      official ap Lats;ap:Z
      intermediary field_7184 Lnet/minecraft/class_1538;field_7184:Z
      named cosmetic Lnet/minecraft/entity/LightningEntity;cosmetic:Z
    • channeler

      Mappings:
      Namespace Name Mixin selector
      official aq Lats;aq:Labs;
      intermediary field_7182 Lnet/minecraft/class_1538;field_7182:Lnet/minecraft/class_3222;
      named channeler Lnet/minecraft/entity/LightningEntity;channeler:Lnet/minecraft/server/network/ServerPlayerEntity;
    • field_33904

      private final Set<Entity> field_33904
      Mappings:
      Namespace Name Mixin selector
      official ar Lats;ar:Ljava/util/Set;
      intermediary field_33904 Lnet/minecraft/class_1538;field_33904:Ljava/util/Set;
      named field_33904 Lnet/minecraft/entity/LightningEntity;field_33904:Ljava/util/Set;
    • field_33905

      private int field_33905
      Mappings:
      Namespace Name Mixin selector
      official as Lats;as:I
      intermediary field_33905 Lnet/minecraft/class_1538;field_33905:I
      named field_33905 Lnet/minecraft/entity/LightningEntity;field_33905:I
  • Constructor Details

    • LightningEntity

      public LightningEntity(EntityType<? extends LightningEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • setCosmetic

      public void setCosmetic(boolean cosmetic)
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a(Z)V
      intermediary method_29498 Lnet/minecraft/class_1538;method_29498(Z)V
      named setCosmetic Lnet/minecraft/entity/LightningEntity;setCosmetic(Z)V
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cJ Latf;cJ()Laff;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • getChanneler

      @Nullable public @Nullable ServerPlayerEntity getChanneler()
      Mappings:
      Namespace Name Mixin selector
      official h Lats;h()Labs;
      intermediary method_35052 Lnet/minecraft/class_1538;method_35052()Lnet/minecraft/class_3222;
      named getChanneler Lnet/minecraft/entity/LightningEntity;getChanneler()Lnet/minecraft/server/network/ServerPlayerEntity;
    • setChanneler

      public void setChanneler(@Nullable @Nullable ServerPlayerEntity channeler)
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b(Labs;)V
      intermediary method_6961 Lnet/minecraft/class_1538;method_6961(Lnet/minecraft/class_3222;)V
      named setChanneler Lnet/minecraft/entity/LightningEntity;setChanneler(Lnet/minecraft/server/network/ServerPlayerEntity;)V
    • powerLightningRod

      private void powerLightningRod()
      Mappings:
      Namespace Name Mixin selector
      official l Lats;l()V
      intermediary method_31499 Lnet/minecraft/class_1538;method_31499()V
      named powerLightningRod Lnet/minecraft/entity/LightningEntity;powerLightningRod()V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Latf;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getAffectedBlockPos

      private BlockPos getAffectedBlockPos()
      Mappings:
      Namespace Name Mixin selector
      official n Lats;n()Lgg;
      intermediary method_36607 Lnet/minecraft/class_1538;method_36607()Lnet/minecraft/class_2338;
      named getAffectedBlockPos Lnet/minecraft/entity/LightningEntity;getAffectedBlockPos()Lnet/minecraft/util/math/BlockPos;
    • spawnFire

      private void spawnFire(int spreadAttempts)
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a(I)V
      intermediary method_6960 Lnet/minecraft/class_1538;method_6960(I)V
      named spawnFire Lnet/minecraft/entity/LightningEntity;spawnFire(I)V
    • cleanOxidization

      private static void cleanOxidization(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lats;b(Lbwp;Lgg;)V
      intermediary method_34707 Lnet/minecraft/class_1538;method_34707(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
      named cleanOxidization Lnet/minecraft/entity/LightningEntity;cleanOxidization(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
    • cleanOxidizationAround

      private static void cleanOxidizationAround(World world, BlockPos pos, BlockPos.Mutable mutablePos, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Lats;a(Lbwp;Lgg;Lgg$a;I)V
      intermediary method_34709 Lnet/minecraft/class_1538;method_34709(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;Lnet/minecraft/class_2338$class_2339;I)V
      named cleanOxidizationAround Lnet/minecraft/entity/LightningEntity;cleanOxidizationAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos$Mutable;I)V
    • cleanOxidizationAround

      private static Optional<BlockPos> cleanOxidizationAround(World world, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lats;c(Lbwp;Lgg;)Ljava/util/Optional;
      intermediary method_34710 Lnet/minecraft/class_1538;method_34710(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Ljava/util/Optional;
      named cleanOxidizationAround Lnet/minecraft/entity/LightningEntity;cleanOxidizationAround(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)Ljava/util/Optional;
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromNbt

      protected void readCustomDataFromNbt(NbtCompound nbt)
      Specified by:
      readCustomDataFromNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • writeCustomDataToNbt

      protected void writeCustomDataToNbt(NbtCompound nbt)
      Specified by:
      writeCustomDataToNbt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • createSpawnPacket

      public Packet<?> createSpawnPacket()
      Specified by:
      createSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official P Latf;P()Lpk;
      intermediary method_18002 Lnet/minecraft/class_1297;method_18002()Lnet/minecraft/class_2596;
      named createSpawnPacket Lnet/minecraft/entity/Entity;createSpawnPacket()Lnet/minecraft/network/Packet;
    • method_37220

      public int method_37220()
      Mappings:
      Namespace Name Mixin selector
      official i Lats;i()I
      intermediary method_37220 Lnet/minecraft/class_1538;method_37220()I
      named method_37220 Lnet/minecraft/entity/LightningEntity;method_37220()I
    • method_37221

      public Stream<Entity> method_37221()
      Mappings:
      Namespace Name Mixin selector
      official j Lats;j()Ljava/util/stream/Stream;
      intermediary method_37221 Lnet/minecraft/class_1538;method_37221()Ljava/util/stream/Stream;
      named method_37221 Lnet/minecraft/entity/LightningEntity;method_37221()Ljava/util/stream/Stream;