Module:BlockSprite

From Mo' Creatures Wiki
Jump to: navigation, search
This is the documentation page, it will be transcluded into the main module page. See Template:Documentation for more information

This module automatically inputs certain parameters when {{BlockSprite}} or {{BlockLink}} is used.


return {
	settings = {
		image = 'BlockCSS.png',
		name = 'Block',
		pos = 384,
		sheetsize = 384,
		stylesheet = true,
		url = require( [[Module:Sprite]] ).getUrl( 'BlockCSS.png', 'version=1569282718173', 'block-sprite' ),
	},
	sections = {
		{ name = 'Natural', id = 1 },
		{ name = 'Wood', id = 2 },
		{ name = 'Planks', id = 39 },
		{ name = 'Wool', id = 10 },
		{ name = 'Mineral Blocks', id = 12 },
		{ name = 'Utility', id = 46 },
		{ name = 'Liquids', id = 5 },
		{ name = 'Stairs', id = 7 },
		{ name = 'Organic', id = 48 },
		{ name = 'Saplings', id = 3 },
		{ name = 'Leaves', id = 50 },
		{ name = 'Farm', id = 52 },
		{ name = 'Unavailable', id = 4 },
	},
	ids = {
		['acacia-door'] = { pos = 1204, section = 46 },
		['acacia-door-bottom'] = { pos = 1523, section = 46 },
		['acacia-door-top'] = { pos = 1524, section = 46 },
		['all-carpets'] = { pos = 1095, section = 10 },
		['all-doors'] = { pos = 1333, section = 46 },
		['all-shulker-boxes'] = { pos = 1193, section = 46 },
		['all-wooden-doors'] = { pos = 1334, section = 46 },
		['all-wool'] = { pos = 1096, section = 10 },
		andesite = { pos = 12, section = 1 },
		anvil = { pos = 1525, section = 46 },
		['anvil-top'] = { pos = 1526, section = 46 },
		barrel = { pos = 1012, section = 46 },
		['barrel-bottom'] = { pos = 1013, section = 46 },
		['barrel-side'] = { pos = 1012, section = 46 },
		['barrel-top'] = { pos = 1014, section = 46 },
		['barrel-top-open'] = { pos = 1853, section = 46 },
		beacon = { pos = 1854, section = 46 },
		['birch-door'] = { pos = 1205, section = 46 },
		['birch-door-bottom'] = { pos = 1527, section = 46 },
		['birch-door-top'] = { pos = 1528, section = 46 },
		['birch-log'] = { pos = 174, section = 2 },
		['birch-sapling'] = { pos = 7, section = 3 },
		['birch-wood'] = { pos = 174, section = 2 },
		['black-carpet'] = { pos = 1097, section = 10 },
		['black-shulker-box'] = { pos = 609, section = 46 },
		['black-shulker-box-bottom'] = { pos = 611, section = 46 },
		['black-shulker-box-side'] = { pos = 609, section = 46 },
		['black-shulker-box-top'] = { pos = 610, section = 46 },
		['black-wool'] = { pos = 170, section = 10 },
		['blast-furnace'] = { pos = 1015, section = 46 },
		['blast-furnace-front'] = { pos = 1015, section = 46 },
		['blast-furnace-side'] = { pos = 1016, section = 46 },
		['blast-furnace-top'] = { pos = 1017, section = 46 },
		['block-of-diamond'] = { pos = 33, section = 12 },
		['block-of-emerald'] = { pos = 34, section = 12 },
		['block-of-gold'] = { pos = 32, section = 12 },
		['block-of-iron'] = { pos = 31, section = 12 },
		['block-of-quartz'] = { pos = 347, section = 12 },
		['blue-carpet'] = { pos = 1098, section = 10 },
		['blue-shulker-box'] = { pos = 621, section = 46 },
		['blue-shulker-box-bottom'] = { pos = 623, section = 46 },
		['blue-shulker-box-side'] = { pos = 621, section = 46 },
		['blue-shulker-box-top'] = { pos = 622, section = 46 },
		['blue-torch'] = { pos = 809, section = 46 },
		['blue-wool'] = { pos = 266, section = 10 },
		['brewing-stand'] = { pos = 1529, section = 46 },
		['brewing-stand-base'] = { pos = 1530, section = 46 },
		['brewing-stand-top'] = { pos = 1531, section = 46 },
		['brown-carpet'] = { pos = 1099, section = 10 },
		['brown-shulker-box'] = { pos = 624, section = 46 },
		['brown-shulker-box-bottom'] = { pos = 626, section = 46 },
		['brown-shulker-box-side'] = { pos = 624, section = 46 },
		['brown-shulker-box-top'] = { pos = 625, section = 46 },
		['brown-wool'] = { pos = 242, section = 10 },
		cake = { pos = 1837, section = 46 },
		['cake-bottom'] = { pos = 1412, section = 46 },
		['cake-side'] = { pos = 1413, section = 46 },
		['cake-side-sliced'] = { pos = 1414, section = 46 },
		['cake-top'] = { pos = 1415, section = 46 },
		campfire = { pos = 1201, section = 46 },
		carpets = { pos = 1095, section = 10 },
		['cartography-table'] = { pos = 1018, section = 46 },
		['cartography-table-front'] = { pos = 1018, section = 46 },
		['cartography-table-side'] = { pos = 1019, section = 46 },
		['cartography-table-top'] = { pos = 1020, section = 46 },
		cauldron = { pos = 1532, section = 46 },
		['cauldron-bottom'] = { pos = 1533, section = 46 },
		['cauldron-legs'] = { pos = 1534, section = 46 },
		['cauldron-side'] = { pos = 1532, section = 46 },
		['cauldron-top'] = { pos = 1535, section = 46 },
		chest = { pos = 142, section = 46 },
		['chipped-anvil'] = { pos = 1536, section = 46 },
		['chiseled-quartz'] = { pos = 348, section = 12 },
		['coarse-dirt'] = { pos = 13, section = 1 },
		['colored-torches'] = { pos = 997, section = 46 },
		['compound-creator'] = { pos = 810, section = 46 },
		['compound-creator-side'] = { pos = 811, section = 46 },
		['compound-creator-side-alt'] = { pos = 824, section = 46 },
		['compound-creator-top'] = { pos = 857, section = 46 },
		conduit = { pos = 794, section = 46 },
		['conduit-side'] = { pos = 795, section = 46 },
		['conduit-top'] = { pos = 796, section = 46 },
		['crafting-table'] = { pos = 1537, section = 46 },
		['crafting-table-front'] = { pos = 1537, section = 46 },
		['crafting-table-side'] = { pos = 1538, section = 46 },
		['crafting-table-top'] = { pos = 1539, section = 46 },
		['cyan-carpet'] = { pos = 1100, section = 10 },
		['cyan-shulker-box'] = { pos = 618, section = 46 },
		['cyan-shulker-box-bottom'] = { pos = 620, section = 46 },
		['cyan-shulker-box-side'] = { pos = 618, section = 46 },
		['cyan-shulker-box-top'] = { pos = 619, section = 46 },
		['cyan-wool'] = { pos = 314, section = 10 },
		['damaged-anvil'] = { pos = 1540, section = 46 },
		['dark-oak-door'] = { pos = 1206, section = 46 },
		['dark-oak-door-bottom'] = { pos = 1541, section = 46 },
		['dark-oak-door-top'] = { pos = 1542, section = 46 },
		['diamond-block'] = { pos = 33, section = 12 },
		dirt = { pos = 14, section = 1 },
		doors = { pos = 1333, section = 46 },
		['element-constructor'] = { pos = 858, section = 46 },
		['element-constructor-back'] = { pos = 859, section = 46 },
		['element-constructor-bottom'] = { pos = 860, section = 46 },
		['element-constructor-side'] = { pos = 861, section = 46 },
		['element-constructor-side2'] = { pos = 862, section = 46 },
		['element-constructor-top'] = { pos = 863, section = 46 },
		['emerald-block'] = { pos = 34, section = 12 },
		['enchanting-table'] = { pos = 1543, section = 46 },
		['enchanting-table-bottom'] = { pos = 1544, section = 46 },
		['enchanting-table-side'] = { pos = 1545, section = 46 },
		['enchanting-table-top'] = { pos = 1546, section = 46 },
		['enchantment-table'] = { pos = 1543, section = 46 },
		['enchantment-table-bottom'] = { pos = 1544, section = 46 },
		['enchantment-table-side'] = { pos = 1545, section = 46 },
		['enchantment-table-top'] = { pos = 1546, section = 46 },
		['end-rod'] = { pos = 1838, section = 46 },
		['ender-chest'] = { pos = 1547, section = 46 },
		['fletching-table'] = { pos = 1021, section = 46 },
		['fletching-table-front'] = { pos = 1021, section = 46 },
		['fletching-table-side'] = { pos = 1022, section = 46 },
		['fletching-table-top'] = { pos = 1023, section = 46 },
		furnace = { pos = 1418, section = 46 },
		['furnace-bottom'] = { pos = 1416, section = 46 },
		['furnace-side'] = { pos = 1417, section = 46 },
		['gold-block'] = { pos = 32, section = 12 },
		granite = { pos = 15, section = 1 },
		['grass-block'] = { pos = 4, section = 1 },
		['grass-block-side'] = { pos = 4, section = 1 },
		['grass-block-top'] = { pos = 1, section = 1 },
		gravel = { pos = 20, section = 1 },
		['gray-carpet'] = { pos = 1101, section = 10 },
		['gray-shulker-box'] = { pos = 612, section = 46 },
		['gray-shulker-box-bottom'] = { pos = 614, section = 46 },
		['gray-shulker-box-side'] = { pos = 612, section = 46 },
		['gray-shulker-box-top'] = { pos = 613, section = 46 },
		['gray-wool'] = { pos = 171, section = 10 },
		['green-carpet'] = { pos = 1102, section = 10 },
		['green-shulker-box'] = { pos = 615, section = 46 },
		['green-shulker-box-bottom'] = { pos = 617, section = 46 },
		['green-shulker-box-side'] = { pos = 615, section = 46 },
		['green-shulker-box-top'] = { pos = 616, section = 46 },
		['green-torch'] = { pos = 864, section = 46 },
		['green-wool'] = { pos = 218, section = 10 },
		grindstone = { pos = 1040, section = 46 },
		['grindstone-bottom'] = { pos = 1043, section = 46 },
		['grindstone-side'] = { pos = 1041, section = 46 },
		['grindstone-top'] = { pos = 1042, section = 46 },
		['iron-block'] = { pos = 31, section = 12 },
		['iron-door'] = { pos = 1207, section = 46 },
		['iron-door-bottom'] = { pos = 1548, section = 46 },
		['iron-door-top'] = { pos = 1549, section = 46 },
		jukebox = { pos = 1550, section = 46 },
		['jukebox-side'] = { pos = 1551, section = 46 },
		['jukebox-top'] = { pos = 1550, section = 46 },
		['jungle-door'] = { pos = 1208, section = 46 },
		['jungle-door-bottom'] = { pos = 1552, section = 46 },
		['jungle-door-top'] = { pos = 1553, section = 46 },
		['lab-table'] = { pos = 865, section = 46 },
		['lab-table-back'] = { pos = 866, section = 46 },
		['lab-table-bottom'] = { pos = 860, section = 46 },
		['lab-table-side'] = { pos = 867, section = 46 },
		['lab-table-side-alt'] = { pos = 868, section = 46 },
		['lab-table-top'] = { pos = 869, section = 46 },
		lantern = { pos = 1155, section = 46 },
		lava = { pos = 10, section = 5 },
		lectern = { pos = 1044, section = 46 },
		['lectern-back'] = { pos = 1045, section = 46 },
		['lectern-front'] = { pos = 1044, section = 46 },
		['lectern-left'] = { pos = 1046, section = 46 },
		['lectern-right'] = { pos = 1047, section = 46 },
		['light-blue-carpet'] = { pos = 539, section = 10 },
		['light-blue-shulker-box'] = { pos = 630, section = 46 },
		['light-blue-shulker-box-bottom'] = { pos = 632, section = 46 },
		['light-blue-shulker-box-side'] = { pos = 630, section = 46 },
		['light-blue-shulker-box-top'] = { pos = 631, section = 46 },
		['light-blue-wool'] = { pos = 267, section = 10 },
		['light-gray-carpet'] = { pos = 1103, section = 10 },
		['light-gray-shulker-box'] = { pos = 606, section = 46 },
		['light-gray-shulker-box-bottom'] = { pos = 608, section = 46 },
		['light-gray-shulker-box-side'] = { pos = 606, section = 46 },
		['light-gray-shulker-box-top'] = { pos = 607, section = 46 },
		['light-gray-wool'] = { pos = 338, section = 10 },
		['lime-carpet'] = { pos = 1104, section = 10 },
		['lime-shulker-box'] = { pos = 594, section = 46 },
		['lime-shulker-box-bottom'] = { pos = 596, section = 46 },
		['lime-shulker-box-side'] = { pos = 594, section = 46 },
		['lime-shulker-box-top'] = { pos = 595, section = 46 },
		['lime-wool'] = { pos = 219, section = 10 },
		['lit-blast-furnace'] = { pos = 1034, section = 46 },
		['lit-furnace'] = { pos = 1422, section = 46 },
		['lit-smoker'] = { pos = 1039, section = 46 },
		loom = { pos = 1035, section = 46 },
		['loom-bottom'] = { pos = 1037, section = 46 },
		['loom-front'] = { pos = 1035, section = 46 },
		['loom-side'] = { pos = 1036, section = 46 },
		['loom-top'] = { pos = 1038, section = 46 },
		['magenta-carpet'] = { pos = 1105, section = 10 },
		['magenta-shulker-box'] = { pos = 597, section = 46 },
		['magenta-shulker-box-bottom'] = { pos = 599, section = 46 },
		['magenta-shulker-box-side'] = { pos = 597, section = 46 },
		['magenta-shulker-box-top'] = { pos = 598, section = 46 },
		['magenta-wool'] = { pos = 291, section = 10 },
		['material-reducer'] = { pos = 870, section = 46 },
		['material-reducer-bottom'] = { pos = 871, section = 46 },
		['material-reducer-side'] = { pos = 872, section = 46 },
		['material-reducer-top'] = { pos = 873, section = 46 },
		mushrooms = { pos = 19, section = 52 },
		mycelium = { pos = 21, section = 1 },
		['note-block'] = { pos = 1551, section = 46 },
		['oak-door'] = { pos = 1209, section = 46 },
		['oak-door-bottom'] = { pos = 1554, section = 46 },
		['oak-door-top'] = { pos = 1555, section = 46 },
		['oak-log'] = { pos = 29, section = 2 },
		['oak-sapling'] = { pos = 8, section = 3 },
		['oak-wood'] = { pos = 29, section = 2 },
		observer = { pos = 1556, section = 46 },
		['observer-back'] = { pos = 1557, section = 46 },
		['observer-back-lit'] = { pos = 1558, section = 46 },
		['observer-bottom'] = { pos = 1560, section = 46 },
		['observer-side'] = { pos = 1559, section = 46 },
		['observer-top'] = { pos = 1560, section = 46 },
		obsidian = { pos = 54, section = 1 },
		['ogre-lair-dirt'] = { pos = 1874, section = 1 },
		['ogre-lair-grass'] = { pos = 1875, section = 1 },
		['ogre-lair-grass-side'] = { pos = 1875, section = 1 },
		['ogre-lair-grass-top'] = { pos = 1876, section = 1 },
		['ogre-lair-leaves'] = { pos = 2, section = 50 },
		['ogre-lair-log'] = { pos = 1882, section = 2 },
		['ogre-lair-log-top'] = { pos = 1883, section = 2 },
		['ogre-lair-planks'] = { pos = 1886, section = 39 },
		['ogre-lair-stone'] = { pos = 1877, section = 1 },
		['ogre-lair-tall-grass'] = { pos = 3, section = 48 },
		['ogre-lair-wood'] = { pos = 1882, section = 2 },
		['ogre-lair-wood-planks'] = { pos = 1886, section = 39 },
		['ogre-lair-wood-top'] = { pos = 1883, section = 2 },
		['orange-carpet'] = { pos = 1106, section = 10 },
		['orange-shulker-box'] = { pos = 588, section = 46 },
		['orange-shulker-box-bottom'] = { pos = 590, section = 46 },
		['orange-shulker-box-side'] = { pos = 588, section = 46 },
		['orange-shulker-box-top'] = { pos = 589, section = 46 },
		['orange-wool'] = { pos = 315, section = 10 },
		['pink-carpet'] = { pos = 1107, section = 10 },
		['pink-shulker-box'] = { pos = 600, section = 46 },
		['pink-shulker-box-bottom'] = { pos = 602, section = 46 },
		['pink-shulker-box-side'] = { pos = 600, section = 46 },
		['pink-shulker-box-top'] = { pos = 601, section = 46 },
		['pink-wool'] = { pos = 195, section = 10 },
		podzol = { pos = 22, section = 1 },
		['podzol-top'] = { pos = 22, section = 1 },
		pumpkin = { pos = 175, section = 52 },
		['pumpkin-side'] = { pos = 175, section = 52 },
		['purple-carpet'] = { pos = 1154, section = 10 },
		['purple-shulker-box'] = { pos = 1111, section = 46 },
		['purple-shulker-box-bottom'] = { pos = 1112, section = 46 },
		['purple-shulker-box-side'] = { pos = 1111, section = 46 },
		['purple-shulker-box-top'] = { pos = 1113, section = 46 },
		['purple-torch'] = { pos = 874, section = 46 },
		['purple-wool'] = { pos = 290, section = 10 },
		['quartz-block'] = { pos = 347, section = 12 },
		['quartz-pillar'] = { pos = 323, section = 12 },
		['quartz-stairs'] = { pos = 18, section = 7 },
		['red-carpet'] = { pos = 1108, section = 10 },
		['red-sand'] = { pos = 23, section = 1 },
		['red-shulker-box'] = { pos = 603, section = 46 },
		['red-shulker-box-bottom'] = { pos = 605, section = 46 },
		['red-shulker-box-side'] = { pos = 603, section = 46 },
		['red-shulker-box-top'] = { pos = 604, section = 46 },
		['red-torch'] = { pos = 875, section = 46 },
		['red-wool'] = { pos = 194, section = 10 },
		sand = { pos = 24, section = 1 },
		scaffolding = { pos = 1048, section = 46 },
		['scaffolding-bottom'] = { pos = 1049, section = 46 },
		['scaffolding-side'] = { pos = 1050, section = 46 },
		['scaffolding-top'] = { pos = 1051, section = 46 },
		['shulker-box'] = { pos = 591, section = 46 },
		['shulker-box-bottom'] = { pos = 593, section = 46 },
		['shulker-box-side'] = { pos = 591, section = 46 },
		['shulker-box-top'] = { pos = 592, section = 46 },
		['shulker-boxes'] = { pos = 1193, section = 46 },
		['slightly-damaged-anvil'] = { pos = 1536, section = 46 },
		['smithing-table'] = { pos = 1024, section = 46 },
		['smithing-table-front'] = { pos = 1024, section = 46 },
		['smithing-table-side'] = { pos = 1025, section = 46 },
		['smithing-table-top'] = { pos = 1026, section = 46 },
		smoker = { pos = 1027, section = 46 },
		['smoker-bottom'] = { pos = 1028, section = 46 },
		['smoker-front'] = { pos = 1027, section = 46 },
		['smoker-side'] = { pos = 1029, section = 46 },
		['smoker-top'] = { pos = 1030, section = 46 },
		sponge = { pos = 1561, section = 46 },
		['spruce-door'] = { pos = 1210, section = 46 },
		['spruce-door-bottom'] = { pos = 1562, section = 46 },
		['spruce-door-top'] = { pos = 1563, section = 46 },
		stone = { pos = 16, section = 1 },
		stonecutter = { pos = 1032, section = 46 },
		['stonecutter-bottom'] = { pos = 1031, section = 46 },
		['stonecutter-side'] = { pos = 1032, section = 46 },
		['stonecutter-top'] = { pos = 1033, section = 46 },
		tnt = { pos = 1564, section = 46 },
		['tnt-bottom'] = { pos = 1565, section = 46 },
		['tnt-side'] = { pos = 1564, section = 46 },
		['tnt-top'] = { pos = 1566, section = 46 },
		torch = { pos = 1567, section = 46 },
		['underwater-torch'] = { pos = 876, section = 46 },
		unknown = { pos = 9, section = 4 },
		['very-damaged-anvil'] = { pos = 1540, section = 46 },
		vines = { pos = 17, section = 48 },
		['wall-torch'] = { pos = 1567, section = 46 },
		water = { pos = 11, section = 5 },
		['waterlogged-conduit'] = { pos = 796, section = 46 },
		['waterlogged-conduit-side'] = { pos = 795, section = 46 },
		['waterlogged-conduit-top'] = { pos = 796, section = 46 },
		['wet-sponge'] = { pos = 1568, section = 46 },
		['white-carpet'] = { pos = 1109, section = 10 },
		['white-shulker-box'] = { pos = 585, section = 46 },
		['white-shulker-box-bottom'] = { pos = 587, section = 46 },
		['white-shulker-box-side'] = { pos = 585, section = 46 },
		['white-shulker-box-top'] = { pos = 586, section = 46 },
		['white-wool'] = { pos = 97, section = 10 },
		['wooden-doors'] = { pos = 1334, section = 46 },
		wool = { pos = 1096, section = 10 },
		['wyvern-lair-dirt'] = { pos = 1878, section = 1 },
		['wyvern-lair-grass'] = { pos = 1879, section = 1 },
		['wyvern-lair-grass-side'] = { pos = 1879, section = 1 },
		['wyvern-lair-grass-top'] = { pos = 1880, section = 1 },
		['wyvern-lair-leaves'] = { pos = 5, section = 50 },
		['wyvern-lair-log'] = { pos = 1884, section = 2 },
		['wyvern-lair-log-top'] = { pos = 1885, section = 2 },
		['wyvern-lair-planks'] = { pos = 1887, section = 39 },
		['wyvern-lair-stone'] = { pos = 1881, section = 1 },
		['wyvern-lair-tall-grass'] = { pos = 6, section = 48 },
		['wyvern-lair-wood'] = { pos = 1884, section = 2 },
		['wyvern-lair-wood-planks'] = { pos = 1887, section = 39 },
		['wyvern-lair-wood-top'] = { pos = 1885, section = 2 },
		['yellow-carpet'] = { pos = 1110, section = 10 },
		['yellow-shulker-box'] = { pos = 627, section = 46 },
		['yellow-shulker-box-bottom'] = { pos = 629, section = 46 },
		['yellow-shulker-box-side'] = { pos = 627, section = 46 },
		['yellow-shulker-box-top'] = { pos = 628, section = 46 },
		['yellow-wool'] = { pos = 243, section = 10 },
	},
}