Class FireballEntity

All Implemented Interfaces:
FlyingItemEntity, CommandOutput, Nameable, EntityLike

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

    • explosionPower

      private int explosionPower
      Mappings:
      Namespace Name Mixin selector
      official e Lbox;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> Laxk;<init>(Laxo;Lcav;)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, int explosionPower)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbox;<init>(Lcav;Laxy;DDDI)V
      intermediary <init> Lnet/minecraft/class_1674;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;DDDI)V
      named <init> Lnet/minecraft/entity/projectile/FireballEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;DDDI)V
  • Method Details

    • onCollision

      protected void onCollision(HitResult hitResult)
      Overrides:
      onCollision in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lboz;a(Ldpm;)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 Lboz;a(Ldpl;)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 Laxk;b(Lok;)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 Laxk;a(Lok;)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