Class LlamaSpitEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class LlamaSpitEntity extends ProjectileEntity
Mappings:
Namespace Name
official bnz
intermediary net/minecraft/class_1673
named net/minecraft/entity/projectile/LlamaSpitEntity
  • Constructor Details

    • LlamaSpitEntity

      public LlamaSpitEntity(EntityType<? extends LlamaSpitEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawm;<init>(Lawq;Lbzw;)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
    • LlamaSpitEntity

      public LlamaSpitEntity(World world, LlamaEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbnz;<init>(Lbzw;Lbis;)V
      intermediary <init> Lnet/minecraft/class_1673;<init>(Lnet/minecraft/class_1937;Lnet/minecraft/class_1501;)V
      named <init> Lnet/minecraft/entity/projectile/LlamaSpitEntity;<init>(Lnet/minecraft/world/World;Lnet/minecraft/entity/passive/LlamaEntity;)V
  • Method Details

    • tick

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

      protected void onEntityHit(EntityHitResult entityHitResult)
      Overrides:
      onEntityHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lboa;a(Ldnw;)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
    • onBlockHit

      protected void onBlockHit(BlockHitResult blockHitResult)
      Overrides:
      onBlockHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lboa;a(Ldnv;)V
      intermediary method_24920 Lnet/minecraft/class_1676;method_24920(Lnet/minecraft/class_3965;)V
      named onBlockHit Lnet/minecraft/entity/projectile/ProjectileEntity;onBlockHit(Lnet/minecraft/util/hit/BlockHitResult;)V
    • initDataTracker

      protected void initDataTracker()
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawm;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • onSpawnPacket

      public void onSpawnPacket(EntitySpawnS2CPacket packet)
      Overrides:
      onSpawnPacket in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawm;a(Lqp;)V
      intermediary method_31471 Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
      named onSpawnPacket Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V