Diferencia entre revisiones de «Entidad»

De WikiMinecraft
Saltar a: navegación, buscar
(Tipos de entidades)
Línea 16: Línea 16:
  
 
Entities are lit according to the light level of the block their position is in. For example, if a [[minecart]] runs over a non-straight track directly into a solid block, it will turn black (since solid blocks always have a light level of 0), and [[arrow]]s are sometimes seen to turn black (especially if fired shallowly into the ceiling).
 
Entities are lit according to the light level of the block their position is in. For example, if a [[minecart]] runs over a non-straight track directly into a solid block, it will turn black (since solid blocks always have a light level of 0), and [[arrow]]s are sometimes seen to turn black (especially if fired shallowly into the ceiling).
 
==Tipos de entidades==
 
 
The following types of entities currently exist in Minecraft. <!-- Please keep the notes to how this entity differs from entities overall, not general descriptions of game functions. -->
 
{| class="Tipos de Entidades"
 
!| Tipo
 
!| Solido
 
! class="unsortable" | Drops<br>when killed/destroyed
 
!| Eliminación
 
!| Vida
 
!| Ancho x alto
 
!| ID
 
! class="unsortable" | Notes
 
|-
 
!| [[The Player]]
 
|| Yes
 
|| Their inventory
 
|| No
 
|style='width:100px'| {{hp|20}} (Varies with [[attribute]]s)
 
|| 0.6×1.8
 
|| N/A
 
|| Special case: [[Notch]] also drops an [[Apple]].
 
|-
 
!| [[Mob]]s
 
|| Yes
 
|| see [[Drops]]
 
|| see [[Spawn]]
 
|| Varies
 
|| Varies
 
|| see [[Data values/Entity IDs|Entity IDs]]
 
|-
 
!| [[Boat]]s
 
|| Yes
 
|| [[Sticks]] and Wooden [[Planks]] if crashed, [[Boat]] if hit by a player
 
|| No
 
|| {{hp|6}}
 
|| 1.5×0.6
 
|| Boat (41)
 
|| Recovers health quickly over time.<br>Takes damage from colliding with blocks or other entities at high speed.
 
|-
 
!| [[Minecart]]s
 
|| Yes (except to other entities)
 
|| 1 [[Minecart]]
 
|| No
 
|| {{hp|6}}
 
|| 0.98×0.7
 
|| MinecartRideable (42), MinecartChest (43), MinecartFurnace (44), MinecartTNT (45), MinecartHopper (46), MinecartSpawner (47), MinecartCommandBlock (40)
 
|| Recovers health quickly over time.<br>Snaps to [[rails]] if in a block occupied by them.
 
|-
 
!| [[Item (entity)|Items]]
 
|| Only to boats and minecarts
 
|| None
 
|| 5 minutes
 
|| {{hp|5}}
 
|| 0.25×0.25
 
|| Item (1)
 
|| Destroyed by explosions, fire, lava, cacti, and falling anvils, but cannot be struck.
 
|-
 
!| [[Experience Orb]]
 
|| No
 
|| None
 
|| 5 minutes
 
|| {{hp|5}}
 
|| 0.3×0.3
 
|| XPOrb (2)
 
|| Same behaviors as dropped items; also attracted to the player.
 
|-
 
!| Projectile [[arrow]]s
 
|| Yes (to boats in water and minecarts on rails)
 
|| n/a
 
|| 1 minute
 
|| ∞
 
|| 0.5×0.5
 
|| Arrow (10)
 
|| Damages other entities if moving; harmless when stuck in a [[block]].
 
|-
 
!| Projectile [[snowball]]s, [[Egg|chicken egg]]s
 
|| Breaks on impact
 
|| n/a
 
|| No
 
|| ∞
 
|| 0.25×0.25
 
|| Snowball (11)
 
|| Eggs may spawn a [[chicken]] on impact. (1/8 chance)
 
|-
 
!| Projectile [[Ender Pearl]]
 
|| Breaks on impact
 
|| n/a
 
|| No
 
|| ∞
 
|| 0.25×0.25
 
|| ThrownEnderpearl (14)
 
|| Teleports player on impact.
 
|-
 
!| Thrown [[Eye of Ender]]
 
|| No
 
|| [[Eye of Ender]] after flight (1:5 chance of shattering)
 
|| No
 
|| ∞
 
|| 0.25×0.25
 
|| EyeOfEnderSignal (15)
 
|| Floats towards the [[End portal]] in the closest stronghold.
 
|-
 
!| Launched [[Firework Rocket]]
 
|| No
 
|| n/a
 
|| Varies (explodes)
 
|| ∞
 
|| ?
 
|| FireworksRocketEntity (22)
 
||
 
|-
 
!| Primed [[TNT]]
 
|| No
 
|| n/a
 
|| 4 seconds [[TNT#Primed TNT|or fewer]]<br>(Explodes)
 
|| ∞
 
|| 0.98×0.98
 
|| PrimedTnt (20)
 
||
 
|-
 
!| [[Entity#Falling_Blocks|Falling sand]]
 
|| No
 
|| Itself as an [[Item (entity)|item]] (unless hits ground)
 
|| Once entity hits ground or ~4 seconds
 
|| ∞
 
|| 0.98×0.98
 
|| FallingSand (21)
 
|| Drops itself when landing in a non-solid block such as a [[torch]].
 
|-
 
!| [[Fishing Rod]] bobber
 
|| Only to boats and minecarts
 
|| n/a
 
|| 1 minute
 
|| ∞
 
|| ?
 
|| ?
 
||
 
|-
 
!| [[Lightning bolt]]
 
|| No
 
|| n/a
 
|| Half a second
 
|| ∞
 
|| ?
 
|| LightningBolt
 
||
 
|-
 
!| [[Paintings]] and [[Item Frames]]
 
|| No
 
|| 1 [[Painting]] or [[Item Frame]] (if [[Item Frame]], will drop item inside)
 
|| No
 
|| ∞
 
|| Varies
 
|| Painting (9), ItemFrame (18)
 
|| Drops as an item when struck
 
|-
 
!| [[Ghast]] and [[Blaze]] Fireballs
 
|| Explodes on impact/deflected on hit
 
|| n/a
 
|| 1 minute
 
|| ∞
 
|| 1.0×1.0 (Ghast), 0.3125×0.3125 (Blaze)
 
|| Fireball (12), SmallFireball (13)
 
|| Only Ghast Fireballs can be deflected, Blaze Fireballs cannot
 
|-
 
!| [[Ender Crystal]]
 
|| Yes
 
|| n/a
 
|| No
 
|| {{hp|5}}
 
|| 1.0x1.0 solid(the bedrock part) and 2.0x2.0 textured
 
|| EnderCrystal (200)
 
|| Explodes when struck by anything, regardless of damage inflicted
 
|}
 
 
Entities listed as “solid” obstruct the passage of other entities.
 
 
The size is in block lengths (usually considered to be 1 meter), and is the size of an [[wikipedia:Axis-aligned bounding box#Axis-aligned_minimum_bounding_box|axis-aligned bounding box]] with the specified width in both horizontal dimensions (X and Z) and the specified height in the Y dimension. This box does not rotate as the object rotates visually.
 
 
For a listing of numeric entity IDs, see [[Data values#Entity IDs|Data values]].
 
  
 
== Motion of entities ==
 
== Motion of entities ==

Revisión del 23:24 11 ago 2014

Libro.png
Falta por traducir el artículo o parte,
para así facilitar la comprensión a los lectores
de habla hispana.

Traducir el artículo


Las entidades son todos aquellos objetos dinámicos y en movimiento del mundo de Minecraft.

Comportamiento general

Todas las entidades tienen estas propiedades:

  • Una posición, una dirección y una rotación.
  • Una ocupación especifica, en 3D.
  • Energía vida.
  • El fuego reduce su vida.

Most entities can be pushed around by water currents.

Las entidades no pueden pasar a través de bloques sólidos. La mayoría de los tipos de entidades impiden ser colocados en el espacio que ocupan, a excepción de los recursos, que son empujados automáticamente fuera del bloque. Además, si una entidad no se superponen un bloque, por ejemplo, debido a la caída de arena o puerta siendo oscilado, entonces es libre de moverse fuera del bloque sólido pero no volver.

Entities are lit according to the light level of the block their position is in. For example, if a minecart runs over a non-straight track directly into a solid block, it will turn black (since solid blocks always have a light level of 0), and arrows are sometimes seen to turn black (especially if fired shallowly into the ceiling).

Motion of entities

Gravity works differently in Minecraft than the real world, as not everything is subject to the same acceleration. Additionally, there is a drag force proportional to velocity, again dependent on the entity.

Kind Acceleration
blocks/tick2
Acceleration
m/s2
Drag
1/tick
Terminal velocity
blocks/tick
Terminal velocity
m/s
Players and other living entities 0.08 32 0.02 3.92 78.4
Items, falling blocks, TNT 0.04 16 0.02 1.96 39.2
Boats and Minecarts 0.04 16 0.05 0.76 15.2
Thrown Eggs, Snowballs, Potions, and Ender Pearls 0.03 12 0.01 3.00 60.0
Fired Arrows 0.05 20 0.01 5.00 100.0
Blaze Fireballs 0 0 0 1.90 38.0

Note that when thrown objects and arrows are simulated, the drag is applied before the acceleration, rather than after; this is why their terminal velocities are whole numbers where the others aren't.

Further notes

Item frames, paintings and lead knots are entities, but they are unusual in that they are aligned to the block grid and completely immobile. Doors, portals and beds, the other objects larger than a single block, are actually groups of adjacent blocks.

Arrows, TNT, sand, and gravel are assumed to have infinite health because they are not destroyed by multiple TNT explosions (they can be fired out of cannons), nor by being on fire for long periods.

Boats and Minecarts

See also: Transportation (contains information about speeds)

Boats and minecarts appear to recover health over time. For example, they can be broken by hitting them quick, but cannot be destroyed by hits with unarmed hand with a pause after each hit. The amount of wobbling displayed by boats and minecarts when struck appears to indicate their current health.

Falling Blocks

The following description refers to sand for brevity, but gravel, anvils, and dragon eggs behave in exactly the same way.

Sand normally exists as a block. When a sand block's support is removed, it turns into a sand entity and falls down until it hits another object, at which point it places itself as a block in the nearest on-grid position, or turns into a sand resource if that position is occupied. While sand ordinarily falls straight down, it can be redirected while falling by explosions and pistons. It is also possible to modify the velocity and direction of falling sand by using third party programs.

If when the world is created, a cave is generated underneath sand, Minecraft will fail to update the block (as said in the code to not make sand fall when it is generated) and the sand will remain floating until a block is changed under, above, or beside it. This latter fact means that a single falling sand block can trigger the collapse of an entire region of sand; therefore, sand ceilings should not be disturbed unless one is outside the area, standing over a torch, or prepared to dig out quickly once the sand has fallen.

Right-clicking

Entities with right-click actions (boats, minecarts, ocelots, villagers and wolves), unlike blocks with right-click actions (such as chests), do not stop the right-click action of a tool you are holding. For example, if you right-click on a tamed wolf with a water bucket in your hand, the wolf will sit, but you will also empty the bucket at the wolf.

Riding

Entities may be riding on, or attached to, other entities. When this is the case, only the lower/"outer" entity's volume collides with other things, and only that entity can control movement. The currently possible combinations in vanilla survival are:

It is possible to have multiple levels, such as a player on a pig in a minecart.

Also, entities can be stacked on top of each other but only with the /summon command or mods.

If an entity is riding another entity, the top entity cannot teleport because as soon as the teleport is made, the entity is teleported back to riding the other entity. Since Minecraft smooths out movements by showing entities at locations between new and old positions, this may result in seeing the entity at several locations between riding the other entity and their teleport location.

Vídeo

Entidad/vídeo

Historial

Lanzamiento oficial
1.1Players can not interact with entities from far away in Creative mode.
1.4.212w34aAhora las entidades pueden interactuar con los portales.