Class MagmaCubeEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

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

    • MagmaCubeEntity

      public MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdr;<init>(Lbdv;Lcjw;)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
  • Method Details

    • createMagmaCubeAttributes

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

      public static boolean canMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official b Lbuc;b(Lbdv;Lcjx;Lbek;Lgp;Laoh;)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
      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
    • canSpawn

      public boolean canSpawn(WorldView world)
      Overrides:
      canSpawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbei;a(Lcjz;)Z
      intermediary method_5957 Lnet/minecraft/class_1308;method_5957(Lnet/minecraft/class_4538;)Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldView;)Z
    • setSize

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

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

      protected ParticleEffect getParticles()
      Overrides:
      getParticles in class SlimeEntity
      Mappings:
      Namespace Name Mixin selector
      official p Lbum;p()Lio;
      intermediary method_7162 Lnet/minecraft/class_1621;method_7162()Lnet/minecraft/class_2394;
      named getParticles Lnet/minecraft/entity/mob/SlimeEntity;getParticles()Lnet/minecraft/particle/ParticleEffect;
    • 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
      official bK Lbdr;bK()Z
      intermediary method_5809 Lnet/minecraft/class_1297;method_5809()Z
      named isOnFire Lnet/minecraft/entity/Entity;isOnFire()Z
    • getTicksUntilNextJump

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

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

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

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

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Called when an entity falls.

      Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like TntMinecartEntity.

      Overrides:
      handleFallDamage in class LivingEntity
      Returns:
      whether to play the sound when falling on honey block; false for all entities except horses and llamas
      Mappings:
      Namespace Name Mixin selector
      official a Lbdr;a(FFLbcz;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • canAttack

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

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

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

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

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

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