Minecraft Wiki

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

了解更多

Minecraft Wiki
(图片尺寸确实是32x32)
无编辑摘要
第2行: 第2行:
 
settings = {
 
settings = {
 
align = 'middle',
 
align = 'middle',
  +
classname = 'inv-sprite',
 
image = 'SlotSprite.png',
 
image = 'SlotSprite.png',
 
name = 'Slot',
 
name = 'Slot',

2019年4月29日 (一) 16:41的版本

此模块用于为{{SlotSprite}}自动提供参数。


语言
return {
	settings = {
		align = 'middle',
		classname = 'inv-sprite',
		image = 'SlotSprite.png',
		name = 'Slot',
		sheetsize = 2048,
		size = 32,
		stylesheet = true,
		url = require( [[Module:Sprite]] ).getUrl( 'SlotSprite.png', 'version=a1a73eab0ea4cb912e4e4b443c6d784c', 'slot-sprite' ),
	},
	sections = {
		{ name = '信息框工具图标', id = 5 },
		{ name = '合成界面', id = 2 },
		{ name = '动物装备', id = 3 },
		{ name = '玩家装备', id = 4 },
		{ name = '未分类', id = 1 },
	},
	ids = {
		['?'] = { pos = 1, section = 1 },
		['Axe Required'] = { pos = 14, section = 5 },
		['Blaze Powder'] = { pos = 6, section = 2 },
		Bottle = { pos = 7, section = 2 },
		['Bucket Required'] = { pos = 15, section = 5 },
		Carpet = { pos = 9, section = 3 },
		Chest = { pos = 2, section = 4 },
		Feet = { pos = 3, section = 4 },
		Head = { pos = 4, section = 4 },
		['Hoe Required'] = { pos = 16, section = 5 },
		['Horse Armor'] = { pos = 10, section = 3 },
		['Lapis Lazuli'] = { pos = 8, section = 2 },
		Legs = { pos = 5, section = 4 },
		Offhand = { pos = 12, section = 4 },
		['Offhand BE'] = { pos = 13, section = 4 },
		['Pickaxe Required'] = { pos = 17, section = 5 },
		Saddle = { pos = 11, section = 3 },
		['Shovel Required'] = { pos = 18, section = 5 },
		['Sword Required'] = { pos = 19, section = 5 },
	},
}