Class ThrownEntity

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

public abstract class ThrownEntity extends ProjectileEntity
Mappings:
Namespace Name
official bzl
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> Lbfh;<init>(Lbfl;Lcmi;)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> Lbzl;<init>(Lbfl;DDDLcmi;)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> Lbzl;<init>(Lbfl;Lbfx;Lcmi;)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 Lbfh;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()
      Ticks this entity.
      Overrides:
      tick in class ProjectileEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbfh;l()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 o Lbzl;o()F
      intermediary method_7490 Lnet/minecraft/class_1682;method_7490()F
      named getGravity Lnet/minecraft/entity/projectile/thrown/ThrownEntity;getGravity()F