Class SlimeEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Monster, Nameable
Direct Known Subclasses:
MagmaCubeEntity

public class SlimeEntity extends MobEntity implements Monster
Mappings:
Namespace Name
official ano
intermediary net/minecraft/class_979
named net/minecraft/entity/mob/SlimeEntity
  • Field Details

    • field_14781

      private static final TrackedData<Integer> field_14781
      Mappings:
      Namespace Name Mixin selector
      official bC Lano;bC:Lor;
      intermediary field_14781 Lnet/minecraft/class_979;field_14781:Lnet/minecraft/class_2921;
      named field_14781 Lnet/minecraft/entity/mob/SlimeEntity;field_14781:Lnet/minecraft/entity/data/TrackedData;
    • targetStretch

      public float targetStretch
      Mappings:
      Namespace Name Mixin selector
      official a Lano;a:F
      intermediary field_3936 Lnet/minecraft/class_979;field_3936:F
      named targetStretch Lnet/minecraft/entity/mob/SlimeEntity;targetStretch:F
    • stretch

      public float stretch
      Mappings:
      Namespace Name Mixin selector
      official b Lano;b:F
      intermediary field_3937 Lnet/minecraft/class_979;field_3937:F
      named stretch Lnet/minecraft/entity/mob/SlimeEntity;stretch:F
    • lastStretch

      public float lastStretch
      Mappings:
      Namespace Name Mixin selector
      official c Lano;c:F
      intermediary field_3938 Lnet/minecraft/class_979;field_3938:F
      named lastStretch Lnet/minecraft/entity/mob/SlimeEntity;lastStretch:F
    • wasOnGround

      private boolean wasOnGround
      Mappings:
      Namespace Name Mixin selector
      official bD Lano;bD:Z
      intermediary field_12093 Lnet/minecraft/class_979;field_12093:Z
      named wasOnGround Lnet/minecraft/entity/mob/SlimeEntity;wasOnGround:Z
  • Constructor Details

    • SlimeEntity

      protected SlimeEntity(EntityType<?> entityType, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laev;Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
    • SlimeEntity

      public SlimeEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lafb;n()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • method_3089

      protected void method_3089(int int2, boolean bool)
      Mappings:
      Namespace Name Mixin selector
      official a Lano;a(IZ)V
      intermediary method_3089 Lnet/minecraft/class_979;method_3089(IZ)V
      named method_3089 Lnet/minecraft/entity/mob/SlimeEntity;method_3089(IZ)V
    • getSize

      public int getSize()
      Mappings:
      Namespace Name Mixin selector
      official dx Lano;dx()I
      intermediary method_3098 Lnet/minecraft/class_979;method_3098()I
      named getSize Lnet/minecraft/entity/mob/SlimeEntity;getSize()I
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laer;b(Lgy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lgy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • method_13242

      public boolean method_13242()
      Mappings:
      Namespace Name Mixin selector
      official dy Lano;dy()Z
      intermediary method_13242 Lnet/minecraft/class_979;method_13242()Z
      named method_13242 Lnet/minecraft/entity/mob/SlimeEntity;method_13242()Z
    • method_11214

      protected ParticleEffect method_11214()
      Mappings:
      Namespace Name Mixin selector
      official l Lano;l()Lfk;
      intermediary method_11214 Lnet/minecraft/class_979;method_11214()Lnet/minecraft/class_4340;
      named method_11214 Lnet/minecraft/entity/mob/SlimeEntity;method_11214()Lnet/minecraft/particle/ParticleEffect;
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R_ Laer;R_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • updateStretch

      protected void updateStretch()
      Mappings:
      Namespace Name Mixin selector
      official ds Lano;ds()V
      intermediary method_3093 Lnet/minecraft/class_979;method_3093()V
      named updateStretch Lnet/minecraft/entity/mob/SlimeEntity;updateStretch()V
    • getTicksUntilNextJump

      protected int getTicksUntilNextJump()
      Mappings:
      Namespace Name Mixin selector
      official dr Lano;dr()I
      intermediary method_3092 Lnet/minecraft/class_979;method_3092()I
      named getTicksUntilNextJump Lnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lor;)V
      intermediary method_12974 Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • method_15557

      public EntityType<? extends SlimeEntity> method_15557()
      Overrides:
      method_15557 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official P Laer;P()Laev;
      intermediary method_15557 Lnet/minecraft/class_864;method_15557()Lnet/minecraft/class_3460;
      named method_15557 Lnet/minecraft/entity/Entity;method_15557()Lnet/minecraft/entity/EntityType;
    • remove

      public void remove()
      Overrides:
      remove in class Entity
      Mappings:
      Namespace Name Mixin selector
      official V Laer;V()V
      intermediary method_2563 Lnet/minecraft/class_864;method_2563()V
      named remove Lnet/minecraft/entity/Entity;remove()V
    • pushAwayFrom

      public void pushAwayFrom(Entity entity)
      Overrides:
      pushAwayFrom in class Entity
      Mappings:
      Namespace Name Mixin selector
      official i Laer;i(Laer;)V
      intermediary method_2552 Lnet/minecraft/class_864;method_2552(Lnet/minecraft/class_864;)V
      named pushAwayFrom Lnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
    • onPlayerCollision

      public void onPlayerCollision(PlayerEntity player)
      Overrides:
      onPlayerCollision in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d Laer;d(Laog;)V
      intermediary method_2530 Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)V
      named onPlayerCollision Lnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
    • method_11213

      protected void method_11213(LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official f Lano;f(Lafa;)V
      intermediary method_11213 Lnet/minecraft/class_979;method_11213(Lnet/minecraft/class_1699;)V
      named method_11213 Lnet/minecraft/entity/mob/SlimeEntity;method_11213(Lnet/minecraft/entity/LivingEntity;)V
    • getEyeHeight

      public float getEyeHeight()
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bF Laer;bF()F
      intermediary method_2544 Lnet/minecraft/class_864;method_2544()F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight()F
    • isBig

      protected boolean isBig()
      Mappings:
      Namespace Name Mixin selector
      official dt Lano;dt()Z
      intermediary method_3094 Lnet/minecraft/class_979;method_3094()Z
      named isBig Lnet/minecraft/entity/mob/SlimeEntity;isBig()Z
    • getDamageAmount

      protected int getDamageAmount()
      Mappings:
      Namespace Name Mixin selector
      official du Lano;du()I
      intermediary method_3095 Lnet/minecraft/class_979;method_3095()I
      named getDamageAmount Lnet/minecraft/entity/mob/SlimeEntity;getDamageAmount()I
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • method_13240

      protected SoundEvent method_13240()
      Mappings:
      Namespace Name Mixin selector
      official dv Lano;dv()Lwi;
      intermediary method_13240 Lnet/minecraft/class_979;method_13240()Lnet/minecraft/class_2926;
      named method_13240 Lnet/minecraft/entity/mob/SlimeEntity;method_13240()Lnet/minecraft/client/sound/SoundEvent;
    • getDefaultDrop

      protected Item getDefaultDrop()
      Overrides:
      getDefaultDrop in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official F Lafb;F()Lata;
      intermediary method_8375 Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;
      named getDefaultDrop Lnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lafb;G()Lpc;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • method_15652

      public boolean method_15652(IWorld iWorld, boolean bool)
      Overrides:
      method_15652 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laxz;Z)Z
      intermediary method_15652 Lnet/minecraft/class_871;method_15652(Lnet/minecraft/class_3598;Z)Z
      named method_15652 Lnet/minecraft/entity/mob/MobEntity;method_15652(Lnet/minecraft/world/IWorld;Z)Z
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cD Lafa;cD()F
      intermediary method_2602 Lnet/minecraft/class_1699;method_2602()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getLookPitchSpeed

      public int getLookPitchSpeed()
      Overrides:
      getLookPitchSpeed in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official K Lafb;K()I
      intermediary method_2636 Lnet/minecraft/class_871;method_2636()I
      named getLookPitchSpeed Lnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
    • makesJumpSound

      protected boolean makesJumpSound()
      Mappings:
      Namespace Name Mixin selector
      official dz Lano;dz()Z
      intermediary method_3099 Lnet/minecraft/class_979;method_3099()Z
      named makesJumpSound Lnet/minecraft/entity/mob/SlimeEntity;makesJumpSound()Z
    • jump

      protected void jump()
      Overrides:
      jump in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cH Lafa;cH()V
      intermediary method_2612 Lnet/minecraft/class_1699;method_2612()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • initialize

      @Nullable public EntityData initialize(LocalDifficulty difficulty, @Nullable EntityData entityData, @Nullable NbtCompound nbt)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Ladj;Lafj;Lgy;)Lafj;
      intermediary method_6156 Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;Lnet/minecraft/class_322;)Lnet/minecraft/class_1700;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • method_13241

      protected SoundEvent method_13241()
      Mappings:
      Namespace Name Mixin selector
      official dw Lano;dw()Lwi;
      intermediary method_13241 Lnet/minecraft/class_979;method_13241()Lnet/minecraft/class_2926;
      named method_13241 Lnet/minecraft/entity/mob/SlimeEntity;method_13241()Lnet/minecraft/client/sound/SoundEvent;