Class Slime
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LivingEntity
-
- net.minecraft.world.entity.monster.Slime
-
- Direct Known Subclasses:
MagmaCube
public class Slime extends LivingEntity implements Enemy
-
-
Field Summary
Fields Modifier and Type Field Description float
field_40139_a
float
field_767_b
float
field_768_a
-
Fields inherited from class net.minecraft.world.entity.LivingEntity
activePotionsMap, arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, carryoverDamage, dead, deathTime, defaultPitch, entityAge, entityType, experienceValue, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9345_F, field_9349_D, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, maxHurtTime, moveForward, moveSpeed, moveStrafing, naturalArmorRating, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevCameraPitch, prevHealth, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, targetTasks, tasks, texture
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Slime
createInstance()
protected void
entityInit()
protected int
func_40130_ai()
protected int
func_40131_af()
protected boolean
func_40133_ao()
protected boolean
func_40134_ak()
protected void
func_40136_ag()
protected boolean
func_40137_ah()
protected java.lang.String
func_40138_aj()
boolean
getCanSpawnHere()
protected java.lang.String
getDeathSound()
protected int
getDropItemId()
protected java.lang.String
getHurtSound()
int
getMaxHealth()
protected java.lang.String
getSlimeParticle()
int
getSlimeSize()
protected float
getSoundVolume()
int
getVerticalFaceSpeed()
void
onCollideWithPlayer(Player var1)
void
onUpdate()
void
readEntityFromNBT(NBTTagCompound var1)
void
setDead()
void
setSlimeSize(int var1)
protected void
updateEntityActionState()
void
writeEntityToNBT(NBTTagCompound var1)
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, attackEntityAsMob, attackEntityFrom, canBeCollidedWith, canBePushed, canBreatheUnderwater, canDespawn, canEntityBeSeen, clearActivePotions, damageArmor, damageEntity, decreaseAirSupply, despawnEntity, detachHome, dropFewItems, dropRareDrop, eatGrassBonus, faceEntity, fall, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCreatureAttribute, getEffectiveHealth, getExperiencePoints, getEyeHeight, getHeadYaw, getHealth, getHeldItem, getHomePosition, getItemIcon, getJumpHelper, getLastAttackingEntity, getLivingSound, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSpeedModifier, getSwingProgress, getTalkInterval, getTexture, getTotalArmorValue, handleHealthUpdate, hasHome, heal, isAIEnabled, isBlocking, isChild, isClientWorld, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isPlayer, isPlayerSleeping, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, jump, kill, knockBack, moveEntityWithHeading, onChangedPotionEffect, onDeath, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onLivingUpdate, onNewPotionEffect, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, renderBrokenItemStack, setAttackTarget, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, updateAITick, updatePotionEffects, updateRidden
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, canAttackWithItem, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getMountedYOffset, getParts, getShadowSize, getUsername, getYOffset, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onKillEntity, onStruckByLightning, outfitWithItem, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Constructor Detail
-
Slime
public Slime(World var1)
-
-
Method Detail
-
entityInit
protected void entityInit()
- Overrides:
entityInit
in classLivingEntity
-
setSlimeSize
public void setSlimeSize(int var1)
-
getMaxHealth
public int getMaxHealth()
- Specified by:
getMaxHealth
in classLivingEntity
-
getSlimeSize
public int getSlimeSize()
-
writeEntityToNBT
public void writeEntityToNBT(NBTTagCompound var1)
- Overrides:
writeEntityToNBT
in classLivingEntity
-
readEntityFromNBT
public void readEntityFromNBT(NBTTagCompound var1)
- Overrides:
readEntityFromNBT
in classLivingEntity
-
getSlimeParticle
protected java.lang.String getSlimeParticle()
-
func_40138_aj
protected java.lang.String func_40138_aj()
-
onUpdate
public void onUpdate()
- Overrides:
onUpdate
in classLivingEntity
-
updateEntityActionState
protected void updateEntityActionState()
- Overrides:
updateEntityActionState
in classLivingEntity
-
func_40136_ag
protected void func_40136_ag()
-
func_40131_af
protected int func_40131_af()
-
createInstance
protected Slime createInstance()
-
onCollideWithPlayer
public void onCollideWithPlayer(Player var1)
- Overrides:
onCollideWithPlayer
in classEntity
-
func_40137_ah
protected boolean func_40137_ah()
-
func_40130_ai
protected int func_40130_ai()
-
getHurtSound
protected java.lang.String getHurtSound()
- Overrides:
getHurtSound
in classLivingEntity
-
getDeathSound
protected java.lang.String getDeathSound()
- Overrides:
getDeathSound
in classLivingEntity
-
getDropItemId
protected int getDropItemId()
- Overrides:
getDropItemId
in classLivingEntity
-
getCanSpawnHere
public boolean getCanSpawnHere()
- Overrides:
getCanSpawnHere
in classLivingEntity
-
getSoundVolume
protected float getSoundVolume()
- Overrides:
getSoundVolume
in classLivingEntity
-
getVerticalFaceSpeed
public int getVerticalFaceSpeed()
- Overrides:
getVerticalFaceSpeed
in classLivingEntity
-
func_40133_ao
protected boolean func_40133_ao()
-
func_40134_ak
protected boolean func_40134_ak()
-
-