Class EggEntity

All Implemented Interfaces:
EntityLike, FlyingItemEntity, CommandOutput, Nameable

public class EggEntity
extends ThrownItemEntity
Mappings:
Namespace Name
official bij
intermediary net/minecraft/class_1681
named net/minecraft/entity/projectile/thrown/EggEntity
  • Constructor Details

    • EggEntity

      public EggEntity​(EntityType<? extends EggEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)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
    • EggEntity

      public EggEntity​(World world, LivingEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbij;<init>(Lbtv;Lari;)V
      intermediary <init> Lnet/minecraft/class_1681;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
      named <init> Lnet/minecraft/entity/projectile/thrown/EggEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
    • EggEntity

      public EggEntity​(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbij;<init>(Lbtv;DDD)V
      intermediary <init> Lnet/minecraft/class_1681;<init>(Lnet/minecraft/class_1937;DDD)V
      named <init> Lnet/minecraft/entity/projectile/thrown/EggEntity;<init>(Lnet/minecraft/world/World;DDD)V
  • Method Details

    • handleStatus

      @Environment(CLIENT) public void handleStatus​(byte status)
      Overrides:
      handleStatus in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • onEntityHit

      protected void onEntityHit​(EntityHitResult entityHitResult)
      Overrides:
      onEntityHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbib;a(Ldir;)V
      intermediary method_7454 Lnet/minecraft/class_1676;method_7454(Lnet/minecraft/class_3966;)V
      named onEntityHit Lnet/minecraft/entity/projectile/ProjectileEntity;onEntityHit(Lnet/minecraft/util/hit/EntityHitResult;)V
    • onCollision

      protected void onCollision​(HitResult hitResult)
      Overrides:
      onCollision in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbib;a(Ldis;)V
      intermediary method_7488 Lnet/minecraft/class_1676;method_7488(Lnet/minecraft/class_239;)V
      named onCollision Lnet/minecraft/entity/projectile/ProjectileEntity;onCollision(Lnet/minecraft/util/hit/HitResult;)V
    • getDefaultItem

      protected Item getDefaultItem()
      Specified by:
      getDefaultItem in class ThrownItemEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lbih;h()Lbnr;
      intermediary method_16942 Lnet/minecraft/class_3857;method_16942()Lnet/minecraft/class_1792;
      named getDefaultItem Lnet/minecraft/entity/projectile/thrown/ThrownItemEntity;getDefaultItem()Lnet/minecraft/item/Item;