Minecraft:Player
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Redirect Template:Infobox entity A player is a unique character whose actions are Minecraft:controlled by the real person, and not by the game itself. They are the main character in the singleplayer Minecraft:world of Minecraft, where most interactions and Minecraft:mechanics revolve around them as part of the Minecraft:gameplay. They may also partake in the Minecraft:multiplayer mode with other players, putting more emphasis on player-driven activities.
There are nine default skins for the player: Minecraft:Alex, Minecraft:Ari, Minecraft:Efe, Minecraft:Kai, Minecraft:Makena, Minecraft:Noor, Minecraft:Steve, Minecraft:Sunny, and Minecraft:Zuri.
Appearance
Template:AnchorA new player can choose from Minecraft:Steve, Minecraft:Alex, Minecraft:Zuri, Minecraft:Sunny, Minecraft:Noor, Minecraft:Makena, Minecraft:Kai, Minecraft:Efe, or Minecraft:Ari as their main skin. They can also choose the skin from an image file in the Minecraft:Minecraft LauncherTemplate:Only or Minecraft:Character CreatorTemplate:Only. They can choose between "classic" and "slim" shapes, which makes their arm models wide or slim.
Template:IN, the game allows the usage of Minecraft:skin packs, each of which has a selection of free skins. The game also features a character creation system with free and purchasable apparel and features from the Minecraft:Marketplace. On console devices, these are the only equippable skin models, and players cannot choose custom skin models imported from an image file.
Template:IN, playing in the demo or offline makes the game randomly choose any of the nine skins as the current skin.
The player's appearance can be obscured by equipping Minecraft:armor, such as Minecraft:turtle shell, Minecraft:helmets, Minecraft:chestplates, Minecraft:leggings, and Minecraft:boots, as well as other equippable items such as Minecraft:elytra, Minecraft:carved pumpkin, and Minecraft:heads of Minecraft:mobs and other players. Players are also the only entity capable of having Minecraft:capes, as well as other cosmetics from their character creation.
In Java Edition, if the player is shot with an Minecraft:arrow or stung by a Minecraft:bee, the arrow or stinger appears physically embedded inside the player for a given time. These do not apply to other mobs.
Unlike their Java Edition counterparts, Bedrock Edition players periodically blink; this feature does not apply to custom skin models set from an image file.
Drops
- The content of their Minecraft:inventory (except the items with Minecraft:Curse of Vanishing)
- Current XP level multiplied by 7, which is then the amount of points dropped. This is capped at 100 XP points, which corresponds to just over level 7.
If Template:Cmd has been set to true, nothing is dropped.
Interaction range
Template:AnchorA player's interaction range (reach) differs. The area forms a three-dimensional cylinder because it encompasses vertical and horizontal distances:<ref>Vertical attack reach forms a cylinder, not a sphere.</ref>Template:Needs testing
Health and hunger meters
The player has 10 full hearts or 20 health points. One full heart represents two health points. When the player's Minecraft:hunger bar is at Template:Hunger or higher, health slowly regenerates by Template:Hp every four seconds, but when it is at Template:Hunger with saturation remaining, health regenerates by Template:Hp every half second.Template:Only The hunger bar depletes faster from energy-intensive activities like Minecraft:sprinting, Minecraft:jumping, attacking Minecraft:mobs, and Minecraft:mining, and it can be refilled by eating Minecraft:food. If the hunger bar is at Template:Hunger or lower, the player does not regenerate health unless in Peaceful Minecraft:difficulty (or under the effect of certain Minecraft:potions). While the hunger bar is at Template:Hunger, the player is starving and proceeds to lose health. On Hard and Hardcore difficulties, starvation kills the player. On Normal difficulty, it brings health down to Template:Hp. On Easy difficulty, it brings health down to Template:Hp. On Peaceful difficulty, the health bar recovers regardless of hunger, but still depletes from starvation damage, and the hunger bar does not lose any points even when under the effect of hunger.
Movement
Walking
The most basic movement the player can perform is Minecraft:walking. The player can walk at a reasonable speed rate of 4.317 blocks per secondTemplate:Fn, all while taking no Minecraft:hunger impact. This means that the player can walk a total of 5181 blocksTemplate:Fn in one Minecraft day, in a straight line, without sprinting or sneaking.
Sprinting
The player can move faster by Minecraft:sprinting, but at the cost of draining the Minecraft:hunger bar considerably while doing so. The player sprints approximately 5.612 blocks per secondTemplate:Fn, as opposed to the regular pace of 4.317 blocks per second. The maximum distance a player can jump when sprinting is approximately 4.225 blocks. The Minecraft:Speed Minecraft:effect increases momentum. The player cannot sprint if the hunger bar is at Template:Hunger or less. Sprinting is activated by double-tapping the forward key (default Template:Key), then holding it, or by holding the sprint key (Template:Key by default, Template:Key if using a Mac) while pressing the forward key. Holding the sprint key in Minecraft:Creative mode while Minecraft:flying causes the player to fly faster.
Sneaking
Minecraft:Sneaking is a feature activated by pressing and holding the sneak key (default is Template:Key). Sneaking prevents players from falling more than half a block, making it highly useful for building horizontally outward over space. Going past the edge of a block and stopping sneaking does not result in falling off that block. The player can still dismount blocks while sneaking by jumping over the block's edge. In Minecraft:multiplayer, a player's name tag is grayed out in Java Edition or completely disappears in Bedrock Edition when they sneak, to relate to the fact that sneaking makes them harder to see.
Jumping
The maximum height a player can jump without the Minecraft:Jump Boost effect is about 1.2522 blocks in Java Edition. The jump height on Bedrock Edition is shorter (similar to the pre-Minecraft:Combat Update) with the value of 1.24919 blocks.
Swimming
Minecraft:Swimming occurs when the player is sprinting (by double pressing W or pressing Ctrl/Cmd) while the player is submerged underwater. Swimming has the same animation as crawling.
Crawling
Minecraft:Crawling occurs when the player is in an area less than 1.5 blocks high and prevents suffocation.
Movement speed
There isn't a simple hard-coded maximum velocity for walking, sprinting, etc. The maximum is a result of a base acceleration countered by "friction" or air resistance. The base acceleration for walking is 0.098, and sprinting is 30% faster than that. Velocity is increased by this acceleration value every tick (1/20th of a second), then the player is moved by the resulting velocity, then the velocity is multiplied by the friction value of the block they are walking on. For most blocks, the friction value is 0.546. As the player walks forward, each tick their velocity goes +0.098, *0.546, +.098, *0.546, +0.098, and so on. The result is that eventually, the 0.546 multiplier counteracts the 0.098 increase, so the player doesn't go any faster. The formula for this "terminal velocity" is a/(1-r), where a is the acceleration, and r is the block's friction. 0.098/(1-0.546) ≈ 0.2159 meters/tick = 4.317 meters/second. Sprinting is 30% faster than that, at about 5.612 meters/second. Flying is similar, but the base acceleration is 0.049 and the "friction" is 0.91, which comes out to ~10.89 m/s.
| Movement Mode | Speed (m/s) | Speed (km/h) | % of Walking Speed |
|---|---|---|---|
| Walking | 4.317 | 15.54 | 100% |
| Sprinting | 5.612 | 20.20 | 130% |
| Sneaking | 1.295 | 4.663 | 30% |
| Flying | 10.79 | 38.85 | 250% |
| Sprint Flying | 21.58 | 77.71 | 500% |
| Falling | 77.71 | 279.75 | 1800% |
Gameplay HUD
The onscreen Minecraft:heads-up display (HUD) consists of the player's Minecraft:health bar, Minecraft:hunger bar, Minecraft:experience bar, and Minecraft:hotbar. The Minecraft:armor rating bar appears above the health bar if the player is wearing armor and the oxygen bar appears if the player is submerged in Minecraft:water or is suffocating in a blockTemplate:Only. The HUD also contains the crosshair and a held object or fist. The HUD can also be toggled by Template:Key.
As mentioned in the Game modes section, when the player is in Minecraft:Creative mode, the health, hunger, experience, armor, and oxygen bars are hidden, and only the hotbar is visible. Despite this, the player can still collect experience and wear armor. The screen tilting animation (the animation for taking damage) still plays when dying from Template:Cmd or the Minecraft:void. In Minecraft:Spectator mode, the hotbar, crosshair, and held object/fist are also hidden; Template:In, the hotbar appears as a player spectating list when a number is pressed or the mouse wheel is scrolled.
Experience
Template:Main Experience points (XP) can be gained via Minecraft:experience orbs when killing mobs or mining certain minerals. The current level is indicated by a green number above the HUD, and the experience points can be used to enchant weapons, tools, or armor with different useful attributes and skills (see Minecraft:enchanting table.) Minecraft:Anvils require experience to use.
The level increases by obtaining enough experience points. All levels and points are lost upon death but can be partially restored by picking up the experience orbs at the place of death.<ref>http://www.pcgamer.com/first-details-on-minecrafts-xp-system-notch-when-you-die-you-lose-all-levels-you-lose-all-xp/</ref>
Experience is also obtained through activities such as mining, Minecraft:fishing, mob Minecraft:breeding, killing certain Minecraft:mobs, Minecraft:trading, or Minecraft:smelting.
Game modes
- In Survival mode, the player can place and destroy most blocks, and use all tools available. The player has limited health (Template:Health icons), hunger (Template:Hunger icons), and oxygen (bubble icons)
- In Creative mode, the player can Minecraft:fly by double-tapping the jump key (default Template:Key) and place an infinite number of blocks, but with limited use of crafting and tools. No mobs attack the player. The player cannot take damage at all Template:In. Template:IN, the player only takes damage falling into the Minecraft:void or when killed by Template:Cmd). The player also has no hunger, has unlimited oxygen, and can Minecraft:break blocks instantly.
- In Hardcore mode, the player can respawn only in Minecraft:Spectator mode, and the Minecraft:difficulty level is locked on Hard mode.
- In Adventure mode, there are no changes from Survival mode aside from being unable to break or place blocks unless they possess a tool with the
can_breakitem component for that block, or have a block with thecan_place_oncomponent. This game mode can be played only by having Minecraft:cheats enabled and typing the command Template:Cmd, or by opening a Minecraft:multiplayer or Minecraft:LAN world. - In Spectator mode, the player can spectate almost all Minecraft:mobs, ride them as if the player were in a minecart, fly through blocks, and open inventories, but cannot break blocks or change inventories. Along with Minecraft:Adventure, it can be accessed by typing in Template:Cmd, pressing Template:Key+Template:Key until Spectator mode (the eye of ender) is selected or Template:Key+Template:Key while cheats are enabled, or dying in Minecraft:Hardcore mode. However, with the Minecraft:Debug Mode world type, the gamemode is locked as Spectator mode unless changed with cheats enabled.
Username
Players in-game are referred to by a username. These are used to target the player with Minecraft:commands and differentiate other players.
Template:IN, usernames must be 3-16 characters, although there are exceptions for players with under 3 characters, who bought the game early in its development. Players can change their username no more than once every 30 days on Minecraft:minecraft.net. When the player changes their username, the previous username is available for other users to claim after 37 days. Because players can change usernames every 30 days, a player can manage two usernames without anyone being able to take either of them. If the player has a username under 3 characters and changes it, the old sub-3-character username is permanently unable to be obtained again.<ref>https://namemc.com/name/NY</ref> This also applies for symbol names.<ref>https://namemc.com/search?q=y-93</ref> The username can be changed on the preferences page of minecraft.net.
Template:IN, usernames chosen in-game must be 3-32 characters. Users can choose a username and change it any time in the Profile settings. Alternatively, users signed in with a Template:W have the username set to match their Template:W. Gamertags can be changed on the change gamertag page in the Xbox website for a fee of Template:W9.99, though changing it for the first time is free.<ref>https://support.xbox.com/help/account-profile/profile/change-xbox-live-gamertag</ref>
Player names appear above their head as nameplates, typically in white letters within a dark transparent rectangle. Player nameplates can also be seen through solid blocks and other obstructions, although a player can Minecraft:sneak to dim the nameplate's visibility when in sight in Java Edition, or hide it completely when out of sight in Bedrock Edition.
Customization
Template:IN, players can change skins in the preferences page on Minecraft:minecraft.net, or in the Minecraft:Minecraft Launcher by uploading a Template:W image file. Players also have the option to have wide or slim arms on the character model.
Template:IN, players are given five character slots which they can customize their appearances by selecting pre-made apparels, altering their heights, changing their looks, and more. They are available on the Minecraft:Character Creator menu, accessible under the Minecraft:title screen or Minecraft:pause menu. These characters are synchronized between devices signed-in using Template:W. Alternatively, players have option to select from classic skins with Minecraft:skin packs obtained from the Minecraft:Marketplace. They can select or remove a Minecraft:cape for classic skins. Classic skins obtained from importing image file are not available on console devices, and cannot be synchronized between devices.
Players can also choose four Minecraft:emotes per character slot.
Sounds
Template:JE:
Players use the Players sound category for entity-dependent sound events.
| Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine
| Template:SoundLine | Template:SoundLine | Template:SoundLine | Template:SoundLine
Data values
ID
Template:JE: Template:ID table
Template:BE: Template:ID table
Entity data
Template:Main Template:See also Players have entity data associated with them that contain various properties.
<section begin="entity data"/>
- Template:Nbt The root tag. In level.dat files, this tag is called Template:Cd.
- Template:Nbt inherit/entity
- except for the tags: Template:Cd, Template:Cd, and Template:Cd.
- Template:Nbt inherit/mob
- except for the tags:, Template:Cd, Template:Cd, Template:Cd, Template:Cd, Template:Cd.
- Template:Nbt: The abilities this player has.
- Template:Nbt: 1 or 0 (Template:Cd) - Template:Cd if the player is currently flying.
- Template:Nbt: The flying speed, set to Template:Cd.
- Template:Nbt: 1 or 0 (Template:Cd) - If Template:Cd, the player can place blocks without depleting them. This is Template:Cd for Creative mode, and Template:Cd for other game modes.
- Template:Nbt: 1 or 0 (Template:Cd) - Behavior is not the same as the invulnerable tag on other entities. If Template:Cd, the player is immune to all damage and harmful effects except for Minecraft:void damage and Template:Cmd. Also, all mobs, whether hostile or not, are passive to the player. Template:Cd when in Creative or Spectator mode, and Template:Cd when in Survival or Adventure mode.
- Template:Nbt: 1 or 0 (Template:Cd) - If Template:Cd, the player can place blocks. Template:Cd when in Creative or Survival mode, and Template:Cd when in Spectator or Adventure mode.
- Template:Nbt: 1 or 0 (Template:Cd) - If Template:Cd, the player can fly and doesn't take fall damage. Template:Cd when in Creative and Spectator modes, and Template:Cd when in Survival and Adventure modes.
- Template:Nbt: The walking speed, set to Template:Cd.
- Template:Nbt: Position where the player was when the last explosion happened. Used for Minecraft:wind charge fall damage reduction.
- Template:Nbt: Version of the player NBT structure. Is increased with every new snapshot and release. See Minecraft:Data version.
- Template:Nbt: The ID of the dimension the player is in. Used to store the player's last known location along with Template:Cd.
- Template:Nbt: Each compound tag in this list is an item in the player's 27-slot ender chest inventory. When empty, list type may have unexpected value.
- Template:Nbt An item in the inventory.
- Includes the Template:Nbt tag - slots are numbered Template:Cd, inclusive.
- See Template:Slink.
- Template:Nbt An item in the inventory.
- Template:Nbt: May not exist. A list of 3 doubles, describing the Minecraft:Overworld position from which the player entered the Nether. Used by the
nether_travelMinecraft:advancement trigger. Set every time the player passes through a portal from the Overworld to the Nether. When entering a dimension other than the nether (not by respawning) this tag is removed. Entering the Nether without using a portal does not update this tag.- Template:Nbt: The X coordinate in the Overworld.
- Template:Nbt: The Y coordinate in the Overworld.
- Template:Nbt: The Z coordinate in the Overworld.
- Template:Nbt: See Template:Slink.
- Template:Nbt: The value of the hunger bar. Referred to as hunger. See Minecraft:Hunger.
- Template:Nbt: Referred to as saturation. See Template:Slink.
- Template:Nbt: See Minecraft:Hunger.
- Template:Nbt: 1 or 0 (Template:Cd) - Template:Cd if the current explosion should apply a fall damage reduction. Only used by explosions from Minecraft:wind charges.
- Template:Nbt: Each compound tag in this list is an item in the player's inventory. (Note: when empty, list type may have unexpected value.)
- Template:Nbt An item in the inventory.
- See Template:Slink.
- Template:Nbt An item in the inventory.
- Template:Nbt: May not exist. Location of the player's last death.
- Template:Nbt: Dimension of last death.
- Template:Nbt: Coordinates of last death.
- Template:Nbt: The current game mode of the player. Template:Cd means Minecraft:Survival, Template:Cd means Minecraft:Creative, Template:Cd means Minecraft:Adventure, and Template:Cd means Minecraft:Spectator.
- Template:Nbt: The previous game mode of the player.
- Template:Nbt: Contains a JSON object detailing recipes the player has unlocked.
- Template:Nbt: May not exist. The root entity that the player is riding.
- Template:Nbt: The Minecraft:UUID of the entity the player is riding, stored as four ints.
- Template:Nbt: The NBT data of the root vehicle.
- Template:Nbt: The score displayed upon death.
- Template:Nbt: 1 or 0 (Template:Cd) - Template:Cd if the player has entered the exit portal in the End at least once.
- Template:Nbt: Data of the item currently being held by the player, excluding the Slot tag. Only exists when using the /data command, this value is not saved in the player.dat format.
- Template:Nbt: The selected hotbar slot of the player. Values are 0-indexed, so the leftmost slot is 0 and the rightmost slot is 8.
- Template:Nbt: The entity that is on the player's left shoulder. Always displays as a parrot.
- Template:Nbt: The entity that is on the player's right shoulder. Always displays as a parrot.
- Template:Nbt: The number of Minecraft:game ticks the player had been in bed. Template:Cd when the player is not sleeping. When in bed, increases up to 100 ticks, then stops. Skips the night after enough players in beds have reached 100 (see Template:Slink). When getting out of bed, instantly changes to 100 ticks and then increases for another 9 ticks (up to 109 ticks) before returning to 0 ticks.
- Template:Nbt: May not exist. The respawn information of the player. Removed when the player attempts to respawn with no valid bed or respawn anchor to spawn at these coordinates. They are unaffected by breaking a bed or respawn anchor at these coordinates, and are unaffected by the player's death.
- Template:Nbt: block position to spawn at
- Template:Nbt: angle to spawn with (default: 0.0)
- Template:Nbt: dimension id to spawn in (default minecraft:overworld) (required)
- Template:Nbt: pitch to spawn with. (required)
- Template:Nbt: true if this spawn was set through commands (default: false)
- Template:Nbt: Contains data about the Minecraft:warden spawning process for this player.
- Template:Nbt: A warning level between Template:Cd (inclusive). The warden spawns at level 3.
- Template:Nbt: The number of game ticks before the
warning_levelcan be increased again. Decreases by 1 every tick. It is set to 200 game ticks (10 seconds) every time the warning level is increased. - Template:Nbt: The number of game ticks since the player was warned for warden spawning. Increases by 1 every tick. After 12000 game ticks (10 minutes) it resets to level 3, and the
warning_leveldecreases by 1 level.
- Template:Nbt: The level shown on the Minecraft:experience bar.
- Template:Nbt: The progress across the experience bar to the next level, stored as a percentage.Template:Verify
- Template:Nbt: The seed used for the next enchantment in enchanting tables.
- Template:Nbt: The total amount of experience the player has collected over time; used for the score upon death.
<section end="entity data"/>
Achievements
Achievements that apply to all mobs: Template:Collapse
Advancements
Advancements that apply to all mobs: Template:Collapse
History
Java Edition
Bedrock Edition
Legacy Console Edition
Gallery
-
The first image of mobs.
-
First screenshot of a player model with hat layer.
-
Character concept art for Minecraft by Minecraft:Dock.
-
Height comparison of the player model before (left) and in/after (right) Minecraft:Java Edition Alpha v1.0.15
Historical sounds
| Sound | Added in | Removed in | Volume | Pitch | Attenuation Distance |
|---|---|---|---|---|---|
| Template:Sound | Java Edition Classic 0.24 SURVIVAL TEST | Minecraft:Java Edition 1.0.0 (RC1) Minecraft:Pocket Edition v0.12.1 alpha (build 10) |
1.0 | 0.8-1.2 | 16 |
| Template:Sound | Java Edition 1.0.0 (RC1) | Minecraft:Java Edition 1.4.2 (12w38a) | 1.0 | 0.8-1.2 | 16 |
| Template:Sound | 1.0 | 1.0 | 16 | ||
| Template:Sound | 1.0 | 1.0 | 16 |
Data history
Issues
Trivia
- The original Steve skin and player model was originally created for another one of Notch's games called Minecraft:Zombie Town.
- The player's eye level (according to coordinates on the Minecraft:debug screen) is 1.62m when standing, 1.27m when sneaking and 0.4m when swimming, crawling or gliding.
- The player's actual size doesn't match the hitbox. Their model is as tall as 2 blocks, but is scaled down by a factor of 0.9375, making them 1.875m tall and 0.9375m wide, exactly 2 texels shorter than the height of 2 blocks.
- The player's legs do not line up perfectly with the torso to prevent Template:W when wearing armor.<ref>Template:Bug</ref>
- Template:IN, a dead player can still collect Minecraft:experience orbs near their death location until they choose to respawn.
- Before Minecraft:Java Edition 1.14, the camera was located at the player's feet; the world is therefore rendered 1.8 blocks below what it should be at to counteract this.<ref>Template:Tweet</ref>
- Likewise, when the player slept in a bed, the world revolved around the player during the animation instead of the player's camera rotating, which led to some visual bugs.<ref>Template:Tweet</ref>
- With a length of 3 to 16 characters and 63 characters to choose from, the total number of possible player usernames in Template:JE is <math>\sum_{n=3}^{16} 63^n \approx 6.257 \times 10^{28}</math> or more than 62 octillion.
Gallery
Renders
Idle
-
Alex.
-
Alex with wide arms.
-
Ari.
-
Ari with slim arms.
-
Efe.
-
Efe with wide arms.
-
Kai.
-
Kai with slim arms.
-
Makena.
-
Makena with wide arms.
-
Noor.
-
Noor with wide arms.
-
Steve.
-
Steve with slim arms.
-
Sunny.
-
Sunny with slim arms.
-
Zuri.
-
Zuri with slim arms.
Animated
-
Alex's eyes blinking in Minecraft:Bedrock Edition.
-
Steve's eyes blinking in Bedrock Edition.
Textures
-
Alex.
-
Alex with slim arms.
-
Ari.
-
Ari with slim arms.
-
Efe.
-
Efe with slim arms.
-
Kai.
-
Kai with slim arms.
-
Makena.
-
Makena with slim arms.
-
Noor.
-
Noor with slim arms.
-
Steve.
-
Steve with slim arms.
-
Sunny.
-
Sunny with slim arms.
-
Zuri.
-
Zuri with slim arms.
Screenshots
-
Several players looking at an Minecraft:axolotl.
-
Ari looks at Efe from afar.
-
Noor looking at Prairie Ride. Unsurprisingly, Noor is seen in the painting.
-
Five of the default skins customized using the Minecraft:Character Creator.
-
Players around a campfire.
-
Steve and Alex at the beach.
-
Steve and Alex at a village.
See also
External links
Notes
References
Template:Navbox entities Template:Navbox environment
Minecraft:cs:Hráč Minecraft:de:Spieler Minecraft:el:Παίκτης Minecraft:es:Jugador Minecraft:fr:Joueur Minecraft:it:Giocatore Minecraft:ja:プレイヤー Minecraft:ko:플레이어 Minecraft:lzh:戲者 Minecraft:nl:Speler Minecraft:pl:Gracz Minecraft:pt:Jogador Minecraft:ru:Игрок Minecraft:th:ผู้เล่น Minecraft:tr:Oyuncu Minecraft:uk:Гравець Minecraft:zh:玩家