Package net.minecraft.entity.mob
Class MagmaCubeEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.SlimeEntity
net.minecraft.entity.mob.MagmaCubeEntity
- All Implemented Interfaces:
EntityLike,Monster,CommandOutput,Nameable
public class MagmaCubeEntity extends SlimeEntity
- Mappings:
Namespace Name official bfeintermediary net/minecraft/class_1589named net/minecraft/entity/mob/MagmaCubeEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.SlimeEntity
SlimeEntity.FaceTowardTargetGoal, SlimeEntity.MoveGoal, SlimeEntity.RandomLookGoal, SlimeEntity.SlimeMoveControl, SlimeEntity.SwimmingGoalNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.class_5799, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields inherited from class net.minecraft.entity.mob.SlimeEntity
lastStretch, stretch, targetStretchFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description MagmaCubeEntity(EntityType<? extends MagmaCubeEntity> type, World world) -
Method Summary
Modifier and Type Method Description protected booleancanAttack()static booleancanMagmaCubeSpawn(EntityType<MagmaCubeEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)booleancanSpawn(WorldView world)static DefaultAttributeContainer.BuildercreateMagmaCubeAttributes()floatgetBrightnessAtEyes()protected floatgetDamageAmount()protected SoundEventgetDeathSound()protected SoundEventgetHurtSound(DamageSource source)protected SoundEventgetJumpSound()protected IdentifiergetLootTableId()protected ParticleEffectgetParticles()protected SoundEventgetSquishSound()protected intgetTicksUntilNextJump()booleanhandleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)booleanisOnFire()protected voidjump()protected voidsetSize(int size, boolean heal)protected voidswimUpward(Tag<Fluid> fluid)protected voidupdateStretch()Methods inherited from class net.minecraft.entity.mob.SlimeEntity
calculateDimensions, canSpawn, damage, getActiveEyeHeight, getDimensions, getLookPitchSpeed, getSize, getSoundVolume, getType, initDataTracker, initGoals, initialize, isDisallowedInPeaceful, isSmall, makesJumpSound, onPlayerCollision, onTrackedDataSet, pushAwayFrom, readCustomDataFromTag, remove, tick, writeCustomDataToTagMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canTarget, canTarget, canUseRangedWeapon, checkDespawn, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getAmbientSound, getArmorItems, getBodyYawSpeed, getCurrentExperience, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookYawSpeed, getLootContextBuilder, getLootTable, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29243, method_29244, method_33191, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, tickMovement, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, collides, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damage, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, kill, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_30633, method_31079, method_32318, method_33579, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, pushAway, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePostDeath, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30330, method_30951, method_31744, method_32877, method_33332, method_33567, method_33568, method_33569, method_33570, method_33571, method_33573, method_33574, method_33575, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengers, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Constructor Details
-
MagmaCubeEntity
- Mappings:
Namespace Name Mixin selector official <init>Laqv;<init>(Laqz;Lbtv;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
createMagmaCubeAttributes
- Mappings:
Namespace Name Mixin selector official mLbfe;m()Lash$a;intermediary method_26917Lnet/minecraft/class_1589;method_26917()Lnet/minecraft/class_5132$class_5133;named createMagmaCubeAttributesLnet/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 bLbfe;b(Laqz;Lbtw;Larl;Lfx;Ljava/util/Random;)Zintermediary method_20678Lnet/minecraft/class_1589;method_20678(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Znamed canMagmaCubeSpawnLnet/minecraft/entity/mob/MagmaCubeEntity;canMagmaCubeSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
-
canSpawn
-
setSize
protected void setSize(int size, boolean heal)- Overrides:
setSizein classSlimeEntity- Mappings:
Namespace Name Mixin selector official aLbfo;a(IZ)Vintermediary method_7161Lnet/minecraft/class_1621;method_7161(IZ)Vnamed setSizeLnet/minecraft/entity/mob/SlimeEntity;setSize(IZ)V
-
getBrightnessAtEyes
public float getBrightnessAtEyes()- Overrides:
getBrightnessAtEyesin classEntity- Mappings:
Namespace Name Mixin selector official aULaqv;aU()Fintermediary method_5718Lnet/minecraft/class_1297;method_5718()Fnamed getBrightnessAtEyesLnet/minecraft/entity/Entity;getBrightnessAtEyes()F
-
getParticles
- Overrides:
getParticlesin classSlimeEntity- Mappings:
Namespace Name Mixin selector official oLbfo;o()Lhj;intermediary method_7162Lnet/minecraft/class_1621;method_7162()Lnet/minecraft/class_2394;named getParticlesLnet/minecraft/entity/mob/SlimeEntity;getParticles()Lnet/minecraft/particle/ParticleEffect;
-
getLootTableId
- Overrides:
getLootTableIdin classSlimeEntity- Mappings:
Namespace Name Mixin selector official MLarj;M()Lwb;intermediary method_5991Lnet/minecraft/class_1308;method_5991()Lnet/minecraft/class_2960;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
isOnFire
public boolean isOnFire() -
getTicksUntilNextJump
protected int getTicksUntilNextJump()- Overrides:
getTicksUntilNextJumpin classSlimeEntity- Mappings:
Namespace Name Mixin selector official rLbfo;r()Iintermediary method_7154Lnet/minecraft/class_1621;method_7154()Inamed getTicksUntilNextJumpLnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
-
updateStretch
protected void updateStretch()- Overrides:
updateStretchin classSlimeEntity- Mappings:
Namespace Name Mixin selector official fjLbfo;fj()Vintermediary method_7156Lnet/minecraft/class_1621;method_7156()Vnamed updateStretchLnet/minecraft/entity/mob/SlimeEntity;updateStretch()V
-
jump
protected void jump()- Overrides:
jumpin classSlimeEntity- Mappings:
Namespace Name Mixin selector official eiLari;ei()Vintermediary method_6043Lnet/minecraft/class_1309;method_6043()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
swimUpward
- Overrides:
swimUpwardin classMobEntity- Mappings:
Namespace Name Mixin selector official cLari;c(Lafc;)Vintermediary method_6010Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_3494;)Vnamed swimUpwardLnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/tag/Tag;)V
-
handleFallDamage
public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)- Overrides:
handleFallDamagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqv;a(FFLaqf;)Zintermediary method_5747Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Znamed handleFallDamageLnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
-
canAttack
protected boolean canAttack()- Overrides:
canAttackin classSlimeEntity- Mappings:
Namespace Name Mixin selector official fkLbfo;fk()Zintermediary method_7163Lnet/minecraft/class_1621;method_7163()Znamed canAttackLnet/minecraft/entity/mob/SlimeEntity;canAttack()Z
-
getDamageAmount
protected float getDamageAmount()- Overrides:
getDamageAmountin classSlimeEntity- Mappings:
Namespace Name Mixin selector official flLbfo;fl()Fintermediary method_7158Lnet/minecraft/class_1621;method_7158()Fnamed getDamageAmountLnet/minecraft/entity/mob/SlimeEntity;getDamageAmount()F
-
getHurtSound
- Overrides:
getHurtSoundin classSlimeEntity- Mappings:
Namespace Name Mixin selector official cLari;c(Laqf;)Laef;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classSlimeEntity- Mappings:
Namespace Name Mixin selector official qLari;q()Laef;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
getSquishSound
- Overrides:
getSquishSoundin classSlimeEntity- Mappings:
Namespace Name Mixin selector official fmLbfo;fm()Laef;intermediary method_7160Lnet/minecraft/class_1621;method_7160()Lnet/minecraft/class_3414;named getSquishSoundLnet/minecraft/entity/mob/SlimeEntity;getSquishSound()Lnet/minecraft/sound/SoundEvent;
-
getJumpSound
- Overrides:
getJumpSoundin classSlimeEntity- Mappings:
Namespace Name Mixin selector official fnLbfo;fn()Laef;intermediary method_7153Lnet/minecraft/class_1621;method_7153()Lnet/minecraft/class_3414;named getJumpSoundLnet/minecraft/entity/mob/SlimeEntity;getJumpSound()Lnet/minecraft/sound/SoundEvent;
-