Package net.minecraft.entity.mob
Class SlimeEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.mob.SlimeEntity
- All Implemented Interfaces:
CommandSource,EntityCategoryProvider,Monster
- Direct Known Subclasses:
MagmaCubeEntity
- Mappings:
Namespace Name official adlintermediary net/minecraft/class_979named net/minecraft/entity/mob/SlimeEntity
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static class(package private) static class(package private) static class(package private) static classNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final TrackedData<Integer>floatfloatfloatprivate booleanFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_16513, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, zFields inherited from interface net.minecraft.entity.mob.Monster
MONSTER_PREDICATE, VISIBLE_MONSTER_PREDICATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSpawn()protected SoundEventprotected intprotected Itemfloatprotected SoundEventgetHurtSound(DamageSource damageSource) intprotected Identifierprotected ParticleTypeintgetSize()protected floatprotected intprotected voidprotected voidinitialize(LocalDifficulty difficulty, EntityData data) protected booleanisBig()protected voidjump()protected booleanprotected voidmethod_11213(LivingEntity livingEntity) protected SoundEventprotected SoundEventbooleanstatic voidmethod_13547(class_2934 class_2934) protected voidmethod_3089(int int2, boolean bool) protected SlimeEntityvoidonPlayerCollision(PlayerEntity player) voidonTrackedDataSet(TrackedData<?> data) voidpushAwayFrom(Entity entity) voidvoidremove()voidtick()protected voidvoidMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initEquipment, initializeAttributes, interact, interactMob, isLeashed, isPersistent, lookAtEntity, loot, method_13003, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13950, method_15061, method_2469, method_2638, method_4472, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tickMovement, tickNewAi, turnHead, updateEnchantments, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotationVector, getSoundPitch, getStackInHand, getStatusEffectInstances, getStatusEffects, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_13946, method_13947, method_13948, method_15058, method_2582, method_2607, method_2610, method_2634, method_2649, method_2657, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onKilled, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotation, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslatedName, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, interactAt, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12984, method_12985, method_12991, method_13932, method_15051, method_15052, method_15055, method_2492, method_6344, move, onBlockCollision, onKilledOther, onLightningStrike, onPassengerLookAround, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAchievement, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateWaterState
-
Field Details
-
field_14781
- Mappings:
Namespace Name Mixin selector official bvLadl;bv:Lmy;intermediary field_14781Lnet/minecraft/class_979;field_14781:Lnet/minecraft/class_2921;named field_14781Lnet/minecraft/entity/mob/SlimeEntity;field_14781:Lnet/minecraft/entity/data/TrackedData;
-
targetStretch
public float targetStretch- Mappings:
Namespace Name Mixin selector official aLadl;a:Fintermediary field_3936Lnet/minecraft/class_979;field_3936:Fnamed targetStretchLnet/minecraft/entity/mob/SlimeEntity;targetStretch:F
-
stretch
public float stretch- Mappings:
Namespace Name Mixin selector official bLadl;b:Fintermediary field_3937Lnet/minecraft/class_979;field_3937:Fnamed stretchLnet/minecraft/entity/mob/SlimeEntity;stretch:F
-
lastStretch
public float lastStretch- Mappings:
Namespace Name Mixin selector official cLadl;c:Fintermediary field_3938Lnet/minecraft/class_979;field_3938:Fnamed lastStretchLnet/minecraft/entity/mob/SlimeEntity;lastStretch:F
-
wasOnGround
private boolean wasOnGround- Mappings:
Namespace Name Mixin selector official bwLadl;bw:Zintermediary field_12093Lnet/minecraft/class_979;field_12093:Znamed wasOnGroundLnet/minecraft/entity/mob/SlimeEntity;wasOnGround:Z
-
-
Constructor Details
-
SlimeEntity
- Mappings:
Namespace Name Mixin selector official <init>Lvg;<init>(Lamu;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initGoals
protected void initGoals() -
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official iLvg;i()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_3089
protected void method_3089(int int2, boolean bool) - Mappings:
Namespace Name Mixin selector official aLadl;a(IZ)Vintermediary method_3089Lnet/minecraft/class_979;method_3089(IZ)Vnamed method_3089Lnet/minecraft/entity/mob/SlimeEntity;method_3089(IZ)V
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official dlLadl;dl()Iintermediary method_3098Lnet/minecraft/class_979;method_3098()Inamed getSizeLnet/minecraft/entity/mob/SlimeEntity;getSize()I
-
method_13547
- Mappings:
Namespace Name Mixin selector official cLadl;c(Lry;)Vintermediary method_13547Lnet/minecraft/class_979;method_13547(Lnet/minecraft/class_2934;)Vnamed method_13547Lnet/minecraft/entity/mob/SlimeEntity;method_13547(Lnet/minecraft/class_2934;)V
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLvg;b(Lfy;)Vintermediary method_2528Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lfy;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
method_13242
public boolean method_13242()- Mappings:
Namespace Name Mixin selector official dmLadl;dm()Zintermediary method_13242Lnet/minecraft/class_979;method_13242()Znamed method_13242Lnet/minecraft/entity/mob/SlimeEntity;method_13242()Z
-
getParticles
- Mappings:
Namespace Name Mixin selector official pLadl;p()Lfj;intermediary method_11214Lnet/minecraft/class_979;method_11214()Lnet/minecraft/class_2562;named getParticlesLnet/minecraft/entity/mob/SlimeEntity;getParticles()Lnet/minecraft/client/particle/ParticleType;
-
tick
public void tick() -
updateStretch
protected void updateStretch()- Mappings:
Namespace Name Mixin selector official dgLadl;dg()Vintermediary method_3093Lnet/minecraft/class_979;method_3093()Vnamed updateStretchLnet/minecraft/entity/mob/SlimeEntity;updateStretch()V
-
getTicksUntilNextJump
protected int getTicksUntilNextJump()- Mappings:
Namespace Name Mixin selector official dfLadl;df()Iintermediary method_3092Lnet/minecraft/class_979;method_3092()Inamed getTicksUntilNextJumpLnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
-
method_3091
- Mappings:
Namespace Name Mixin selector official deLadl;de()Ladl;intermediary method_3091Lnet/minecraft/class_979;method_3091()Lnet/minecraft/class_979;named method_3091Lnet/minecraft/entity/mob/SlimeEntity;method_3091()Lnet/minecraft/entity/mob/SlimeEntity;
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLvg;a(Lmy;)Vintermediary method_12974Lnet/minecraft/class_864;method_12974(Lnet/minecraft/class_2921;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
remove
public void remove() -
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector official iLvg;i(Lvg;)Vintermediary method_2552Lnet/minecraft/class_864;method_2552(Lnet/minecraft/class_864;)Vnamed pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official dLvg;d(Laed;)Vintermediary method_2530Lnet/minecraft/class_864;method_2530(Lnet/minecraft/class_988;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_11213
- Mappings:
Namespace Name Mixin selector official eLadl;e(Lvp;)Vintermediary method_11213Lnet/minecraft/class_979;method_11213(Lnet/minecraft/class_1699;)Vnamed method_11213Lnet/minecraft/entity/mob/SlimeEntity;method_11213(Lnet/minecraft/entity/LivingEntity;)V
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official byLvg;by()Fintermediary method_2544Lnet/minecraft/class_864;method_2544()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
isBig
protected boolean isBig()- Mappings:
Namespace Name Mixin selector official dhLadl;dh()Zintermediary method_3094Lnet/minecraft/class_979;method_3094()Znamed isBigLnet/minecraft/entity/mob/SlimeEntity;isBig()Z
-
getDamageAmount
protected int getDamageAmount()- Mappings:
Namespace Name Mixin selector official diLadl;di()Iintermediary method_3095Lnet/minecraft/class_979;method_3095()Inamed getDamageAmountLnet/minecraft/entity/mob/SlimeEntity;getDamageAmount()I
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official dLvp;d(Lur;)Lqe;intermediary method_15060Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
-
deathSound
- Overrides:
deathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cfLvp;cf()Lqe;intermediary method_13049Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;named deathSoundLnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
-
method_13240
- Mappings:
Namespace Name Mixin selector official djLadl;dj()Lqe;intermediary method_13240Lnet/minecraft/class_979;method_13240()Lnet/minecraft/class_2926;named method_13240Lnet/minecraft/entity/mob/SlimeEntity;method_13240()Lnet/minecraft/client/sound/SoundEvent;
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official HLvq;H()Lain;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
getLootTableId
- Overrides:
getLootTableIdin classMobEntity- Mappings:
Namespace Name Mixin selector official JLvq;J()Lnf;intermediary method_13074Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;named getLootTableIdLnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
-
canSpawn
public boolean canSpawn() -
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official cqLvp;cq()Fintermediary method_2602Lnet/minecraft/class_1699;method_2602()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getLookPitchSpeed
public int getLookPitchSpeed()- Overrides:
getLookPitchSpeedin classMobEntity- Mappings:
Namespace Name Mixin selector official NLvq;N()Iintermediary method_2636Lnet/minecraft/class_871;method_2636()Inamed getLookPitchSpeedLnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
-
makesJumpSound
protected boolean makesJumpSound()- Mappings:
Namespace Name Mixin selector official dnLadl;dn()Zintermediary method_3099Lnet/minecraft/class_979;method_3099()Znamed makesJumpSoundLnet/minecraft/entity/mob/SlimeEntity;makesJumpSound()Z
-
jump
protected void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector official cuLvp;cu()Vintermediary method_2612Lnet/minecraft/class_1699;method_2612()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
initialize
- Overrides:
initializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLvq;a(Lua;Lvs;)Lvs;intermediary method_6156Lnet/minecraft/class_871;method_6156(Lnet/minecraft/class_2607;Lnet/minecraft/class_1700;)Lnet/minecraft/class_1700;named initializeLnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-
method_13241
- Mappings:
Namespace Name Mixin selector official dkLadl;dk()Lqe;intermediary method_13241Lnet/minecraft/class_979;method_13241()Lnet/minecraft/class_2926;named method_13241Lnet/minecraft/entity/mob/SlimeEntity;method_13241()Lnet/minecraft/client/sound/SoundEvent;
-