public abstract class EntityHanging extends Entity
Entity.EnumEntitySize
Modifier and Type | Field and Description |
---|---|
int |
field_146062_d |
int |
field_146063_b |
int |
field_146064_c |
int |
hangingDirection |
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, dataWatcher, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, 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 |
---|
EntityHanging(World p_i1588_1_) |
EntityHanging(World p_i1589_1_,
int p_i1589_2_,
int p_i1589_3_,
int p_i1589_4_,
int p_i1589_5_) |
Modifier and Type | Method and Description |
---|---|
void |
addVelocity(double p_70024_1_,
double p_70024_3_,
double p_70024_5_) |
boolean |
attackEntityFrom(DamageSource p_70097_1_,
float p_70097_2_) |
boolean |
canBeCollidedWith() |
protected void |
entityInit() |
void |
func_145781_i(int p_145781_1_) |
abstract int |
getHeightPixels() |
abstract int |
getWidthPixels() |
boolean |
hitByEntity(Entity p_85031_1_) |
void |
moveEntity(double p_70091_1_,
double p_70091_3_,
double p_70091_5_) |
abstract void |
onBroken(Entity p_110128_1_) |
void |
onUpdate() |
boolean |
onValidSurface() |
void |
readEntityFromNBT(NBTTagCompound p_70037_1_) |
void |
setDirection(int p_82328_1_) |
protected boolean |
shouldSetPosAfterLoading() |
void |
writeEntityToNBT(NBTTagCompound p_70014_1_) |
addEntityCrashInfo, addToPlayerScore, applyEntityCollision, canAttackWithItem, canBePushed, canRenderOnFire, 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, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityId, getEntityString, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interactFirst, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, isInsideOfMaterial, isInvisible, isInvisibleToPlayer, isInWater, isOffsetPositionInLiquid, isPushedByWater, isRiding, isSneaking, isSprinting, isWet, kill, mountEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onChunkLoad, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, performHurtAnimation, playSound, preparePlayerToSpawn, readFromNBT, setAir, setAngles, setBeenAttacked, setCurrentItemOrArmor, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptional
public int hangingDirection
public int field_146063_b
public int field_146064_c
public int field_146062_d
public EntityHanging(World p_i1588_1_)
public EntityHanging(World p_i1589_1_, int p_i1589_2_, int p_i1589_3_, int p_i1589_4_, int p_i1589_5_)
protected void entityInit()
entityInit
in class Entity
public void setDirection(int p_82328_1_)
public boolean onValidSurface()
public boolean canBeCollidedWith()
canBeCollidedWith
in class Entity
public boolean hitByEntity(Entity p_85031_1_)
hitByEntity
in class Entity
public void func_145781_i(int p_145781_1_)
func_145781_i
in class Entity
public boolean attackEntityFrom(DamageSource p_70097_1_, float p_70097_2_)
attackEntityFrom
in class Entity
public void moveEntity(double p_70091_1_, double p_70091_3_, double p_70091_5_)
moveEntity
in class Entity
public void addVelocity(double p_70024_1_, double p_70024_3_, double p_70024_5_)
addVelocity
in class Entity
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
writeEntityToNBT
in class Entity
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
readEntityFromNBT
in class Entity
public abstract int getWidthPixels()
public abstract int getHeightPixels()
public abstract void onBroken(Entity p_110128_1_)
protected boolean shouldSetPosAfterLoading()
shouldSetPosAfterLoading
in class Entity