Class ThrownEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
ThrownItemEntity

public abstract class ThrownEntity extends ProjectileEntity
Mappings:
Namespace Name
official boo
intermediary net/minecraft/class_1682
named net/minecraft/entity/projectile/thrown/ThrownEntity
  • Constructor Details

    • ThrownEntity

      protected ThrownEntity(EntityType<? extends ThrownEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawt;<init>(Lawx;Lcad;)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
    • ThrownEntity

      protected ThrownEntity(EntityType<? extends ThrownEntity> type, double x, double y, double z, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lboo;<init>(Lawx;DDDLcad;)V
      intermediary <init> Lnet/minecraft/class_1682;<init>(Lnet/minecraft/class_1299;DDDLnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/projectile/thrown/ThrownEntity;<init>(Lnet/minecraft/entity/EntityType;DDDLnet/minecraft/world/World;)V
    • ThrownEntity

      protected ThrownEntity(EntityType<? extends ThrownEntity> type, LivingEntity owner, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lboo;<init>(Lawx;Laxh;Lcad;)V
      intermediary <init> Lnet/minecraft/class_1682;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1309;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/projectile/thrown/ThrownEntity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/world/World;)V
  • Method Details

    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lawt;a(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
    • tick

      public void tick()
      Overrides:
      tick in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lawt;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getGravity

      protected float getGravity()
      Mappings:
      Namespace Name Mixin selector
      official l Lboo;l()F
      intermediary method_7490 Lnet/minecraft/class_1682;method_7490()F
      named getGravity Lnet/minecraft/entity/projectile/thrown/ThrownEntity;getGravity()F