Package net.minecraft.client.player
Class NetworkedLocalPlayer
- java.lang.Object
-
- net.minecraft.world.entity.Entity
-
- net.minecraft.world.entity.LivingEntity
-
- net.minecraft.world.entity.player.Player
-
- net.minecraft.client.player.LocalPlayer
-
- net.minecraft.client.player.NetworkedLocalPlayer
-
public class NetworkedLocalPlayer extends LocalPlayer
-
-
Field Summary
Fields Modifier and Type Field Description NetClientHandler
sendQueue
-
Fields inherited from class net.minecraft.client.player.LocalPlayer
activeJesus, killAuraTimer, mc, movementInput, prevRenderArmPitch, prevRenderArmYaw, renderArmPitch, renderArmYaw, sprintingTicksLeft, sprintToggleTimer
-
Fields inherited from class net.minecraft.world.entity.player.Player
cameraYaw, capabilities, craftingInventory, dimension, experience, experienceLevel, experienceTotal, field_20061_w, field_20062_v, field_20063_u, field_20064_t, field_20065_s, field_20066_r, field_22061_z, field_22062_y, field_22063_x, field_9371_f, fishEntity, flyToggleTimer, foodStats, inPortal, inventory, inventorySlots, isSwinging, playerLocation, prevCameraYaw, prevTimeInPortal, score, sleeping, speedInAir, speedOnGround, swingProgressInt, timeInPortal, timeUntilPortal, username, xpCooldown
-
Fields inherited from class net.minecraft.world.entity.LivingEntity
activePotionsMap, arrowHitTempCounter, arrowHitTimer, attackedAtYaw, attackingPlayer, attackTime, cameraPitch, carryoverDamage, dead, deathTime, defaultPitch, entityAge, entityType, experienceValue, field_703_S, field_704_R, field_705_Q, field_9325_U, field_9326_T, field_9345_F, field_9349_D, field_9353_B, field_9355_A, field_9358_y, field_9359_x, field_9360_w, field_9361_v, field_9362_u, field_9363_r, field_9365_p, health, heartsHalvesLife, hurtTime, isJumping, jumpMovementFactor, landMovementFactor, maxHurtTime, moveForward, moveSpeed, moveStrafing, naturalArmorRating, newPosRotationIncrements, newPosX, newPosY, newPosZ, newRotationPitch, newRotationYaw, numTicksToChaseTarget, prevCameraPitch, prevHealth, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomYawVelocity, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, swingProgress, targetTasks, tasks, texture
-
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 NetworkedLocalPlayer(Minecraft var1, World var2, Session var3, NetClientHandler var4)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStat(StatBase var1, int var2)
boolean
attackEntityFrom(DamageSource var1, int var2)
void
closeScreen()
protected void
damageEntity(DamageSource var1, int var2)
ItemEntity
dropOneItem()
void
func_50009_aI()
void
heal(int var1)
void
incrementStat(StatBase var1, int var2)
protected void
joinEntityItemWithWorld(ItemEntity var1)
protected void
noFall()
void
onUpdate()
void
respawnPlayer()
void
sendChatMessage(java.lang.String var1)
void
sendMotionUpdates()
void
setHealth(int var1)
void
swingItem()
-
Methods inherited from class net.minecraft.client.player.LocalPlayer
addChatMessage, canBeCollidedWith, canBePushed, displayGUIBrewingStand, displayGUIChest, displayGUIDispenser, displayGUIEditSign, displayGUIEnchantment, displayGUIFurnace, displayWorkbenchGUI, func_6420_o, getEffectiveHealth, getFOVMultiplier, isClientWorld, isFreecamPlayer, isMovementToggled, isSneaking, moveEntity, onCriticalHit, onDeath, onEnchantmentCritical, onItemPickup, onLivingUpdate, pushOutOfBlocks, readEntityFromNBT, setDead, setSprinting, setXPStats, travelToTheEnd, updateChatHistory, updateEntityActionState, writeEntityToNBT
-
Methods inherited from class net.minecraft.world.entity.player.Player
addExhaustion, addExperience, addMovementStat, addToPlayerScore, alertWolves, applyPotionDamageCalculations, attackTargetEntityWithCurrentItem, canEat, canHarvestBlock, canPlayerEdit, canTriggerWalking, clearItemInUse, copyPlayer, damageArmor, decreaseAirSupply, destroyCurrentEquippedItem, dropPlayerItem, dropPlayerItemWithRandomChoice, entityInit, fall, getBedOrientationInDegrees, getCurrentEquippedItem, getCurrentPlayerStrVsBlock, getExperiencePoints, getEyeHeight, getFoodStats, getHeldItem, getHurtSound, getItemIcon, getItemInUse, getItemInUseCount, getItemInUseDuration, getMaxHealth, getScore, getSleepTimer, getSpawnChunk, getTotalArmorValue, getUsername, getYOffset, handleHealthUpdate, isBlocking, isEntityInsideOpaqueBlock, isMovementBlocked, isPlayer, isPlayerFullyAsleep, isPlayerSleeping, isPVPEnabled, isUsingItem, jump, moveEntityWithHeading, onItemStackChanged, onItemUseFinish, onKillEntity, preparePlayerToSpawn, removeExperience, resetHeight, setInPortal, setItemInUse, setSpawnChunk, shouldHeal, sleepInBedAt, stopUsingItem, triggerAchievement, updateItemUse, updateRidden, useCurrentItemOnEntity, verifyRespawnCoordinates, wakeUpPlayer, xpBarCap
-
Methods inherited from class net.minecraft.world.entity.LivingEntity
addPotionEffect, applyArmorCalculations, attackEntityAsMob, canBreatheUnderwater, canDespawn, canEntityBeSeen, clearActivePotions, despawnEntity, detachHome, dropFewItems, dropRareDrop, eatGrassBonus, faceEntity, func_48079_f, func_48090_aM, func_48098_g, func_48100_a, func_48101_aR, getActivePotionEffect, getActivePotionEffects, getAge, getAITarget, getAttackTarget, getCanSpawnHere, getCreatureAttribute, getDeathSound, getDropItemId, getHeadYaw, getHealth, getHomePosition, getJumpHelper, getLastAttackingEntity, getLivingSound, getLook, getLookHelper, getLookVec, getMaximumHomeDistance, getMaxSpawnedInChunk, getMoveHelper, getNavigator, getPosition, getRenderSizeModifier, getRNG, getSoundVolume, getSpeedModifier, getSwingProgress, getTalkInterval, getTexture, getVerticalFaceSpeed, hasHome, isAIEnabled, isChild, isEntityAlive, isEntityUndead, isOnLadder, isPotionActive, isPotionApplicable, isWithinHomeDistance, isWithinHomeDistanceCurrentPosition, kill, knockBack, onChangedPotionEffect, onDeathUpdate, onEntityDeath, onEntityUpdate, onFinishedPotionEffect, onNewPotionEffect, performHurtAnimation, playLivingSound, rayTrace, removePotionEffect, renderBrokenItemStack, setAttackTarget, setEntityHealth, setHomeArea, setJumping, setLastAttackingEntity, setMoveForward, setPositionAndRotation2, setPositionAndUpdate, setRevengeTarget, setSize, spawnExplosionParticle, updateAITasks, updateAITick, updatePotionEffects
-
Methods inherited from class net.minecraft.world.entity.Entity
addEntityID, addVelocity, applyEntityCollision, canAttackWithItem, dealFireDamage, dropItem, dropItemWithOffset, entityDropItem, equals, extinguish, getAir, getBoundingBox, getBrightness, getBrightnessForRender, getCollisionBorderSize, getCollisionBox, getCurrentBiomeName, getDataWatcher, getDistance, getDistanceSq, getDistanceSqToEntity, getDistanceToEntity, getEntityString, getFlag, getInventory, getMountedYOffset, getParts, getShadowSize, handleLavaMovement, handleWaterMovement, hashCode, interact, isBurning, isEating, isEntityEqual, isImmuneToFire, isInRangeToRenderDist, isInRangeToRenderVec3D, isInsideOfMaterial, isInsideOfMaterial, isInWater, isOffsetPositionInLiquid, isRiding, isSprinting, isSubmergedInAnyFluid, isWet, mountEntity, moveFlying, newDoubleNBTList, newFloatNBTList, onCollideWithPlayer, onStruckByLightning, outfitWithItem, playStepSound, readFromNBT, setAir, setAngles, setBeenAttacked, setEating, setFire, setFlag, setInWeb, setLocationAndAngles, setOnFireFromLava, setPosition, setPositionAndRotation, setRotation, setSneaking, setVelocity, setWorld, toString, updateFallState, updateRiderPosition, writeToNBT
-
-
-
-
Field Detail
-
sendQueue
public NetClientHandler sendQueue
-
-
Constructor Detail
-
NetworkedLocalPlayer
public NetworkedLocalPlayer(Minecraft var1, World var2, Session var3, NetClientHandler var4)
-
-
Method Detail
-
attackEntityFrom
public boolean attackEntityFrom(DamageSource var1, int var2)
- Overrides:
attackEntityFrom
in classPlayer
-
heal
public void heal(int var1)
- Overrides:
heal
in classLivingEntity
-
noFall
protected void noFall()
-
sendMotionUpdates
public void sendMotionUpdates()
-
dropOneItem
public ItemEntity dropOneItem()
- Overrides:
dropOneItem
in classPlayer
-
joinEntityItemWithWorld
protected void joinEntityItemWithWorld(ItemEntity var1)
- Overrides:
joinEntityItemWithWorld
in classPlayer
-
sendChatMessage
public void sendChatMessage(java.lang.String var1)
- Overrides:
sendChatMessage
in classLocalPlayer
-
respawnPlayer
public void respawnPlayer()
- Overrides:
respawnPlayer
in classLocalPlayer
-
damageEntity
protected void damageEntity(DamageSource var1, int var2)
- Overrides:
damageEntity
in classLocalPlayer
-
closeScreen
public void closeScreen()
- Overrides:
closeScreen
in classLocalPlayer
-
setHealth
public void setHealth(int var1)
- Overrides:
setHealth
in classLocalPlayer
-
addStat
public void addStat(StatBase var1, int var2)
- Overrides:
addStat
in classLocalPlayer
-
incrementStat
public void incrementStat(StatBase var1, int var2)
-
func_50009_aI
public void func_50009_aI()
- Overrides:
func_50009_aI
in classPlayer
-
-