Tárgy (entitás)

Innen: Minecraft Wiki

FORDÍTÁST IGÉNYEL![szerkesztés | forrásszöveg szerkesztése]

Az entitások az összes mozgó tárgyat és lényt jelentik a Minecraft világában.

Tulajdonságok[szerkesztés | forrásszöveg szerkesztése]

Az összes entitás a következő tulajdonságokkal rendelkezik:

  • Van pozíciója, sebessége és forgása
  • A specific volume they occupy, which is a 3-dimensional box with a fixed height and width (square when viewed from the top, and not rotating).
  • Current health.
  • Whether they are on fire. Fire reduces health gradually and displays flames covering the entity.
  • Effects, caused mainly by splash potions. Spiders can also spawn with effects when playing on hard mode.

Most entities can be pushed around by water currents.

Entities cannot pass through solid blocks. Most types of entities prevent blocks from being placed in the space they occupy, except for resources (dropped items) and experience orbs, which are automatically pushed out of the block to open air. Also, if an entity does overlap a block, (due to falling sand or a door being swung), then it is free to move out of the solid block but not back in. (For example, if a door is closed on you, you can jump up and stand on top of the bottom half-door block, if there is air above the door.)

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); arrows are also sometimes seen to turn black (especially if fired shallowly into the ceiling).