Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement

Template:Doc/start

Entity
No image

This template provides a uniform design for items that create an in-game Entity, but are not mobs. For mobs, use Template:Mob instead.

{{Entity
|base=
|title=
|image=
|invimage=
|invimage2=
|type=
|durability=
|stackable=
|data=
|firstver=
|id=
}}

Please note that if the item has multiple data values, use |multipledata= instead. See below:

Parameter Function Default/Example value
base Selects whether to base template off of Block or Item. Item
title Optional value to use a different name instead of the page name {{BASEPAGENAME}}
image Image of the block (should be approx. 150x150px) {{BASEPAGENAME}}.png if it exists, otherwise No image.svg
invimage Image for object in inventory. Can use None to force no invimage. Uses styling and images from Template:Grid/Available images Grid {{BASEPAGENAME}}.png if it exists, otherwise None
invimage2 Second image for two-state objects in inventory. Uses styling and images from Template:Grid/Available images None
type Type (Weapon, Ranged Weapon, Craftable Item, Tool, etc. ) ?
durability How durable the item is N/A
stackable Stackable ?
data Single decimal data value None
multipledata Multiple decimal data values, use {{dv}} None
firstver First version that it was seen in (eg. Alpha 1.0.17, classic 0.0.23a). None
id The ID of the entity that this creates. ?

See also

Minecraft
Minecraft Dungeons
其他

Template:Doc/end

Advertisement