Package net.minecraft.entity.monster
Class EntityPigZombie
- java.lang.Object
- 
 public class EntityPigZombie extends EntityZombie + This portion of EaglercraftX contains deobfuscated Minecraft 1.8 source code. Minecraft 1.8.8 bytecode is (c) 2015 Mojang AB. "Do not distribute!" Mod Coder Pack v9.18 deobfuscation configs are (c) Copyright by the MCP Team EaglercraftX 1.8 patch files are (c) 2022-2023 LAX1DUDE. All Rights Reserved. WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR. NOT FOR COMMERCIAL OR MALICIOUS USE (please read the 'LICENSE' file this repo's root directory for more info)
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class net.minecraft.entity.EntityLivingEntityLiving.SpawnPlacementType
 - 
Nested classes/interfaces inherited from class net.zxmushroom63.plugins.BaseDataBaseData.BooleanCallback, BaseData.BooleanCallbackArr, BaseData.DataBooleanCallback, BaseData.DataBooleanCallbackArr, BaseData.DataDoubleCallback, BaseData.DataDoubleCallbackArr, BaseData.DataFloatCallback, BaseData.DataFloatCallbackArr, BaseData.DataIntCallback, BaseData.DataIntCallbackArr, BaseData.DataObjectCallback, BaseData.DataObjectCallbackArr, BaseData.DataStringCallback, BaseData.DataStringCallbackArr, BaseData.DataVoidCallback, BaseData.DoubleCallback, BaseData.DoubleCallbackArr, BaseData.FloatCallback, BaseData.FloatCallbackArr, BaseData.IntCallback, BaseData.IntCallbackArr, BaseData.ObjectCallback, BaseData.ObjectCallbackArr, BaseData.StringCallback, BaseData.StringCallbackArr, BaseData.VoidCallback
 
- 
 - 
Field Summary- 
Fields inherited from class net.minecraft.entity.monster.EntityZombiereinforcementChance
 - 
Fields inherited from class net.minecraft.entity.EntityCreatureFLEEING_SPEED_MODIFIER, FLEEING_SPEED_MODIFIER_UUID
 - 
Fields inherited from class net.minecraft.entity.EntityLivingequipmentDropChances, experienceValue, livingSoundTime
 - 
Fields inherited from class net.minecraft.entity.EntityLivingBasearrowHitTimer, attackedAtYaw, attackingPlayer, cameraPitch, dead, deathTime, entityAge, field_70741_aB, field_70769_ao, field_70770_ap, hurtTime, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, onGroundSpeedFactor, prevCameraPitch, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, swingProgressInt
 - 
Fields inherited from class net.minecraft.entity.EntityaddedToChunk, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, fallDistance, field_181016_an, field_181017_ao, field_181018_ap, fireResistance, firstUpdate, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj
 - 
Fields inherited from interface net.minecraft.entity.monster.IMobmobSelector, VISIBLE_MOB_SELECTOR
 
- 
 - 
Constructor SummaryConstructors Constructor Description EntityPigZombie(World worldIn)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddRandomDrop()+ Causes this Entity to drop a random item.protected voidapplyEntityAttributes()booleanattackEntityFrom(DamageSource damagesource, float f)+ Called when the entity is attacked.protected voiddropFewItems(boolean var1, int i)+ Drop 0-2 items of this living's typebooleangetCanSpawnHere()+ Checks if the entity's current position is a valid location to spawn this entity.protected java.lang.StringgetDeathSound()+ Returns the sound this mob makes on death.protected java.lang.StringgetHurtSound()+ Returns the sound this mob makes when it is hurt.protected java.lang.StringgetLivingSound()+ Returns the sound this mob makes while it's alive.booleaninteract(EntityPlayer var1)+ Called when a player interacts with a mob.booleanisAngry()booleanisNotColliding()+ Checks that the entity is not colliding with any blocks / liquidsIEntityLivingDataonInitialSpawn(DifficultyInstance difficultyinstance, IEntityLivingData ientitylivingdata)+ Called only once on an entity when first time spawned, via egg, mob spawner, natural spawning etc, but not called when entity is reloaded from nbt.voidonUpdate()+ Called to update the entity's position/logic.voidreadEntityFromNBT(NBTTagCompound nbttagcompound)+ (abstract) Protected helper method to read subclass entity data from NBT.protected voidsetEquipmentBasedOnDifficulty(DifficultyInstance var1)+ Gives armor or weapon for entity based on given DifficultyInstancevoidsetRevengeTarget(EntityLivingBase entitylivingbase)protected voidupdateAITasks()voidwriteEntityToNBT(NBTTagCompound nbttagcompound)+ (abstract) Protected helper method to write subclass entity data to NBT.- 
Methods inherited from class net.minecraft.entity.monster.EntityZombieattackEntityAsMob, canDespawn, convertToVillager, entityInit, func_175448_a, getConversionTimeBoost, getCreatureAttribute, getDropItem, getExperiencePoints, getEyeHeight, getTotalArmorValue, getYOffset, handleStatusUpdate, isBreakDoorsTaskSet, isChild, isConverting, isVillager, multiplySize, onDeath, onKillEntity, playStepSound, setChild, setChildSize, setSize, setVillager, startConversion
 - 
Methods inherited from class net.minecraft.entity.monster.EntityMobcanDropLoot, getBlockPathWeight, getFallSoundString, getSplashSound, getSwimSound, isValidLightLevel, onLivingUpdate
 - 
Methods inherited from class net.minecraft.entity.EntityCreaturedetachHome, func_142017_o, getHomePosition, getMaximumHomeDistance, hasHome, hasPath, isWithinHomeDistanceCurrentPosition, isWithinHomeDistanceFromPosition, setHomePosAndDistance, updateLeashedState
 - 
Methods inherited from class net.minecraft.entity.EntityLivingallowLeashing, canAttackClass, canBeSteered, canPickUpLoot, clearLeashed, despawnEntity, dropEquipment, eatGrassBonus, enablePersistence, faceEntity, func_110146_f, getArmorItemForSlot, getArmorPosition, getAttackTarget, getCurrentArmor, getEquipmentInSlot, getHeldItem, getInventory, getLeashed, getLeashedToEntity, getMaxFallHeight, getMaxSpawnedInChunk, getRenderSizeModifier, getTalkInterval, getVerticalFaceSpeed, interactFirst, isAIDisabled, isNoDespawnRequired, isServerWorld, onEntityUpdate, playLivingSound, replaceItemInInventory, setAIMoveSpeed, setAttackTarget, setCanPickUpLoot, setCurrentItemOrArmor, setEnchantmentBasedOnDifficulty, setEquipmentDropChance, setLeashedToEntity, setMoveForward, setNoAI, spawnExplosionParticle, updateEntityActionState, updateEquipmentIfNeeded
 - 
Methods inherited from class net.minecraft.entity.EntityLivingBaseaddPotionEffect, applyArmorCalculations, applyPotionDamageCalculations, canBeCollidedWith, canBePushed, canBreatheUnderwater, canEntityBeSeen, clearActivePotions, collideWithEntity, collideWithNearbyEntities, damageArmor, damageEntity, decreaseAirSupply, dismountEntity, fall, func_181013_g, func_94060_bK, getAbsorptionAmount, getActivePotionEffect, getActivePotionEffects, getAge, getAIMoveSpeed, getAITarget, getAlwaysRenderNameTagForRender, getArrowCountInEntity, getAttributeMap, getCombatTracker, getEntityAttribute, getHealth, getJumpUpwardsMotion, getLastAttacker, getLastAttackerTime, getLook, getLookVec, getMaxHealth, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwingProgress, getTeam, handleJumpLava, heal, isEntityAlive, isEntityUndead, isMovementBlocked, isOnLadder, isOnSameTeam, isOnTeam, isPlayer, isPlayerSleeping, isPotionActive, isPotionActive, isPotionApplicable, jump, kill, knockBack, loadPluginData, makePluginData, markPotionsDirty, mountEntity, moveEntityWithHeading, onChangedPotionEffect, onDeathUpdate, onFinishedPotionEffect, onItemPickup, onKillCommand, onNewPotionEffect, performHurtAnimation, removePotionEffect, removePotionEffectClient, renderBrokenItemStack, resetPotionEffectMetadata, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setArrowCountInEntity, setBeenAttacked, setHealth, setJumping, setLastAttacker, setPositionAndRotation2, setRotationYawHead, setSprinting, swingItem, updateAITick, updateArmSwingProgress, updateFallState, updatePotionEffects, updatePotionMetadata, updateRidden
 - 
Methods inherited from class net.minecraft.entity.EntityaddChatMessage, addEntityCrashInfo, addToPlayerScore, addVelocity, applyEnchantments, applyEntityCollision, canAttackWithItem, canCommandSenderUseCommand, canRenderOnFire, canTriggerWalking, clientUpdateEntityNBT, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, doBlockCollisions, doesEntityNotTriggerPressurePlate, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fromNBT, func_181012_aH, func_181014_aG, func_181015_d, getAir, getAlwaysRenderNameTag, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSenderEntity, getCustomNameTag, getDataWatcher, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSqToCenter, getDistanceSqToEntity, getDistanceToEntity, getEntityBoundingBox, getEntityId, getEntityString, getEntityWorld, getExplosionResistance, getFlag, getHorizontalFacing, getHoverEvent, getMaxInPortalTime, getMountedYOffset, getName, getNBTTagCompound, getParts, getPortalCooldown, getPosition, getPositionEyes, getPositionVector, getUniqueID, getVectorForRotation, handleWaterMovement, hasCustomName, hashCode, hitByEntity, interactAt, isBurning, isEating, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToExplosions, isImmuneToFire, isInLava, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isOutsideBorder, isPushedByWater, isRiding, isSilent, isSneaking, isSprinting, isWet, moveEntity, moveFlying, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onDataWatcherUpdate, onStruckByLightning, playSound, preparePlayerToSpawn, pushOutOfBlocks, rayTrace, readFromNBT, resetHeight, sendCommandFeedback, setAir, setAlwaysRenderNameTag, setAngles, setCustomNameTag, setDead, setEating, setEntityBoundingBox, setEntityId, setFire, setFlag, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setOutsideBorder, setPosition, setPositionAndRotation, setPositionAndUpdate, setRotation, setSilent, setSneaking, setVelocity, setWorld, shouldSetPosAfterLoading, spawnRunningParticles, toNBT, toString, travelToDimension, updateRiderPosition, verifyExplosion, writeMountToNBT, writeToNBT, writeToNBTOptional
 - 
Methods inherited from class net.zxmushroom63.plugins.BaseDataexecFuncBaseData, execFuncObject, execFuncString, getBaseData, getBaseDataArr, getBoolean, getBooleanArr, getByte, getByteArr, getChar, getCharArr, getDouble, getDoubleArr, getFloat, getFloatArr, getInt, getIntArr, getObject, getObjectArr, getShort, getShortArr, getString, getStringArr, has, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setCallbackBoolean, setCallbackBooleanArr, setCallbackBooleanArrWithDataArg, setCallbackBooleanWithDataArg, setCallbackDouble, setCallbackDoubleArr, setCallbackDoubleArrWithDataArg, setCallbackDoubleWithDataArg, setCallbackFloat, setCallbackFloatArr, setCallbackFloatArrWithDataArg, setCallbackFloatWithDataArg, setCallbackInt, setCallbackIntArr, setCallbackIntArrWithDataArg, setCallbackIntWithDataArg, setCallbackObject, setCallbackObjectArr, setCallbackObjectArrWithDataArg, setCallbackObjectWithDataArg, setCallbackString, setCallbackStringArr, setCallbackStringArrWithDataArg, setCallbackStringWithDataArg, setCallbackVoid, setCallbackVoidWithDataArg, setNull
 
- 
 
- 
- 
- 
Constructor Detail- 
EntityPigZombiepublic EntityPigZombie(World worldIn) 
 
- 
 - 
Method Detail- 
setRevengeTargetpublic void setRevengeTarget(EntityLivingBase entitylivingbase) - Overrides:
- setRevengeTargetin class- EntityLivingBase
 
 - 
applyEntityAttributesprotected void applyEntityAttributes() - Overrides:
- applyEntityAttributesin class- EntityZombie
 
 - 
onUpdatepublic void onUpdate() + Called to update the entity's position/logic.- Overrides:
- onUpdatein class- EntityLivingBase
 
 - 
updateAITasksprotected void updateAITasks() - Overrides:
- updateAITasksin class- EntityLiving
 
 - 
getCanSpawnHerepublic boolean getCanSpawnHere() + Checks if the entity's current position is a valid location to spawn this entity.- Overrides:
- getCanSpawnHerein class- EntityMob
 
 - 
isNotCollidingpublic boolean isNotColliding() + Checks that the entity is not colliding with any blocks / liquids- Overrides:
- isNotCollidingin class- EntityLiving
 
 - 
writeEntityToNBTpublic void writeEntityToNBT(NBTTagCompound nbttagcompound) + (abstract) Protected helper method to write subclass entity data to NBT.- Overrides:
- writeEntityToNBTin class- EntityZombie
 
 - 
readEntityFromNBTpublic void readEntityFromNBT(NBTTagCompound nbttagcompound) + (abstract) Protected helper method to read subclass entity data from NBT.- Overrides:
- readEntityFromNBTin class- EntityZombie
 
 - 
attackEntityFrompublic boolean attackEntityFrom(DamageSource damagesource, float f) + Called when the entity is attacked.- Overrides:
- attackEntityFromin class- EntityZombie
 
 - 
isAngrypublic boolean isAngry() 
 - 
getLivingSoundprotected java.lang.String getLivingSound() + Returns the sound this mob makes while it's alive.- Overrides:
- getLivingSoundin class- EntityZombie
 
 - 
getHurtSoundprotected java.lang.String getHurtSound() + Returns the sound this mob makes when it is hurt.- Overrides:
- getHurtSoundin class- EntityZombie
 
 - 
getDeathSoundprotected java.lang.String getDeathSound() + Returns the sound this mob makes on death.- Overrides:
- getDeathSoundin class- EntityZombie
 
 - 
dropFewItemsprotected void dropFewItems(boolean var1, int i)+ Drop 0-2 items of this living's type- Overrides:
- dropFewItemsin class- EntityLiving
 
 - 
interactpublic boolean interact(EntityPlayer var1) + Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.- Overrides:
- interactin class- EntityZombie
 
 - 
addRandomDropprotected void addRandomDrop() + Causes this Entity to drop a random item.- Overrides:
- addRandomDropin class- EntityZombie
 
 - 
setEquipmentBasedOnDifficultyprotected void setEquipmentBasedOnDifficulty(DifficultyInstance var1) + Gives armor or weapon for entity based on given DifficultyInstance- Overrides:
- setEquipmentBasedOnDifficultyin class- EntityZombie
 
 - 
onInitialSpawnpublic IEntityLivingData onInitialSpawn(DifficultyInstance difficultyinstance, IEntityLivingData ientitylivingdata) + Called only once on an entity when first time spawned, via egg, mob spawner, natural spawning etc, but not called when entity is reloaded from nbt. Mainly used for initializing attributes and inventory- Overrides:
- onInitialSpawnin class- EntityZombie
 
 
- 
 
-