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
public class SlimeEntity extends MobEntity implements Monster
- Mappings:
Namespace Name official wbintermediary net/minecraft/class_1938named net/minecraft/entity/mob/SlimeEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classSlimeEntity.FaceTowardTargetGoal(package private) static classSlimeEntity.MoveGoal(package private) static classSlimeEntity.RandomLookGoal(package private) static classSlimeEntity.SlimeMoveControl(package private) static classSlimeEntity.SwimmingGoalNested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
Fields Modifier and Type Field Description floatlastStretchfloatstretchfloattargetStretchprivate booleanwasOnGroundFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_7434, field_7435, field_7436, field_7438, field_7439, field_7456, field_7457, field_7458, field_7462, field_7463, field_7472, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_7357, field_7362, field_7363, field_7364, field_7365, field_7370, field_7390, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inLava, isFireImmune, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, vehicle, 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 Constructor Description SlimeEntity(World world) -
Method Summary
Modifier and Type Method Description voiddeserialize(CompoundTag tag)protected StringgetDeathSound()protected ItemgetDefaultDrop()floatgetEyeHeight()protected StringgetHurtSound()intgetLookPitchSpeed()intgetSize()protected intgetTicksUntilNextJump()protected voidinitDataTracker()protected booleanisBig()protected voidjump()protected booleanmakesJumpSound()voidmethod_7049(int int2)protected floatmethod_7108()EntityDatamethod_7191(LocalDifficulty difficulty, EntityData data)booleanmethod_7202()protected voidmethod_7885(int int2)protected SlimeEntitymethod_7886()protected intmethod_7890()protected Stringmethod_7891()protected booleanmethod_7892()protected voidmethod_7895(LivingEntity livingEntity)protected ParticleTypemethod_7896()voidonPlayerCollision(PlayerEntity player)voidpushAwayFrom(Entity entity)voidremove()voidserialize(CompoundTag tag)voidtick()protected voidupdateStretch()Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, detachLeash, equip, getAmbientSound, getArmorStacks, getAttackTarget, getJumpControl, getLimitPerChunk, getLookControl, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getVisibilityCache, handleStatus, hasNoAi, hasPositionTarget, initEquipment, initializeAttributes, isPersistent, isTameable, lookAtEntity, loot, method_7096, method_7104, method_7106, method_7156, method_7164, method_7177, method_7184, method_7187, method_7188, method_7195, method_7203, method_7204, method_7206, method_7210, method_7214, mobTick, newNavigation, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setAttackTarget, setCanPickUpLoot, setForwardSpeed, setPersistent, tickMovement, tickNewAi, updateEnchantments, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyDamage, canSee, clearStatusEffects, collides, damage, damageArmor, destroy, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttributeContainer, getDamageEnchantmentTarget, getDamageTracker, getEffectInstance, getFallSound, getHandSwingProgress, getHeadRotation, getHealth, getLastHurtTimestamp, getMaxHealth, getRandom, getRotationVector, getScoreboardTeam, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isInSameTeam, isInTeam, isPushable, isSleeping, kill, markEffectsDirty, method_6985, method_7087, method_7091, method_7092, method_7093, method_7098, method_7099, method_7100, method_7102, method_7105, method_7109, method_7110, method_7111, method_7113, method_7114, method_7115, method_7118, method_7123, method_7124, method_7126, method_7128, method_7129, method_7130, method_7132, method_7134, method_7139, method_7142, method_7146, method_7149, method_7153, method_7154, method_7162, method_7166, method_7171, method_7176, method_7178, method_7179, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldRenderName, startRiding, swingHand, tickRiding, tickStatusEffects, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, doesNotCollide, doesRenderOnFire, equals, extinguish, fromClientTag, fromTag, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getDistanceTo, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getMaxNetherPortalTime, getMountedHeightOffset, getName, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTranslationKey, getUuid, getWorld, handleAttack, hasCustomName, hashCode, hasVehicle, increaseTransforms, interactAt, isAttackable, isCustomNameVisible, isFireImmune, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTouchingWater, method_6912, method_6924, method_6926, method_6939, method_6940, method_6943, method_6944, method_6945, method_6948, method_6949, method_6968, method_6971, method_6977, method_6981, method_6984, method_6994, method_6998, method_7008, method_7020, method_7051, method_7058, move, onLightningStrike, onSwimmingStart, playSound, playStepSound, populateCrashReport, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, saveSelfToTag, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInNetherPortal, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setStat, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, squaredDistanceToEntity, teleportToDimension, tickFire, toListTag, toListTag, toString, updateKilledAdvancementCriterion, updatePosition, updatePositionAndAngles, writePlayerData
-
Field Details
-
targetStretch
public float targetStretch- Mappings:
Namespace Name Mixin selector official aLwb;a:Fintermediary field_8245Lnet/minecraft/class_1938;field_8245:Fnamed targetStretchLnet/minecraft/entity/mob/SlimeEntity;targetStretch:F
-
stretch
public float stretch- Mappings:
Namespace Name Mixin selector official bLwb;b:Fintermediary field_8246Lnet/minecraft/class_1938;field_8246:Fnamed stretchLnet/minecraft/entity/mob/SlimeEntity;stretch:F
-
lastStretch
public float lastStretch- Mappings:
Namespace Name Mixin selector official cLwb;c:Fintermediary field_8248Lnet/minecraft/class_1938;field_8248:Fnamed lastStretchLnet/minecraft/entity/mob/SlimeEntity;lastStretch:F
-
wasOnGround
private boolean wasOnGround- Mappings:
Namespace Name Mixin selector official bkLwb;bk:Zintermediary field_8247Lnet/minecraft/class_1938;field_8247:Znamed wasOnGroundLnet/minecraft/entity/mob/SlimeEntity;wasOnGround:Z
-
-
Constructor Details
-
SlimeEntity
- Mappings:
Namespace Name Mixin selector official <init>Lpk;<init>(Ladm;)Vintermediary <init>Lnet/minecraft/class_1745;<init>(Lnet/minecraft/class_99;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLpk;h()Vintermediary method_7043Lnet/minecraft/class_1745;method_7043()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
method_7885
protected void method_7885(int int2)- Mappings:
Namespace Name Mixin selector official aLwb;a(I)Vintermediary method_7885Lnet/minecraft/class_1938;method_7885(I)Vnamed method_7885Lnet/minecraft/entity/mob/SlimeEntity;method_7885(I)V
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official cmLwb;cm()Iintermediary method_7893Lnet/minecraft/class_1938;method_7893()Inamed getSizeLnet/minecraft/entity/mob/SlimeEntity;getSize()I
-
serialize
-
deserialize
- Overrides:
deserializein classMobEntity- Mappings:
Namespace Name Mixin selector official aLpk;a(Ldn;)Vintermediary method_6933Lnet/minecraft/class_1745;method_6933(Lnet/minecraft/class_1405;)Vnamed deserializeLnet/minecraft/entity/Entity;deserialize(Lnet/minecraft/nbt/CompoundTag;)V
-
method_7896
- Mappings:
Namespace Name Mixin selector official nLwb;n()Lcy;intermediary method_7896Lnet/minecraft/class_1938;method_7896()Lnet/minecraft/class_1394;named method_7896Lnet/minecraft/entity/mob/SlimeEntity;method_7896()Lnet/minecraft/client/particle/ParticleType;
-
method_7891
- Mappings:
Namespace Name Mixin selector official ckLwb;ck()Ljava/lang/String;intermediary method_7891Lnet/minecraft/class_1938;method_7891()Ljava/lang/String;named method_7891Lnet/minecraft/entity/mob/SlimeEntity;method_7891()Ljava/lang/String;
-
tick
public void tick() -
updateStretch
protected void updateStretch()- Mappings:
Namespace Name Mixin selector official chLwb;ch()Vintermediary method_7888Lnet/minecraft/class_1938;method_7888()Vnamed updateStretchLnet/minecraft/entity/mob/SlimeEntity;updateStretch()V
-
getTicksUntilNextJump
protected int getTicksUntilNextJump()- Mappings:
Namespace Name Mixin selector official cgLwb;cg()Iintermediary method_7887Lnet/minecraft/class_1938;method_7887()Inamed getTicksUntilNextJumpLnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
-
method_7886
- Mappings:
Namespace Name Mixin selector official cfLwb;cf()Lwb;intermediary method_7886Lnet/minecraft/class_1938;method_7886()Lnet/minecraft/class_1938;named method_7886Lnet/minecraft/entity/mob/SlimeEntity;method_7886()Lnet/minecraft/entity/mob/SlimeEntity;
-
method_7049
public void method_7049(int int2)- Overrides:
method_7049in classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(I)Vintermediary method_7049Lnet/minecraft/class_1745;method_7049(I)Vnamed method_7049Lnet/minecraft/entity/Entity;method_7049(I)V
-
remove
public void remove() -
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector official iLpk;i(Lpk;)Vintermediary method_7050Lnet/minecraft/class_1745;method_7050(Lnet/minecraft/class_1745;)Vnamed pushAwayFromLnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
-
onPlayerCollision
- Overrides:
onPlayerCollisionin classEntity- Mappings:
Namespace Name Mixin selector official dLpk;d(Lwn;)Vintermediary method_7021Lnet/minecraft/class_1745;method_7021(Lnet/minecraft/class_1963;)Vnamed onPlayerCollisionLnet/minecraft/entity/Entity;onPlayerCollision(Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_7895
- Mappings:
Namespace Name Mixin selector official eLwb;e(Lpr;)Vintermediary method_7895Lnet/minecraft/class_1938;method_7895(Lnet/minecraft/class_1752;)Vnamed method_7895Lnet/minecraft/entity/mob/SlimeEntity;method_7895(Lnet/minecraft/entity/LivingEntity;)V
-
getEyeHeight
public float getEyeHeight()- Overrides:
getEyeHeightin classEntity- Mappings:
Namespace Name Mixin selector official aSLpk;aS()Fintermediary method_6965Lnet/minecraft/class_1745;method_6965()Fnamed getEyeHeightLnet/minecraft/entity/Entity;getEyeHeight()F
-
isBig
protected boolean isBig()- Mappings:
Namespace Name Mixin selector official ciLwb;ci()Zintermediary method_7889Lnet/minecraft/class_1938;method_7889()Znamed isBigLnet/minecraft/entity/mob/SlimeEntity;isBig()Z
-
method_7890
protected int method_7890()- Mappings:
Namespace Name Mixin selector official cjLwb;cj()Iintermediary method_7890Lnet/minecraft/class_1938;method_7890()Inamed method_7890Lnet/minecraft/entity/mob/SlimeEntity;method_7890()I
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLpr;bo()Ljava/lang/String;intermediary method_7137Lnet/minecraft/class_1752;method_7137()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official bpLpr;bp()Ljava/lang/String;intermediary method_7138Lnet/minecraft/class_1752;method_7138()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALps;A()Lzw;intermediary method_7183Lnet/minecraft/class_1753;method_7183()Lnet/minecraft/class_2054;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
method_7202
public boolean method_7202()- Overrides:
method_7202in classMobEntity- Mappings:
Namespace Name Mixin selector official bRLps;bR()Zintermediary method_7202Lnet/minecraft/class_1753;method_7202()Znamed method_7202Lnet/minecraft/entity/mob/MobEntity;method_7202()Z
-
method_7108
protected float method_7108()- Overrides:
method_7108in classLivingEntity- Mappings:
Namespace Name Mixin selector official bBLpr;bB()Fintermediary method_7108Lnet/minecraft/class_1752;method_7108()Fnamed method_7108Lnet/minecraft/entity/LivingEntity;method_7108()F
-
getLookPitchSpeed
public int getLookPitchSpeed()- Overrides:
getLookPitchSpeedin classMobEntity- Mappings:
Namespace Name Mixin selector official bQLps;bQ()Iintermediary method_7201Lnet/minecraft/class_1753;method_7201()Inamed getLookPitchSpeedLnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
-
makesJumpSound
protected boolean makesJumpSound()- Mappings:
Namespace Name Mixin selector official cnLwb;cn()Zintermediary method_7894Lnet/minecraft/class_1938;method_7894()Znamed makesJumpSoundLnet/minecraft/entity/mob/SlimeEntity;makesJumpSound()Z
-
method_7892
protected boolean method_7892()- Mappings:
Namespace Name Mixin selector official clLwb;cl()Zintermediary method_7892Lnet/minecraft/class_1938;method_7892()Znamed method_7892Lnet/minecraft/entity/mob/SlimeEntity;method_7892()Z
-
jump
protected void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector official bFLpr;bF()Vintermediary method_7112Lnet/minecraft/class_1752;method_7112()Vnamed jumpLnet/minecraft/entity/LivingEntity;jump()V
-
method_7191
- Overrides:
method_7191in classMobEntity- Mappings:
Namespace Name Mixin selector official aLps;a(Lok;Lpu;)Lpu;intermediary method_7191Lnet/minecraft/class_1753;method_7191(Lnet/minecraft/class_1722;Lnet/minecraft/class_1756;)Lnet/minecraft/class_1756;named method_7191Lnet/minecraft/entity/mob/MobEntity;method_7191(Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/EntityData;)Lnet/minecraft/entity/EntityData;
-