public abstract class EntityLaser
extends net.minecraft.entity.Entity
| Modifier and Type | Field and Description |
|---|---|
double |
angleY |
double |
angleZ |
protected Position |
head |
static net.minecraft.util.ResourceLocation[] |
LASER_TEXTURES |
protected boolean |
needsUpdate |
double |
renderSize |
protected Position |
tail |
addedToChunk, boundingBox, capturedDrops, captureDrops, 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 |
|---|
EntityLaser(net.minecraft.world.World world) |
EntityLaser(net.minecraft.world.World world,
Position head,
Position tail) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
decodeDouble(int i) |
protected int |
encodeDouble(double d) |
protected void |
entityInit() |
int |
getBrightnessForRender(float par1) |
abstract net.minecraft.util.ResourceLocation |
getTexture() |
void |
hide() |
boolean |
isVisible() |
void |
onUpdate() |
protected void |
readEntityFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
Position |
renderOffset() |
void |
setPositions(Position head,
Position tail) |
void |
show() |
protected void |
updateDataClient() |
protected void |
updateDataServer() |
protected void |
writeEntityToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
addEntityCrashInfo, 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, getCollisionBorderSize, getCollisionBox, getCommandSenderName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityData, getEntityId, getEntityString, getExtendedProperties, getEyeHeight, getFlag, getLastActiveItems, getLookVec, getMaxInPortalTime, getMaxSafePointTries, getMountedYOffset, getParts, getPersistentID, getPickedResult, getPortalCooldown, getRotationYawHead, getShadowSize, getSplashSound, getSwimSound, getTeleportDirection, getUniqueID, getYOffset, handleHealthUpdate, handleLavaMovement, handleWaterMovement, hashCode, hitByEntity, interactFirst, isBurning, isCreatureType, isEating, isEntityAlive, isEntityEqual, isEntityInsideOpaqueBlock, isEntityInvulnerable, isImmuneToFire, isInRangeToRender3d, isInRangeToRenderDist, 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, setDead, setEating, setEntityId, setFire, setFlag, setInPortal, setInvisible, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setPositionAndRotation2, setRotation, setRotationYawHead, setSize, setSneaking, setSprinting, setVelocity, setWorld, shouldDismountInWater, shouldRenderInPass, shouldRiderSit, shouldSetPosAfterLoading, toString, travelToDimension, updateFallState, updateRidden, updateRiderPosition, writeMountToNBT, writeToNBT, writeToNBTOptionalpublic static final net.minecraft.util.ResourceLocation[] LASER_TEXTURES
protected Position head
protected Position tail
public double renderSize
public double angleY
public double angleZ
protected boolean needsUpdate
protected void entityInit()
entityInit in class net.minecraft.entity.Entitypublic void onUpdate()
onUpdate in class net.minecraft.entity.Entityprotected void updateDataClient()
protected void updateDataServer()
public void show()
public void hide()
public boolean isVisible()
public abstract net.minecraft.util.ResourceLocation getTexture()
protected int encodeDouble(double d)
protected double decodeDouble(int i)
protected void readEntityFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readEntityFromNBT in class net.minecraft.entity.Entityprotected void writeEntityToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeEntityToNBT in class net.minecraft.entity.Entitypublic Position renderOffset()
public int getBrightnessForRender(float par1)
getBrightnessForRender in class net.minecraft.entity.Entity