Package net.minecraft.world.entity
Class LightningBolt
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LightningBolt
-
public class LightningBolt extends Entity
-
-
Field Summary
Fields Modifier and Type Field Description long
boltVertex
-
Fields inherited from class net.minecraft.world.entity.Entity
addedToChunk, boundingBox, chunkCoordX, chunkCoordY, chunkCoordZ, cloakUrl, dataWatcher, distanceWalkedModified, entityCollisionReduction, entityId, fallDistance, field_9293_aM, fireResistance, heartsLife, height, ignoreFrustumCheck, inWater, isAirBorne, isCollided, isCollidedHorizontally, isCollidedVertically, isDead, isImmuneToFire, isInWeb, isJesusColliding, lastTickPosX, lastTickPosY, lastTickPosZ, motionX, motionY, motionZ, noClip, onGround, playerNameForSkin, posX, posY, posZ, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, renderDistanceWeight, riddenByEntity, ridingEntity, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, skinUrl, slim, stepHeight, ticksExisted, velocityChanged, width, worldObj, yOffset, ySize
-
-
Constructor Summary
Constructors Constructor Description LightningBolt(World var1, double var2, double var4, double var6)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
entityInit()
@net.minecraft.modding.api.Side.Client boolean
isInRangeToRenderVec3D(Vec3D par1Vec3D)
void
onUpdate()
protected void
readEntityFromNBT(NBTTagCompound nbttagcompound)
protected void
writeEntityToNBT(NBTTagCompound nbttagcompound)
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addToPlayerScore, addVelocity, applyEntityCollision, attackEntityFrom, canAttackWithItem, canBeCollidedWith, canBePushed, canTriggerWalking, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, fall, func_48079_f, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getEyeHeight, getFlag, getHeadYaw, getInventory, getLookVec, getMountedYOffset, getParts, getShadowSize, getTexture, getUsername, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isImmuneToFire, isInRangeToRenderDist, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSneaking, isSprinting, isSubmergedInAnyFluid, isWet, kill, mountEntity, moveEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onEntityUpdate, onKillEntity, onStruckByLightning, outfitWithItem, performHurtAnimation, playStepSound, preparePlayerToSpawn, pushOutOfBlocks, readFromNBT, setAir, setAngles, setBeenAttacked, setDead, setEating, setFire, setFlag, setInPortal, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setSize, setSneaking, setSprinting, setVelocity, setWorld, toString, updateFallState, updateRidden, updateRiderPosition, writeToNBT
-
-
-
-
Constructor Detail
-
LightningBolt
public LightningBolt(World var1, double var2, double var4, double var6)
-
-
Method Detail
-
entityInit
protected void entityInit()
- Specified by:
entityInit
in classEntity
-
readEntityFromNBT
protected void readEntityFromNBT(NBTTagCompound nbttagcompound)
- Specified by:
readEntityFromNBT
in classEntity
-
writeEntityToNBT
protected void writeEntityToNBT(NBTTagCompound nbttagcompound)
- Specified by:
writeEntityToNBT
in classEntity
-
isInRangeToRenderVec3D
@Client public @net.minecraft.modding.api.Side.Client boolean isInRangeToRenderVec3D(Vec3D par1Vec3D)
- Overrides:
isInRangeToRenderVec3D
in classEntity
-
-