Class MagmaCubeEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, Nameable, EntityLike

public class MagmaCubeEntity extends SlimeEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/MagmaCubeEntity
intermediary net/minecraft/class_1589
official cmv
  • Constructor Details

    • MagmaCubeEntity

      public MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbvj;<init>(Lbvq;Ldhh;)V
  • Method Details

    • createMagmaCubeAttributes

      public static DefaultAttributeContainer.Builder createMagmaCubeAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createMagmaCubeAttributes Lnet/minecraft/entity/mob/MagmaCubeEntity;createMagmaCubeAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_26917 Lnet/minecraft/class_1589;method_26917()Lnet/minecraft/class_5132$class_5133;
      official m Lcmv;m()Lbxm$a;
    • canMagmaCubeSpawn

      public static boolean canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named canMagmaCubeSpawn Lnet/minecraft/entity/mob/MagmaCubeEntity;canMagmaCubeSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_20678 Lnet/minecraft/class_1589;method_20678(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      official b Lcmv;b(Lbvq;Ldhi;Lbvp;Ljh;Lbam;)Z
    • setSize

      public void setSize(int size, boolean heal)
      Overrides:
      setSize in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named setSize Lnet/minecraft/entity/mob/SlimeEntity;setSize(IZ)V
      intermediary method_7161 Lnet/minecraft/class_1621;method_7161(IZ)V
      official a Lcnf;a(IZ)V
    • getBrightnessAtEyes

      public float getBrightnessAtEyes()
      Overrides:
      getBrightnessAtEyes in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getBrightnessAtEyes Lnet/minecraft/entity/Entity;getBrightnessAtEyes()F
      intermediary method_5718 Lnet/minecraft/class_1297;method_5718()F
      official by Lbvj;by()F
    • getParticles

      protected ParticleEffect getParticles()
      Overrides:
      getParticles in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getParticles Lnet/minecraft/entity/mob/SlimeEntity;getParticles()Lnet/minecraft/particle/ParticleEffect;
      intermediary method_7162 Lnet/minecraft/class_1621;method_7162()Lnet/minecraft/class_2394;
      official p Lcnf;p()Llq;
    • isOnFire

      public boolean isOnFire()
      Returns whether the entity is on fire and is not fire immune.
      Overrides:
      isOnFire in class Entity
      Returns:
      whether the entity is on fire and is not fire immune
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isOnFire Lnet/minecraft/entity/Entity;isOnFire()Z
      intermediary method_5809 Lnet/minecraft/class_1297;method_5809()Z
      official bY Lbvj;bY()Z
    • getTicksUntilNextJump

      protected int getTicksUntilNextJump()
      Overrides:
      getTicksUntilNextJump in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getTicksUntilNextJump Lnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
      intermediary method_7154 Lnet/minecraft/class_1621;method_7154()I
      official t Lcnf;t()I
    • updateStretch

      protected void updateStretch()
      Overrides:
      updateStretch in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named updateStretch Lnet/minecraft/entity/mob/SlimeEntity;updateStretch()V
      intermediary method_7156 Lnet/minecraft/class_1621;method_7156()V
      official x Lcnf;x()V
    • jump

      public void jump()
      Overrides:
      jump in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
      intermediary method_6043 Lnet/minecraft/class_1309;method_6043()V
      official s Lbwf;s()V
    • swimUpward

      protected void swimUpward(TagKey<Fluid> fluid)
      Overrides:
      swimUpward in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named swimUpward Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)V
      intermediary method_6010 Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
      official c Lbwf;c(Layk;)V
    • canAttack

      protected boolean canAttack()
      Overrides:
      canAttack in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named canAttack Lnet/minecraft/entity/mob/SlimeEntity;canAttack()Z
      intermediary method_7163 Lnet/minecraft/class_1621;method_7163()Z
      official gk Lcnf;gk()Z
    • getDamageAmount

      protected float getDamageAmount()
      Overrides:
      getDamageAmount in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getDamageAmount Lnet/minecraft/entity/mob/SlimeEntity;getDamageAmount()F
      intermediary method_7158 Lnet/minecraft/class_1621;method_7158()F
      official gl Lcnf;gl()F
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official e Lbwf;e(Lbtz;)Laxe;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbwf;o_()Laxe;
    • getSquishSound

      protected SoundEvent getSquishSound()
      Overrides:
      getSquishSound in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getSquishSound Lnet/minecraft/entity/mob/SlimeEntity;getSquishSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_7160 Lnet/minecraft/class_1621;method_7160()Lnet/minecraft/class_3414;
      official gm Lcnf;gm()Laxe;
    • getJumpSound

      protected SoundEvent getJumpSound()
      Overrides:
      getJumpSound in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      named getJumpSound Lnet/minecraft/entity/mob/SlimeEntity;getJumpSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_7153 Lnet/minecraft/class_1621;method_7153()Lnet/minecraft/class_3414;
      official gn Lcnf;gn()Laxe;