public class EntityNecromancersHead extends net.minecraft.entity.projectile.EntityThrowable implements IConfigurable
NecromancerStaff.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Class<? extends net.minecraft.entity.EntityLiving> |
mobType |
protected java.util.List<net.minecraft.entity.EntityLiving> |
observables |
protected boolean |
observing |
protected net.minecraft.entity.EntityLivingBase |
target |
protected int |
timeLeft |
inGround, throwableShakeaddedToChunk, boundingBox, capturedDrops, captureDrops, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, extendedProperties, fallDistance, field_70135_K, fireResistance, forceSpawn, height, hurtResistantTime, ignoreFrustumCheck, inPortal, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, myEntitySize, 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 and Description |
|---|
EntityNecromancersHead(net.minecraft.world.World world)
Make a new instance in the given world.
|
EntityNecromancersHead(net.minecraft.world.World world,
double x,
double y,
double z)
Make a new instance at the given location in a world.
|
EntityNecromancersHead(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity)
Make a new instance in a world by a placer
EntityLivingBase. |
| Modifier and Type | Method and Description |
|---|---|
ExtendedConfig<?> |
getConfig() |
protected void |
onImpact(net.minecraft.util.MovingObjectPosition position) |
void |
onUpdate() |
void |
setDead() |
void |
setMobType(java.lang.Class<? extends net.minecraft.entity.EntityLiving> mobType)
Set the type of mob to be spawned.
|
protected void |
setObserverMode() |
protected void |
spawnSwarm(net.minecraft.entity.EntityLivingBase necromancer,
net.minecraft.entity.EntityLivingBase target) |
entityInit, func_70182_d, func_70183_g, getGravityVelocity, getShadowSize, getThrower, isInRangeToRenderDist, readEntityFromNBT, setThrowableHeading, setVelocity, writeEntityToNBTaddEntityCrashInfo, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canRenderOnFire, canRiderInteract, canTriggerWalking, copyDataFrom, copyLocationAndAnglesFrom, dealFireDamage, doesEntityNotTriggerPressurePlate, dropItem, entityDropItem, equals, extinguish, fall, func_145748_c_, func_145771_j, func_145772_a, func_145774_a, func_145775_I, func_145778_a, func_145780_a, func_145781_i, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, registerExtendedProperties, resetEntityId, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalprotected boolean observing
protected net.minecraft.entity.EntityLivingBase target
protected java.util.List<net.minecraft.entity.EntityLiving> observables
protected int timeLeft
protected java.lang.Class<? extends net.minecraft.entity.EntityLiving> mobType
public EntityNecromancersHead(net.minecraft.world.World world)
world - The world to make it in.public EntityNecromancersHead(net.minecraft.world.World world,
net.minecraft.entity.EntityLivingBase entity)
EntityLivingBase.world - The world.entity - The EntityLivingBase that placed this Entity.public EntityNecromancersHead(net.minecraft.world.World world,
double x,
double y,
double z)
world - The world.x - X coordinate.y - Y coordinate.z - Z coordinate.public void setMobType(java.lang.Class<? extends net.minecraft.entity.EntityLiving> mobType)
mobType - The mob type.protected void spawnSwarm(net.minecraft.entity.EntityLivingBase necromancer,
net.minecraft.entity.EntityLivingBase target)
public void onUpdate()
onUpdate in class net.minecraft.entity.projectile.EntityThrowablepublic void setDead()
setDead in class net.minecraft.entity.Entityprotected void setObserverMode()
protected void onImpact(net.minecraft.util.MovingObjectPosition position)
onImpact in class net.minecraft.entity.projectile.EntityThrowablepublic ExtendedConfig<?> getConfig()
getConfig in interface IConfigurable