Package net.minecraft.src
Class EntityWitherSkull
java.lang.Object
net.minecraft.src.Entity
net.minecraft.src.EntityFireball
net.minecraft.src.EntityWitherSkull
-
Field Summary
Fields inherited from class net.minecraft.src.EntityFireball
accelerationX, accelerationY, accelerationZ, shootingEntityFields inherited from class net.minecraft.src.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityId, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastGroundPosX, lastGroundPosY, lastGroundPosZ, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, nextBlockCheckDistance, noClip, onGround, portalCounter, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, width, worldObj, yOffset, ySize -
Constructor Summary
ConstructorsConstructorDescriptionEntityWitherSkull(World par1World) EntityWitherSkull(World par1World, double par2, double par4, double par6, double par8, double par10, double par12) EntityWitherSkull(World par1World, EntityLivingBase par2EntityLivingBase, double par3, double par5, double par7) -
Method Summary
Modifier and TypeMethodDescriptionbooleanattackEntityFrom(DamageSource par1DamageSource, float par2) Called when the entity is attacked.protected voidattemptSpreadBlightToBlock(int i, int j, int k) booleanReturns true if other Entities should be prevented from moving through this Entity.protected voidfloatgetBlockExplosionResistance(Explosion explosion, World par2World, int par3, int par4, int par5, Block par6Block) Gets a block's resistance to this entity's explosion.protected floatReturn the motion factor for this projectile.booleanReturns true if the entity is on fire.protected booleanbooleanReturn whether this skull comes from an invulnerable (aura) wither boss.protected voidCalled when this EntityFireball hits a block or entity.voidreadEntityFromNBT(NBTTagCompound par1NBTTagCompound) (abstract) Protected helper method to read subclass entity data from NBT.voidsetInvulnerable(boolean par1) Set whether this skull comes from an invulnerable (aura) wither boss.protected voidvoidwriteEntityToNBT(NBTTagCompound par1NBTTagCompound) (abstract) Protected helper method to write subclass entity data to NBT.Methods inherited from class net.minecraft.src.EntityFireball
getBrightness, getBrightnessForRender, getCollisionBorderSize, getShadowSize, isInRangeToRenderDist, onUpdateMethods inherited from class net.minecraft.src.Entity
addComponent, addEntityCrashInfo, addToPlayerScore, addVelocity, appliesConstantForceWhenRidingBoat, applyEntityCollision, attractsLightning, canAttackWithItem, canBePushed, canCollideWithEntity, canEntityTriggerTripwire, canRenderOnFire, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doBlockCollisions, doesEntityApplyToSpawnCap, doesEntityApplyToSquidPossessionCap, doesEntityNotTriggerPressurePlate, doesNotDismountInWater, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, flagAllWatchedObjectsDirty, flingAwayFromEntity, getAir, getAnimalKickMovementMultiplier, getBoundingBox, getCanBeHeadCrabbed, getCollisionBox, getComponent, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityName, getEntityString, getEyeHeight, getFlag, getHeadCrabSharedAttackTarget, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getTeleportDirection, getTranslatedEntityName, getUniqueID, getVisualBoundingBox, getXZDistanceSqToEntity, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hasComponent, hashCode, hasHeadCrabbedSquid, hitByEntity, initComponents, interactFirst, isAffectedByMovementModifiers, isBeingRainedOn, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInsideOpaqueBlock, isEntityInsideSuffocatingBlock, isEntityInsideSuffocatingBlock, isEntityInvulnerable, isImmuneToFire, isImmuneToHeadCrabDamage, isInRangeToRenderVec3D, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isItemEntity, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSecondaryTargetForSquid, isSneaking, isSprinting, isUsingSpecialKey, isValidOngoingAttackTargetForSquid, isValidZombieSecondaryTarget, isWet, kill, mountEntity, mountEntityRemote, moveEntity, moveFlying, movementModifierWhenRidingBoat, newDoubleNBTList, newFloatNBTList, notifyOfWolfHowl, onBlockDispenserConsume, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onFlungBySquidTentacle, onHeadCrabbedBySquid, onKickedByAnimal, onKillEntity, onPossessedRidingEntityDeath, onStruckByLightning, outOfUpdateRangeUpdate, performHurtAnimation, playSound, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldExplodeBlock, shouldSetPosAfterLoading, shouldSetPositionOnLoad, toString, travelToDimension, tryToSetFireToBlocksInContact, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
-
Constructor Details
-
EntityWitherSkull
-
EntityWitherSkull
public EntityWitherSkull(World par1World, EntityLivingBase par2EntityLivingBase, double par3, double par5, double par7) -
EntityWitherSkull
public EntityWitherSkull(World par1World, double par2, double par4, double par6, double par8, double par10, double par12)
-
-
Method Details
-
getMotionFactor
protected float getMotionFactor()Return the motion factor for this projectile. The factor is multiplied by the original motion.- Overrides:
getMotionFactorin classEntityFireball
-
isBurning
public boolean isBurning()Returns true if the entity is on fire. Used by render to add the fire effect on rendering. -
canBeCollidedWith
public boolean canBeCollidedWith()Returns true if other Entities should be prevented from moving through this Entity.- Overrides:
canBeCollidedWithin classEntityFireball
-
attackEntityFrom
Called when the entity is attacked.- Overrides:
attackEntityFromin classEntityFireball
-
entityInit
protected void entityInit()- Overrides:
entityInitin classEntityFireball
-
isInvulnerable
public boolean isInvulnerable()Return whether this skull comes from an invulnerable (aura) wither boss. -
setInvulnerable
public void setInvulnerable(boolean par1) Set whether this skull comes from an invulnerable (aura) wither boss. -
getBlockExplosionResistance
public float getBlockExplosionResistance(Explosion explosion, World par2World, int par3, int par4, int par5, Block par6Block) Description copied from class:EntityGets a block's resistance to this entity's explosion. Used to make rails immune to TNT minecarts' explosions and Wither skulls more destructive.- Overrides:
getBlockExplosionResistancein classEntity
-
onImpact
Description copied from class:EntityFireballCalled when this EntityFireball hits a block or entity.- Specified by:
onImpactin classEntityFireball
-
writeEntityToNBT
(abstract) Protected helper method to write subclass entity data to NBT.- Overrides:
writeEntityToNBTin classEntityFireball
-
readEntityFromNBT
(abstract) Protected helper method to read subclass entity data from NBT.- Overrides:
readEntityFromNBTin classEntityFireball
-
isHighExplosive
protected boolean isHighExplosive() -
spreadBlightInArea
protected void spreadBlightInArea() -
attemptSpreadBlightToBlock
protected void attemptSpreadBlightToBlock(int i, int j, int k)
-