Class LightningBoltEntity

All Implemented Interfaces:
CommandSource

public class LightningBoltEntity extends WeatherEntity
Mappings:
Namespace Name
official ya
intermediary net/minecraft/class_961
named net/minecraft/entity/LightningBoltEntity
  • Field Details

    • ambientTick

      private int ambientTick
      Mappings:
      Namespace Name Mixin selector
      official b Lya;b:I
      intermediary field_3875 Lnet/minecraft/class_961;field_3875:I
      named ambientTick Lnet/minecraft/entity/LightningBoltEntity;ambientTick:I
    • seed

      public long seed
      Mappings:
      Namespace Name Mixin selector
      official a Lya;a:J
      intermediary field_3874 Lnet/minecraft/class_961;field_3874:J
      named seed Lnet/minecraft/entity/LightningBoltEntity;seed:J
    • remainingActions

      private int remainingActions
      Mappings:
      Namespace Name Mixin selector
      official c Lya;c:I
      intermediary field_3876 Lnet/minecraft/class_961;field_3876:I
      named remainingActions Lnet/minecraft/entity/LightningBoltEntity;remainingActions:I
    • cosmetic

      private final boolean cosmetic
      Mappings:
      Namespace Name Mixin selector
      official d Lya;d:Z
      intermediary field_14740 Lnet/minecraft/class_961;field_14740:Z
      named cosmetic Lnet/minecraft/entity/LightningBoltEntity;cosmetic:Z
  • Constructor Details

    • LightningBoltEntity

      public LightningBoltEntity(World world, double x, double y, double z, boolean cosmetic)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lya;<init>(Laht;DDDZ)V
      intermediary <init> Lnet/minecraft/class_961;<init>(Lnet/minecraft/class_1150;DDDZ)V
      named <init> Lnet/minecraft/entity/LightningBoltEntity;<init>(Lnet/minecraft/world/World;DDDZ)V
  • Method Details

    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bA Lrr;bA()Lni;
      intermediary method_12992 Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official m Lrr;m()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Lrr;i()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()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 Lrr;a(Ldq;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)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 Lrr;b(Ldq;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V