Item stack/de

From Minetest Wiki
< Item stack
Revision as of 11:03, 8 April 2018 by Chris (talk | contribs)
Jump to navigation Jump to search
Languages Sprache: English • Deutsch • français • Bahasa Melayu

Gegenständestapel

Ein Gegenständestapel ist eine Sammlung mehrerer Gegenstände desselben Typs. Jeder Gegenständetyp hat eine eigene Stapelbegrenzung, es ist nicht möglich mehr Gegenstände als diese Begrenzung zu stapeln.

Vorkommen

Gegenständestapel sind in Inventaren gespeichert und können auch in der Welt draußen vorkommen.

In einem Inventar

Im Inventar werden Gegenständestapel durch ein Symbol und einer optionalen Zahl dargestellt. Die Zahl gibt die Größe des Stapel an. Falls die Zahl fehlt, ist die Größe 1. Wie Gegenständestapel in Inventaren verwendet werden, können Sie unter Inventar nachschlagen.

In der Welt

Fallengelassener Gegenständestapel
Item entity.png
Ein Objekt in Luanti
Gesundheit
Objektkollision Nein
Blockkollision Ja
Technischer Bezeichner __builtin:item
Einige fallengelassene Gegenständestapel

Item stacks appear in the world as objects. They are represented by some sort of symbol. For blocks, the icon is a rotating mini-version of it. Other things represented by the inventory icon.

In the world, any item stack appears just as a single object, even with a stack size of 99. But item stacks with a larger stack size will appear larger than item stacks with a low stack size.

An item stack can be collected by punching it.

Item stacks are subject to gravity. If multiple item stacks of the same item occupy the same block position, they will merge into one object, as long the stack limit is not exceeded. Dropped items also have a life time. If they stay untouched in the world for too long, they disappear. The life time can be changed via minetest.conf (item_entity_ttl).

Dropped items can appear for many reasons. Some of them include:

  • A player drops them (duh!)
  • A player mines a block, but there's no more space in the inventory
  • A mob dies
  • (other events are possible)

Item stacks in the Minetest Game

All tools and weapons have a stack limit of 1. All other items have a stack limit of 99.

Dropped items which are flammable get destroyed in a puff of smoke when they stay in lava or fire for too long. Non-flammable items are safe, however.

Item stacks in other games

Other games can set the stack limit freely for all items.

It's also common to change the behaviour of the dropped items completely. Some common changes include:

  • Item magnet: When a player stands close to a dropped item, it gets attraced like a magnet and will be automatically collected. Punching it is not required
  • Water flow: Dropped items move with the flow of water
  • Destruction: Dropped items get destroyed if they touch lava or fire