Class LlamaSpitEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable

public class LlamaSpitEntity
extends ProjectileEntity
Mappings:
Namespace Name
official bia
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> 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
    • LlamaSpitEntity

      public LlamaSpitEntity​(World world, LlamaEntity owner)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbia;<init>(Lbtv;Lbcu;)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 j Laqv;j()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 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
    • onBlockHit

      protected void onBlockHit​(BlockHitResult blockHitResult)
      Overrides:
      onBlockHit in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbib;a(Ldiq;)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 e Laqv;e()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • onSpawnPacket

      @Environment(CLIENT) public void onSpawnPacket​(EntitySpawnS2CPacket packet)
      Overrides:
      onSpawnPacket in class ProjectileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Lpe;)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