Class ExplosiveProjectileEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.projectile.ExplosiveProjectileEntity
All Implemented Interfaces:
CommandSource
Direct Known Subclasses:
DragonFireballEntity, FireballEntity, SmallFireballEntity, WitherSkullEntity

public abstract class ExplosiveProjectileEntity extends Entity
Mappings:
Namespace Name
official zp
intermediary net/minecraft/class_992
named net/minecraft/entity/projectile/ExplosiveProjectileEntity
  • Field Details

    • blockX

      private int blockX
      Mappings:
      Namespace Name Mixin selector
      official e Lzp;e:I
      intermediary field_4045 Lnet/minecraft/class_992;field_4045:I
      named blockX Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockX:I
    • blockY

      private int blockY
      Mappings:
      Namespace Name Mixin selector
      official f Lzp;f:I
      intermediary field_4046 Lnet/minecraft/class_992;field_4046:I
      named blockY Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockY:I
    • blockZ

      private int blockZ
      Mappings:
      Namespace Name Mixin selector
      official g Lzp;g:I
      intermediary field_4047 Lnet/minecraft/class_992;field_4047:I
      named blockZ Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;blockZ:I
    • inBlock

      private Block inBlock
      Mappings:
      Namespace Name Mixin selector
      official h Lzp;h:Lajt;
      intermediary field_9142 Lnet/minecraft/class_992;field_9142:Lnet/minecraft/class_197;
      named inBlock Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;inBlock:Lnet/minecraft/block/Block;
    • inGround

      private boolean inGround
      Mappings:
      Namespace Name Mixin selector
      official at Lzp;at:Z
      intermediary field_4049 Lnet/minecraft/class_992;field_4049:Z
      named inGround Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;inGround:Z
    • target

      public LivingEntity target
      Mappings:
      Namespace Name Mixin selector
      official a Lzp;a:Lsa;
      intermediary field_6931 Lnet/minecraft/class_992;field_6931:Lnet/minecraft/class_1699;
      named target Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;target:Lnet/minecraft/entity/LivingEntity;
    • life

      private int life
      Mappings:
      Namespace Name Mixin selector
      official au Lzp;au:I
      intermediary field_4050 Lnet/minecraft/class_992;field_4050:I
      named life Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;life:I
    • field_4041

      private int field_4041
      Mappings:
      Namespace Name Mixin selector
      official av Lzp;av:I
      intermediary field_4041 Lnet/minecraft/class_992;field_4041:I
      named field_4041 Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;field_4041:I
    • powerX

      public double powerX
      Mappings:
      Namespace Name Mixin selector
      official b Lzp;b:D
      intermediary field_4042 Lnet/minecraft/class_992;field_4042:D
      named powerX Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerX:D
    • powerY

      public double powerY
      Mappings:
      Namespace Name Mixin selector
      official c Lzp;c:D
      intermediary field_4043 Lnet/minecraft/class_992;field_4043:D
      named powerY Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerY:D
    • powerZ

      public double powerZ
      Mappings:
      Namespace Name Mixin selector
      official d Lzp;d:D
      intermediary field_4044 Lnet/minecraft/class_992;field_4044:D
      named powerZ Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;powerZ:D
  • Constructor Details

    • ExplosiveProjectileEntity

      public ExplosiveProjectileEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrr;<init>(Laht;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
    • ExplosiveProjectileEntity

      public ExplosiveProjectileEntity(World world, double x, double y, double z, double powerX, double powerY, double powerZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzp;<init>(Laht;DDDDDD)V
      intermediary <init> Lnet/minecraft/class_992;<init>(Lnet/minecraft/class_1150;DDDDDD)V
      named <init> Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/world/World;DDDDDD)V
    • ExplosiveProjectileEntity

      public ExplosiveProjectileEntity(World world, LivingEntity target, double directionX, double directionY, double directionZ)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lzp;<init>(Laht;Lsa;DDD)V
      intermediary <init> Lnet/minecraft/class_992;<init>(Lnet/minecraft/class_1150;Lnet/minecraft/class_1699;DDD)V
      named <init> Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;DDD)V
  • Method Details

    • 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
    • shouldRender

      @Environment(CLIENT) public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;a(D)Z
      intermediary method_2486 Lnet/minecraft/class_864;method_2486(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • 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
    • isBurning

      protected boolean isBurning()
      Mappings:
      Namespace Name Mixin selector
      official k Lzp;k()Z
      intermediary method_13284 Lnet/minecraft/class_992;method_13284()Z
      named isBurning Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;isBurning()Z
    • getParticleType

      protected ParticleType getParticleType()
      Mappings:
      Namespace Name Mixin selector
      official j Lzp;j()Lda;
      intermediary method_13283 Lnet/minecraft/class_992;method_13283()Lnet/minecraft/class_2562;
      named getParticleType Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getParticleType()Lnet/minecraft/client/particle/ParticleType;
    • getDrag

      protected float getDrag()
      Mappings:
      Namespace Name Mixin selector
      official l Lzp;l()F
      intermediary method_4584 Lnet/minecraft/class_992;method_4584()F
      named getDrag Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;getDrag()F
    • onEntityHit

      protected abstract void onEntityHit(BlockHitResult hitResult)
      Mappings:
      Namespace Name Mixin selector
      official a Lzp;a(Lbbg;)V
      intermediary method_3229 Lnet/minecraft/class_992;method_3229(Lnet/minecraft/class_234;)V
      named onEntityHit Lnet/minecraft/entity/projectile/ExplosiveProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/BlockHitResult;)V
    • writeCustomDataToNbt

      public 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
    • readCustomDataFromNbt

      public 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
    • collides

      public boolean collides()
      Overrides:
      collides in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ap Lrr;ap()Z
      intermediary method_2471 Lnet/minecraft/class_864;method_2471()Z
      named collides Lnet/minecraft/entity/Entity;collides()Z
    • getTargetingMargin

      public float getTargetingMargin()
      Overrides:
      getTargetingMargin in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aA Lrr;aA()F
      intermediary method_2482 Lnet/minecraft/class_864;method_2482()F
      named getTargetingMargin Lnet/minecraft/entity/Entity;getTargetingMargin()F
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lrr;a(Lrc;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • getBrightnessAtEyes

      public float getBrightnessAtEyes(float float2)
      Overrides:
      getBrightnessAtEyes in class Entity
      Mappings:
      Namespace Name Mixin selector
      official e Lrr;e(F)F
      intermediary method_2533 Lnet/minecraft/class_864;method_2533(F)F
      named getBrightnessAtEyes Lnet/minecraft/entity/Entity;getBrightnessAtEyes(F)F
    • getLightmapCoordinates

      @Environment(CLIENT) public int getLightmapCoordinates(float float2)
      Overrides:
      getLightmapCoordinates in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d Lrr;d(F)I
      intermediary method_2524 Lnet/minecraft/class_864;method_2524(F)I
      named getLightmapCoordinates Lnet/minecraft/entity/Entity;getLightmapCoordinates(F)I