本站文本内容除另有声明外,转载时均必须注明出处,并遵守CC BY-NC-SA 3.0协议。(转载须知)
本站是中文Minecraft Wiki的镜像站,与Mojang Studios、Weird Gloop没有从属关系。(免责声明)
模板:Hunger
This template displays hunger points and visualizes these with the help of a hunger bar.
For a more compact display, all hunger point values above 16 (8 shanks) are replaced by × [hunger / 2].
Parameter | Function | Default value |
---|---|---|
1 |
Amount of icons to show. | 0 |
2 |
Size of icons. | 9px |
poisoned |
Show yellow-green hunger icons if set. | 0 |
Code | Result |
---|---|
{{hunger|0}} |
0(![]() |
{{hunger|5}} |
5(![]() ![]() ![]() |
{{hunger|5|18}} |
5(![]() ![]() ![]() |
{{hunger|5|poisoned=1}} |
5(![]() ![]() ![]() |
{{hunger|16}} |
16(![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
{{hunger|20}} |
20(![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
{{hunger|20|notag=1}} |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |