Class LightningEntity

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

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

    • ambientTick

      private int ambientTick
      Mappings:
      Namespace Name Mixin selector
      official c Larh;c: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 Larh;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 d Larh;d: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 e Larh;e:Z
      intermediary field_7184 Lnet/minecraft/class_1538;field_7184:Z
      named cosmetic Lnet/minecraft/entity/LightningEntity;cosmetic:Z
    • channeler

      @Nullable private ServerPlayerEntity channeler
      Mappings:
      Namespace Name Mixin selector
      official f Larh;f:Laaw;
      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;
  • Constructor Details

    • LightningEntity

      public LightningEntity​(EntityType<? extends LightningEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)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 Larh;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 cE Laqv;cE()Laeh;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • setChanneler

      public void setChanneler​(@Nullable ServerPlayerEntity channeler)
      Mappings:
      Namespace Name Mixin selector
      official d Larh;d(Laaw;)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 h Larh;h()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 j Laqv;j()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • spawnFire

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

      @Environment(CLIENT) public boolean shouldRender​(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;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 e Laqv;e()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • readCustomDataFromTag

      protected void readCustomDataFromTag​(CompoundTag tag)
      Specified by:
      readCustomDataFromTag in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lmq;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromTag Lnet/minecraft/entity/Entity;readCustomDataFromTag(Lnet/minecraft/nbt/CompoundTag;)V
    • writeCustomDataToTag

      protected void writeCustomDataToTag​(CompoundTag tag)
      Specified by:
      writeCustomDataToTag in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lmq;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToTag Lnet/minecraft/entity/Entity;writeCustomDataToTag(Lnet/minecraft/nbt/CompoundTag;)V
    • createSpawnPacket

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