Class ThrowableEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.thrown.ThrowableEntity
All Implemented Interfaces:
CommandSource, Projectile
Direct Known Subclasses:
EggEntity, EnderPearlEntity, ExperienceBottleEntity, PotionEntity, SnowballEntity

public abstract class ThrowableEntity
extends Entity
implements Projectile
Mappings:
Namespace Name
official wy
intermediary net/minecraft/class_1975
named net/minecraft/entity/thrown/ThrowableEntity
  • Field Details

    • blockX

      private int blockX
      Mappings:
      Namespace Name Mixin selector
      official c Lwy;c:I
      intermediary field_8421 Lnet/minecraft/class_1975;field_8421:I
      named blockX Lnet/minecraft/entity/thrown/ThrowableEntity;blockX:I
    • blockY

      private int blockY
      Mappings:
      Namespace Name Mixin selector
      official d Lwy;d:I
      intermediary field_8422 Lnet/minecraft/class_1975;field_8422:I
      named blockY Lnet/minecraft/entity/thrown/ThrowableEntity;blockY:I
    • blockZ

      private int blockZ
      Mappings:
      Namespace Name Mixin selector
      official e Lwy;e:I
      intermediary field_8423 Lnet/minecraft/class_1975;field_8423:I
      named blockZ Lnet/minecraft/entity/thrown/ThrowableEntity;blockZ:I
    • inBlock

      private Block inBlock
      Mappings:
      Namespace Name Mixin selector
      official f Lwy;f:Lafh;
      intermediary field_8424 Lnet/minecraft/class_1975;field_8424:Lnet/minecraft/class_160;
      named inBlock Lnet/minecraft/entity/thrown/ThrowableEntity;inBlock:Lnet/minecraft/block/Block;
    • inGround

      protected boolean inGround
      Mappings:
      Namespace Name Mixin selector
      official a Lwy;a:Z
      intermediary field_8418 Lnet/minecraft/class_1975;field_8418:Z
      named inGround Lnet/minecraft/entity/thrown/ThrowableEntity;inGround:Z
    • shake

      public int shake
      Mappings:
      Namespace Name Mixin selector
      official b Lwy;b:I
      intermediary field_8420 Lnet/minecraft/class_1975;field_8420:I
      named shake Lnet/minecraft/entity/thrown/ThrowableEntity;shake:I
    • field_8425

      private LivingEntity field_8425
      Mappings:
      Namespace Name Mixin selector
      official g Lwy;g:Lpr;
      intermediary field_8425 Lnet/minecraft/class_1975;field_8425:Lnet/minecraft/class_1752;
      named field_8425 Lnet/minecraft/entity/thrown/ThrowableEntity;field_8425:Lnet/minecraft/entity/LivingEntity;
    • field_8426

      private String field_8426
      Mappings:
      Namespace Name Mixin selector
      official h Lwy;h:Ljava/lang/String;
      intermediary field_8426 Lnet/minecraft/class_1975;field_8426:Ljava/lang/String;
      named field_8426 Lnet/minecraft/entity/thrown/ThrowableEntity;field_8426:Ljava/lang/String;
    • field_8427

      private int field_8427
      Mappings:
      Namespace Name Mixin selector
      official i Lwy;i:I
      intermediary field_8427 Lnet/minecraft/class_1975;field_8427:I
      named field_8427 Lnet/minecraft/entity/thrown/ThrowableEntity;field_8427:I
    • field_8419

      private int field_8419
      Mappings:
      Namespace Name Mixin selector
      official ar Lwy;ar:I
      intermediary field_8419 Lnet/minecraft/class_1975;field_8419:I
      named field_8419 Lnet/minecraft/entity/thrown/ThrowableEntity;field_8419:I
  • Constructor Details

    • ThrowableEntity

      public ThrowableEntity​(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpk;<init>(Ladm;)V
      intermediary <init> Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
    • ThrowableEntity

      public ThrowableEntity​(World world, LivingEntity livingEntity)
    • ThrowableEntity

      public ThrowableEntity​(World world, double double2, double double3, double double4)
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official h Lpk;h()V
      intermediary method_7043 Lnet/minecraft/class_1745;method_7043()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_6917 Lnet/minecraft/class_1745;method_6917(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • method_8069

      protected float method_8069()
      Mappings:
      Namespace Name Mixin selector
      official j Lwy;j()F
      intermediary method_8069 Lnet/minecraft/class_1975;method_8069()F
      named method_8069 Lnet/minecraft/entity/thrown/ThrowableEntity;method_8069()F
    • method_8070

      protected float method_8070()
      Mappings:
      Namespace Name Mixin selector
      official l Lwy;l()F
      intermediary method_8070 Lnet/minecraft/class_1975;method_8070()F
      named method_8070 Lnet/minecraft/entity/thrown/ThrowableEntity;method_8070()F
    • setVelocity

      public void setVelocity​(double x, double y, double z, float speed, float divergence)
      Specified by:
      setVelocity in interface Projectile
      Mappings:
      Namespace Name Mixin selector
      official c Lwv;c(DDDFF)V
      intermediary method_8067 Lnet/minecraft/class_1972;method_8067(DDDFF)V
      named setVelocity Lnet/minecraft/entity/projectile/Projectile;setVelocity(DDDFF)V
    • setVelocityClient

      @Environment(CLIENT) public void setVelocityClient​(double x, double y, double z)
      Overrides:
      setVelocityClient in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Lpk;i(DDD)V
      intermediary method_7048 Lnet/minecraft/class_1745;method_7048(DDD)V
      named setVelocityClient Lnet/minecraft/entity/Entity;setVelocityClient(DDD)V
    • tick

      public void tick()
      Overrides:
      tick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official t_ Lpk;t_()V
      intermediary method_7060 Lnet/minecraft/class_1745;method_7060()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getGravity

      protected float getGravity()
      Mappings:
      Namespace Name Mixin selector
      official m Lwy;m()F
      intermediary method_8071 Lnet/minecraft/class_1975;method_8071()F
      named getGravity Lnet/minecraft/entity/thrown/ThrowableEntity;getGravity()F
    • onCollision

      protected abstract void onCollision​(HitResult result)
      Mappings:
      Namespace Name Mixin selector
      official a Lwy;a(Lauh;)V
      intermediary method_8068 Lnet/minecraft/class_1975;method_8068(Lnet/minecraft/class_647;)V
      named onCollision Lnet/minecraft/entity/thrown/ThrowableEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
    • serialize

      public void serialize​(CompoundTag tag)
      Specified by:
      serialize in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lpk;b(Ldn;)V
      intermediary method_7003 Lnet/minecraft/class_1745;method_7003(Lnet/minecraft/class_1405;)V
      named serialize Lnet/minecraft/entity/Entity;serialize(Lnet/minecraft/nbt/CompoundTag;)V
    • deserialize

      public void deserialize​(CompoundTag tag)
      Specified by:
      deserialize in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Ldn;)V
      intermediary method_6933 Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)V
      named deserialize Lnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
    • method_8072

      public LivingEntity method_8072()
      Mappings:
      Namespace Name Mixin selector
      official n Lwy;n()Lpr;
      intermediary method_8072 Lnet/minecraft/class_1975;method_8072()Lnet/minecraft/class_1752;
      named method_8072 Lnet/minecraft/entity/thrown/ThrowableEntity;method_8072()Lnet/minecraft/entity/LivingEntity;