Class ExplosiveProjectileEntity

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

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

    • blockX

      private int blockX
      Mappings:
      Namespace Name Mixin selector
      official e Lws;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 Lws;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 Lws;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 Lws;h:Lafh;
      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 i Lws;i: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 Lws;a:Lpr;
      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 ar Lws;ar: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 as Lws;as: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 Lws;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 Lws;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 Lws;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> Lpk;<init>(Ladm;)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> Lws;<init>(Ladm;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> Lws;<init>(Ladm;Lpr;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 h Lpk;h()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 Lpk;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 t_ Lpk;t_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getDrag

      protected float getDrag()
      Mappings:
      Namespace Name Mixin selector
      official j Lws;j()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 Lws;a(Lauh;)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 Lpk;b(Ldn;)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 Lpk;a(Ldn;)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 ad Lpk;ad()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 ao Lpk;ao()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 Lpk;a(Low;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 c Lpk;c(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 b Lpk;b(F)I
      intermediary method_2524 Lnet/minecraft/class_864;method_2524(F)I
      named getLightmapCoordinates Lnet/minecraft/entity/Entity;getLightmapCoordinates(F)I