Class LlamaSpitEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike

public class LlamaSpitEntity extends ProjectileEntity
Mappings:
Namespace Name
official bks
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> Latf;<init>(Latj;Lbwp;)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> Lbks;<init>(Lbwp;Lbfl;)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 Latf;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 Lbkt;a(Ldmx;)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 Lbkt;a(Ldmw;)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_ Latf;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 Latf;a(Lpo;)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