Class FireballEntity

All Implemented Interfaces:
FlyingItemEntity, CommandOutput, Nameable, EntityLike

public class FireballEntity extends AbstractFireballEntity
Mappings:
Namespace Name
official bkr
intermediary net/minecraft/class_1674
named net/minecraft/entity/projectile/FireballEntity
  • Field Details

    • explosionPower

      public int explosionPower
      Mappings:
      Namespace Name Mixin selector
      official e Lbkr;e:I
      intermediary field_7624 Lnet/minecraft/class_1674;field_7624:I
      named explosionPower Lnet/minecraft/entity/projectile/FireballEntity;explosionPower:I
  • Constructor Details

    • FireballEntity

      public FireballEntity(EntityType<? extends FireballEntity> 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
    • FireballEntity

      public FireballEntity(World world, LivingEntity owner, double velocityX, double velocityY, double velocityZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkr;<init>(Lbwp;Latt;DDD)V
      intermediary <init> Lnet/minecraft/class_1674;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;DDD)V
      named <init> Lnet/minecraft/entity/projectile/FireballEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;DDD)V
  • Method Details

    • onCollision

      protected void onCollision(HitResult hitResult)
      Overrides:
      onCollision in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Ldmy;)V
      intermediary method_7488 Lnet/minecraft/class_1676;method_7488(Lnet/minecraft/class_239;)V
      named onCollision Lnet/minecraft/entity/projectile/ProjectileEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
    • onEntityHit

      protected void onEntityHit(EntityHitResult entityHitResult)
      Overrides:
      onEntityHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbkt;a(Ldmx;)V
      intermediary method_7454 Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)V
      named onEntityHit Lnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class AbstractFireballEntity
      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
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class AbstractFireballEntity
      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