Class PigEntity

All Implemented Interfaces:
class_582

public class PigEntity extends AnimalEntity
Mappings:
Namespace Name
intermediary net/minecraft/class_443
glue class_547
server oc
client wh
named net/minecraft/entity/passive/PigEntity
  • Constructor Details

    • PigEntity

      public PigEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      intermediary <init> Lnet/minecraft/class_57;<init>(Lnet/minecraft/class_18;)V
      glue <init> Lclass_450;<init>(Lclass_129;)V
      server <init> Llq;<init>(Ldj;)V
      client <init> Lsn;<init>(Lfd;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1310 Lnet/minecraft/class_57;method_1310()V
      glue method_108 Lclass_450;method_108()V
      server b Llq;b()V
      client b Lsn;b()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeNbt

      public void writeNbt(NbtCompound nbt)
      Overrides:
      writeNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1368 Lnet/minecraft/class_57;method_1368(Lnet/minecraft/class_8;)V
      glue method_24 Lclass_450;method_24(Lclass_333;)V
      server b Llq;b(Liq;)V
      client b Lsn;b(Lnu;)V
      named writeNbt Lnet/minecraft/entity/Entity;writeNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readNbt

      public void readNbt(NbtCompound nbt)
      Overrides:
      readNbt in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1363 Lnet/minecraft/class_57;method_1363(Lnet/minecraft/class_8;)V
      glue method_23 Lclass_450;method_23(Lclass_333;)V
      server a Llq;a(Liq;)V
      client a Lsn;a(Lnu;)V
      named readNbt Lnet/minecraft/entity/Entity;readNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getRandomSound

      protected String getRandomSound()
      Overrides:
      getRandomSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_911 Lnet/minecraft/class_127;method_911()Ljava/lang/String;
      glue method_110 Lclass_283;method_110()Ljava/lang/String;
      server g Lhl;g()Ljava/lang/String;
      client g Lls;g()Ljava/lang/String;
      named getRandomSound Lnet/minecraft/entity/LivingEntity;getRandomSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_912 Lnet/minecraft/class_127;method_912()Ljava/lang/String;
      glue method_111 Lclass_283;method_111()Ljava/lang/String;
      server h Lhl;h()Ljava/lang/String;
      client j_ Lls;j_()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_913 Lnet/minecraft/class_127;method_913()Ljava/lang/String;
      glue method_112 Lclass_283;method_112()Ljava/lang/String;
      server i Lhl;i()Ljava/lang/String;
      client i Lls;i()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • interact

      public boolean interact(PlayerEntity player)
      Overrides:
      interact in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1323 Lnet/minecraft/class_57;method_1323(Lnet/minecraft/class_54;)Z
      glue method_159 Lclass_450;method_159(Lclass_172;)Z
      server a Llq;a(Lem;)Z
      client a Lsn;a(Lgs;)Z
      named interact Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • getDroppedId

      protected int getDroppedId()
      Overrides:
      getDroppedId in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_914 Lnet/minecraft/class_127;method_914()I
      glue method_113 Lclass_283;method_113()I
      server j Lhl;j()I
      client j Lls;j()I
      named getDroppedId Lnet/minecraft/entity/LivingEntity;getDroppedId()I
    • method_1724

      public boolean method_1724()
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1724 Lnet/minecraft/class_443;method_1724()Z
      glue method_2003 Lclass_547;method_2003()Z
      server x Loc;x()Z
      client v Lwh;v()Z
      named method_1724 Lnet/minecraft/entity/passive/PigEntity;method_1724()Z
    • method_1723

      public void method_1723(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1723 Lnet/minecraft/class_443;method_1723(Z)V
      glue method_2002 Lclass_547;method_2002(Z)V
      server a Loc;a(Z)V
      client a Lwh;a(Z)V
      named method_1723 Lnet/minecraft/entity/passive/PigEntity;method_1723(Z)V
    • onStruckByLightning

      public void onStruckByLightning(LightningEntity lightning)
      Overrides:
      onStruckByLightning in class Entity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1383 Lnet/minecraft/class_57;method_1383(Lnet/minecraft/class_411;)V
      glue method_748 Lclass_450;method_748(Lclass_76;)V
      server a Llq;a(Lc;)V
      client a Lsn;a(Lc;)V
      named onStruckByLightning Lnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/entity/LightningEntity;)V
    • onLanding

      protected void onLanding(float fallDistance)
      Overrides:
      onLanding in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      intermediary method_1389 Lnet/minecraft/class_57;method_1389(F)V
      glue method_833 Lclass_450;method_833(F)V
      server a Llq;a(F)V
      client b Lsn;b(F)V
      named onLanding Lnet/minecraft/entity/Entity;onLanding(F)V