public class EntitySnowball extends Entity
| Modifier and Type | Field and Description |
|---|---|
int |
shakeSnowball |
addedToChunk, air, beenAttacked, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityBrightness, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fire, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, lastTickPosX, lastTickPosY, lastTickPosZ, maxAir, motionX, motionY, motionZ, noClip, onGround, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, stepHeight, ticksExisted, width, worldObj, yOffset, ySize| Constructor and Description |
|---|
EntitySnowball(World world) |
EntitySnowball(World world,
double d,
double d1,
double d2) |
EntitySnowball(World world,
EntityLiving entityliving) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
entityInit() |
float |
getShadowSize() |
boolean |
isInRangeToRenderDist(double d) |
void |
onCollideWithPlayer(EntityPlayer entityplayer) |
void |
onUpdate() |
void |
readEntityFromNBT(NBTTagCompound nbttagcompound) |
void |
setSnowballHeading(double d,
double d1,
double d2,
float f,
float f1) |
void |
setVelocity(double d,
double d1,
double d2) |
void |
writeEntityToNBT(NBTTagCompound nbttagcompound) |
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canBeCollidedWith, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, fall, func_346_d, getBoundingBox, getCollisionBorderSize, getCollisionBox, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityBrightness, getEntityFlag, getEntityString, getEntityTexture, getEyeHeight, getLookVec, getMountedYOffset, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEntityAlive, isEntityInsideOpaqueBlock, isInRangeToRenderVec3D, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setBeenAttacked, setEntityDead, setEntityFlag, setInPortal, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setWorld, updateCloak, updateFallState, updateRidden, updateRiderPosition, writeToNBTpublic EntitySnowball(World world)
public EntitySnowball(World world, EntityLiving entityliving)
public EntitySnowball(World world, double d, double d1, double d2)
protected void entityInit()
entityInit in class Entitypublic boolean isInRangeToRenderDist(double d)
isInRangeToRenderDist in class Entitypublic void setSnowballHeading(double d,
double d1,
double d2,
float f,
float f1)
public void setVelocity(double d,
double d1,
double d2)
setVelocity in class Entitypublic void writeEntityToNBT(NBTTagCompound nbttagcompound)
writeEntityToNBT in class Entitypublic void readEntityFromNBT(NBTTagCompound nbttagcompound)
readEntityFromNBT in class Entitypublic void onCollideWithPlayer(EntityPlayer entityplayer)
onCollideWithPlayer in class Entitypublic float getShadowSize()
getShadowSize in class Entity