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 afyintermediary net/minecraft/class_979named net/minecraft/entity/mob/SlimeEntity
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatfloatfloatprivate booleanFields 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_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, 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_22434, field_3223, fireResistance, firstUpdate, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, renderDistanceMultiplier, rider, stepHeight, teleporting, ticksAlive, touchingWater, trackedX, trackedY, trackedZ, updateNeeded, 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 -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSpawn()protected intprotected Stringprotected Itemfloatprotected Stringintprotected ParticleTypeintgetSize()protected StringgetSound()protected floatprotected intprotected voidinitialize(LocalDifficulty difficulty, EntityData data) protected booleanisBig()protected voidjump()protected booleanprotected voidmethod_11213(LivingEntity livingEntity) protected SlimeEntityprotected booleanvoidmethod_8364(int int2) voidonPlayerCollision(PlayerEntity player) voidpushAwayFrom(Entity entity) voidvoidremove()protected voidsetSize(int size) voidtick()protected voidvoidMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, getAmbientSound, getArmorStacks, getJumpControl, getLimitPerChunk, getLookControl, getMainSlot, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getStackInHand, getTarget, getVisibilityCache, getXpToDrop, handleStatus, initEquipment, initializeAttributes, isLeashed, isPersistent, isTameable, lookAtEntity, loot, method_2469, method_2638, method_4470, method_4472, method_4485, method_5388, method_6162, method_8374, mobTick, onEatingGrass, openInventory, playAmbientSound, playSpawnEffects, setAiDisabled, setArmorSlot, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, 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, getFallSound, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getScoreboardTeam, getSoundPitch, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isInSameTeam, isInTeam, isPushable, isSleeping, kill, markEffectsDirty, method_10979, method_10981, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_4473, method_6108, method_6109, method_6111, method_6117, method_6149, method_6150, method_6152, onKilled, pushAway, removeEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, startRiding, swingHand, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addVelocity, afterSpawn, attemptSprintingParticles, burn, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canUseCommand, checkBlockCollision, copyPortalInfo, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, equals, extinguish, fromClientNbt, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getLightmapCoordinates, getMaxNetherPortalTime, getMountedHeightOffset, getParts, getPos, getRotationVector, getSavedEntityId, getSplashSound, getSwimSound, getTargetingMargin, 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, isSwimming, isTouchingLava, isTouchingWater, method_10786, method_10941, method_10948, method_10957, method_10965, method_6097, method_6344, move, onKilledOther, onLightningStrike, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setInLava, setInvisible, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRotation, setSilent, setSneaking, setSwimming, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportToDimension, tickFire, toListNbt, toListNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateVelocity, updateWaterState, writePlayerData
-
Field Details
-
targetStretch
public float targetStretch- Mappings:
Namespace Name Mixin selector official aLafy;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 bLafy;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 cLafy;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 biLafy;bi: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>Lwv;<init>(Laqu;)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
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official hLwv;h()Vintermediary method_2484Lnet/minecraft/class_864;method_2484()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
setSize
protected void setSize(int size) - Mappings:
Namespace Name Mixin selector official aLafy;a(I)Vintermediary method_3089Lnet/minecraft/class_979;method_3089(I)Vnamed setSizeLnet/minecraft/entity/mob/SlimeEntity;setSize(I)V
-
getSize
public int getSize()- Mappings:
Namespace Name Mixin selector official ckLafy;ck()Iintermediary method_3098Lnet/minecraft/class_979;method_3098()Inamed getSizeLnet/minecraft/entity/mob/SlimeEntity;getSize()I
-
writeCustomDataToNbt
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLwv;b(Lfn;)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 aLwv;a(Lfn;)Vintermediary method_2498Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
getParticles
- Mappings:
Namespace Name Mixin selector official nLafy;n()Lew;intermediary method_11214Lnet/minecraft/class_979;method_11214()Lnet/minecraft/class_2562;named getParticlesLnet/minecraft/entity/mob/SlimeEntity;getParticles()Lnet/minecraft/client/particle/ParticleType;
-
getSound
- Mappings:
Namespace Name Mixin selector official ciLafy;ci()Ljava/lang/String;intermediary method_3096Lnet/minecraft/class_979;method_3096()Ljava/lang/String;named getSoundLnet/minecraft/entity/mob/SlimeEntity;getSound()Ljava/lang/String;
-
tick
public void tick() -
updateStretch
protected void updateStretch()- Mappings:
Namespace Name Mixin selector official cfLafy;cf()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 ceLafy;ce()Iintermediary method_3092Lnet/minecraft/class_979;method_3092()Inamed getTicksUntilNextJumpLnet/minecraft/entity/mob/SlimeEntity;getTicksUntilNextJump()I
-
method_3091
- Mappings:
Namespace Name Mixin selector official cdLafy;cd()Lafy;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;
-
method_8364
public void method_8364(int int2) - Overrides:
method_8364in classEntity- Mappings:
Namespace Name Mixin selector official iLwv;i(I)Vintermediary method_8364Lnet/minecraft/class_864;method_8364(I)Vnamed method_8364Lnet/minecraft/entity/Entity;method_8364(I)V
-
remove
public void remove() -
pushAwayFrom
- Overrides:
pushAwayFromin classEntity- Mappings:
Namespace Name Mixin selector official iLwv;i(Lwv;)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 dLwv;d(Lahd;)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 eLafy;e(Lxm;)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 aRLwv;aR()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 cgLafy;cg()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 chLafy;ch()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 bnLxm;bn()Ljava/lang/String;intermediary method_2604Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official boLxm;bo()Ljava/lang/String;intermediary method_2605Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
-
getDefaultDrop
- Overrides:
getDefaultDropin classMobEntity- Mappings:
Namespace Name Mixin selector official ALxn;A()Lalq;intermediary method_8375Lnet/minecraft/class_871;method_8375()Lnet/minecraft/class_1069;named getDefaultDropLnet/minecraft/entity/mob/MobEntity;getDefaultDrop()Lnet/minecraft/item/Item;
-
canSpawn
public boolean canSpawn() -
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official bALxm;bA()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 bPLxn;bP()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 clLafy;cl()Zintermediary method_3099Lnet/minecraft/class_979;method_3099()Znamed makesJumpSoundLnet/minecraft/entity/mob/SlimeEntity;makesJumpSound()Z
-
method_3097
protected boolean method_3097()- Mappings:
Namespace Name Mixin selector official cjLafy;cj()Zintermediary method_3097Lnet/minecraft/class_979;method_3097()Znamed method_3097Lnet/minecraft/entity/mob/SlimeEntity;method_3097()Z
-
jump
protected void jump()- Overrides:
jumpin classLivingEntity- Mappings:
Namespace Name Mixin selector official bELxm;bE()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 aLxn;a(Lvu;Lxq;)Lxq;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;
-