Module:Inventory slot/Aliases
This table defines the aliases used in Module:Inventory slot.
| Alias | Output |
|---|---|
Acacia Fence Gate BE |
|
Any BedMatching Bed |
|
Any CandleMatching Candle |
|
Any CarpetMatching Carpet |
|
Any DyeMatching Dye |
|
Any TerracottaMatching Terracotta |
|
Any WoolMatching Wool |
|
Any Armor TrimMatching Armor Trim |
|
Any Armor Trim Smithing TemplateMatching Armor Trim Smithing Template |
|
Any BalloonMatching Balloon |
|
Any BannerMatching Banner |
|
Any BedMatching Bed |
|
Any BlackstoneMatching Blackstone |
|
Any Block of CopperMatching Block of Copper |
|
Any BoatMatching Boat |
|
Any Boat with ChestMatching Boat with Chest |
|
Any CampfireMatching Campfire |
|
Any CarpetMatching Carpet |
|
Any Chiseled CopperMatching Chiseled Copper |
|
Any Cobblestone or Blackstone |
|
Any Colored DyeMatching Colored Dye |
|
Any ConcreteMatching Concrete |
|
Any Concrete PowderMatching Concrete Powder |
|
Any Copper BulbMatching Copper Bulb |
|
Any Copper DoorMatching Copper Door |
|
Any Copper GrateMatching Copper Grate |
|
Any Copper TrapdoorMatching Copper Trapdoor |
|
Any CoralMatching Coral |
|
Any Coral BlockMatching Coral Block |
|
Any Coral FanMatching Coral Fan |
|
Any Cut CopperMatching Cut Copper |
|
Any Cut Copper SlabMatching Cut Copper Slab |
|
Any Cut Copper StairsMatching Cut Copper Stairs |
|
Any Dead CoralMatching Dead Coral |
|
Any Dead Coral BlockMatching Dead Coral Block |
|
Any Dead Coral FanMatching Dead Coral Fan |
|
Any Dyed BedMatching Dyed Bed |
|
Any Dyed CandleMatching Dyed Candle |
|
Any Dyed CarpetMatching Dyed Carpet |
|
Any Dyed TerracottaMatching Dyed Terracotta |
|
Any Dyed WoolMatching Dyed Wool |
|
Any Fence GateMatching Fence Gate |
|
Any Firework StarMatching Firework Star |
|
Any FlowerMatching Flower |
|
Any FungiMatching Fungi |
|
Any FungusMatching Fungus |
|
Any Glazed TerracottaMatching Glazed Terracotta |
|
Any Glow StickMatching Glow Stick |
|
Any Hanging SignMatching Hanging Sign |
|
Any Hardened Stained GlassMatching Hardened Stained Glass |
|
Any Hardened Stained Glass PaneMatching Hardened Stained Glass Pane |
|
Any HyphaeMatching Hyphae |
|
Any LanternMatching Lantern |
|
Any Lingering PotionMatching Lingering Potion |
|
Any LogMatching Log |
|
Any Log or StemMatching Log or Stem |
|
Any MushroomMatching Mushroom |
|
Any Nether PlanksMatching Nether Planks |
|
Any Nether Wooden ButtonMatching Nether Wooden Button |
|
Any Nether Wooden DoorMatching Nether Wooden Door |
|
Any Nether Wooden FenceMatching Nether Wooden Fence |
|
Any Nether Wooden Fence GateMatching Nether Wooden Fence Gate |
|
Any Nether Wooden Hanging SignMatching Nether Wooden Hanging Sign |
|
Any Nether Wooden Pressure PlateMatching Nether Wooden Pressure Plate |
|
Any Nether Wooden SignMatching Nether Wooden Sign |
|
Any Nether Wooden SlabMatching Nether Wooden Slab |
|
Any Nether Wooden StairsMatching Nether Wooden Stairs |
|
Any Nether Wooden TrapdoorMatching Nether Wooden Trapdoor |
|
Any NyliumMatching Nylium |
|
Any OreMatching Ore |
|
Any Overworld PlanksMatching Overworld Planks |
|
Any Overworld Wooden ButtonMatching Overworld Wooden Button |
|
Any Overworld Wooden DoorMatching Overworld Wooden Door |
|
Any Overworld Wooden FenceMatching Overworld Wooden Fence |
Invicon Oak Fence.png: Inventory sprite for Oak Fence in Minecraft as shown in-game linking to Minecraft:Oak Fence with description: Oak Fence |
Any Overworld Wooden Fence GateMatching Overworld Wooden Fence Gate |
|
Any Overworld Wooden Hanging SignMatching Overworld Wooden Hanging Sign |
|
Any Overworld Wooden Pressure PlateMatching Overworld Wooden Pressure Plate |
|
Any Overworld Wooden SignMatching Overworld Wooden Sign |
|
Any Overworld Wooden SlabMatching Overworld Wooden Slab |
|
Any Overworld Wooden StairsMatching Overworld Wooden Stairs |
Invicon Oak Stairs.png: Inventory sprite for Oak Stairs in Minecraft as shown in-game linking to Minecraft:Oak Stairs with description: Oak Stairs |
Any Overworld Wooden TrapdoorMatching Overworld Wooden Trapdoor |
|
Any PlanksMatching Planks |
|
Any PotionMatching Potion |
|
Any Pottery Sherd |
|
Any PrismarineMatching Prismarine |
|
Any Purpur BlockMatching Purpur Block |
|
Any Quartz BlockMatching Quartz Block |
|
Any Red SandstoneMatching Red Sandstone |
|
Any RootsMatching Roots |
|
Any SandstoneMatching Sandstone |
|
Any SaplingMatching Sapling |
|
Any ShieldMatching Shield |
|
Any Shulker BoxMatching Shulker Box |
Invicon White Shulker Box.png: Inventory sprite for White Shulker Box in Minecraft as shown in-game linking to Minecraft:White Shulker Box with description: White Shulker Box |
Any SignMatching Sign |
|
Any Smithing TemplateMatching Smithing Template |
|
Any Soul SandMatching Soul Sand |
|
Any Splash PotionMatching Splash Potion |
|
Any Stained GlassMatching Stained Glass |
|
Any Stained Glass PaneMatching Stained Glass Pane |
|
Any StemMatching Stem |
|
Any StoneMatching Stone |
|
Any Stone BricksMatching Stone Bricks |
|
Any Stone ButtonMatching Stone Button |
|
Any Stone Pressure PlateMatching Stone Pressure Plate |
|
Any Stone SlabMatching Stone Slab |
|
Any Stone StairsMatching Stone Stairs |
|
Any Stripped HyphaeMatching Stripped Hyphae |
|
Any Stripped LogMatching Stripped Log |
|
Any Stripped Log or StemMatching Stripped Log or Stem |
|
Any Stripped StemMatching Stripped Stem |
|
Any Stripped WoodMatching Stripped Wood |
|
Any Stripped Wood or HyphaeMatching Stripped Wood or Hyphae |
|
Any Tipped ArrowMatching Tipped Arrow |
|
Any TorchMatching Torch |
|
Any TulipMatching Tulip |
|
Any Unwaxed Block of CopperMatching Unwaxed Block of Copper |
|
Any Unwaxed Chiseled CopperMatching Unwaxed Chiseled Copper |
|
Any Unwaxed Copper BulbMatching Unwaxed Copper Bulb |
|
Any Unwaxed Copper DoorMatching Unwaxed Copper Door |
|
Any Unwaxed Copper GrateMatching Unwaxed Copper Grate |
|
Any Unwaxed Copper TrapdoorMatching Unwaxed Copper Trapdoor |
|
Any Unwaxed Cut CopperMatching Unwaxed Cut Copper |
|
Any Unwaxed Cut Copper SlabMatching Unwaxed Cut Copper Slab |
|
Any Unwaxed Cut Copper StairsMatching Unwaxed Cut Copper Stairs |
|
Any WallMatching Wall |
|
Any Waxed Block of CopperMatching Waxed Block of Copper |
|
Any Waxed Chiseled CopperMatching Waxed Chiseled Copper |
|
Any Waxed Copper BulbMatching Waxed Copper Bulb |
|
Any Waxed Copper DoorMatching Waxed Copper Door |
|
Any Waxed Copper GrateMatching Waxed Copper Grate |
|
Any Waxed Copper TrapdoorMatching Waxed Copper Trapdoor |
|
Any Waxed Cut CopperMatching Waxed Cut Copper |
|
Any Waxed Cut Copper SlabMatching Waxed Cut Copper Slab |
|
Any Waxed Cut Copper StairsMatching Waxed Cut Copper Stairs |
|
Any WoodMatching Wood |
|
Any Wood or HyphaeMatching Wood or Hyphae |
|
Any Wooden ButtonMatching Wooden Button |
|
Any Wooden DoorMatching Wooden Door |
|
Any Wooden FenceMatching Wooden Fence |
Invicon Oak Fence.png: Inventory sprite for Oak Fence in Minecraft as shown in-game linking to Minecraft:Oak Fence with description: Oak Fence |
Any Wooden Pressure PlateMatching Wooden Pressure Plate |
|
Any Wooden SlabMatching Wooden Slab |
|
Any Wooden StairsMatching Wooden Stairs |
Invicon Oak Stairs.png: Inventory sprite for Oak Stairs in Minecraft as shown in-game linking to Minecraft:Oak Stairs with description: Oak Stairs |
Any Wooden TrapdoorMatching Wooden Trapdoor |
|
Any WoolMatching Wool |
|
Any axe |
|
Any chainmail armor |
|
Any diamond armor |
|
Any diamond tools |
|
Any fuel |
|
Any golden armor |
|
Any golden tools |
|
Any hoe |
|
Any iron armor |
|
Any iron tools |
|
Any leather armor |
|
Any netherite armor |
|
Any netherite tools |
|
Any pickaxe |
|
Any shovel |
|
Any stone tools |
|
Any stone-tier block |
|
Any sword |
|
Any wooden tools |
|
Arrow Loaded Crossbow |
|
Arrow of Decay |
|
Arrow of Fire Resistance |
|
Arrow of Fire Resistance Extended |
|
Arrow of Harming |
|
Arrow of Harming Enhanced |
|
Arrow of Healing |
|
Arrow of Healing Enhanced |
|
Arrow of Invisibility |
|
Arrow of Invisibility Extended |
|
Arrow of Leaping |
|
Arrow of Leaping Enhanced |
|
Arrow of Leaping Extended |
|
Arrow of Luck |
|
Arrow of Night Vision |
|
Arrow of Night Vision Extended |
|
Arrow of Poison |
|
Arrow of Poison Enhanced |
|
Arrow of Poison Extended |
|
Arrow of Regeneration |
|
Arrow of Regeneration Enhanced |
|
Arrow of Regeneration Extended |
|
Arrow of Slow Falling |
|
Arrow of Slow Falling Extended |
|
Arrow of Slowness |
|
Arrow of Slowness Enhanced |
|
Arrow of Slowness Extended |
|
Arrow of Splashing |
|
Arrow of Strength |
|
Arrow of Strength Enhanced |
|
Arrow of Strength Extended |
|
Arrow of Swiftness |
|
Arrow of Swiftness Enhanced |
|
Arrow of Swiftness Extended |
|
Arrow of Water Breathing |
|
Arrow of Water Breathing Extended |
|
Arrow of Weakness |
|
Arrow of Weakness Extended |
|
Arrow of the Turtle Master |
|
Arrow of the Turtle Master Enhanced |
|
Arrow of the Turtle Master Extended |
|
Awkward Lingering Potion |
|
Awkward Potion |
|
Awkward Splash Potion |
|
Banner Pattern Bordure Indented |
|
Banner Pattern Creeper |
|
Banner Pattern Creeper Charge |
|
Banner Pattern Field Masoned |
|
Banner Pattern Flower |
|
Banner Pattern Flower Charge |
|
Banner Pattern Globe |
|
Banner Pattern Mojang |
|
Banner Pattern Piglin |
|
Banner Pattern Skull |
|
Banner Pattern Skull Charge |
|
Banner Pattern Snout |
|
Banner Pattern Thing |
|
Barrier |
|
Beacon |
|
Beacon BE |
|
Birch Fence Gate BE |
|
Black Firework Star |
|
Black Stained Glass Pane BE |
|
Blue Firework Star |
|
Blue Ice BE |
|
Blue Key |
|
Blue Stained Glass Pane BE |
|
Bottle o' Enchanting |
|
Bow BE |
|
Broken Elytra |
|
Brown Firework Star |
|
Brown Stained Glass Pane BE |
|
Bubble Column |
Bubble Column.gif: Inventory sprite for Bubble Column in Minecraft as shown in-game linking to Minecraft:Bubble Column with description: Bubble Column |
Bucket of Pufferfish BE |
|
Bucket of Tropical Fish BE |
|
Button |
|
Calibrated Sculk Sensor |
|
Chain Command Block |
|
Chest BE |
|
Chloride |
|
Clock |
|
Coast Armor Trim |
|
Coast Armor Trim Smithing Template |
|
Command Block |
Command Block.gif: Inventory sprite for Command Block in Minecraft as shown in-game linking to Minecraft:Command Block with description: |
Compass |
|
Conduit |
|
Conduit BE |
|
Cooked Beef |
|
Creeper Head |
|
Creeper Head BE |
|
Crimson Fence Gate BE |
|
Crimson Hyphae |
|
Crimson Stem |
|
Crying Obsidian BE |
|
Cyan Firework Star |
|
Cyan Stained Glass Pane BE |
|
Damaged Arrow Loaded Crossbow |
|
Damaged Bow |
|
Damaged Brush |
|
Damaged Carrot on a Stick |
|
Damaged Chainmail Boots |
|
Damaged Chainmail Chestplate |
|
Damaged Chainmail Helmet |
|
Damaged Chainmail Leggings |
|
Damaged Crossbow |
|
Damaged Diamond Axe |
|
Damaged Diamond Boots |
|
Damaged Diamond Chestplate |
|
Damaged Diamond Helmet |
|
Damaged Diamond Hoe |
|
Damaged Diamond Leggings |
|
Damaged Diamond Pickaxe |
|
Damaged Diamond Shovel |
|
Damaged Diamond Sword |
|
Damaged Elytra |
|
Damaged Firework Loaded Crossbow |
|
Damaged Fishing Rod |
|
Damaged Flint and Steel |
|
Damaged Golden Axe |
|
Damaged Golden Boots |
|
Damaged Golden Chestplate |
|
Damaged Golden Helmet |
|
Damaged Golden Hoe |
|
Damaged Golden Leggings |
|
Damaged Golden Pickaxe |
|
Damaged Golden Shovel |
|
Damaged Golden Sword |
|
Damaged Iron Axe |
|
Damaged Iron Boots |
|
Damaged Iron Chestplate |
|
Damaged Iron Helmet |
|
Damaged Iron Hoe |
|
Damaged Iron Leggings |
|
Damaged Iron Pickaxe |
|
Damaged Iron Shovel |
|
Damaged Iron Sword |
|
Damaged Leather Boots |
|
Damaged Leather Cap |
|
Damaged Leather Pants |
|
Damaged Leather Tunic |
|
Damaged Netherite Axe |
|
Damaged Netherite Boots |
|
Damaged Netherite Chestplate |
|
Damaged Netherite Helmet |
|
Damaged Netherite Hoe |
|
Damaged Netherite Leggings |
Invicon Damaged Netherite Leggings.png: Inventory sprite for Damaged Netherite Leggings in Minecraft as shown in-game linking to Minecraft:Damaged Netherite Leggings with description: Netherite Leggings |
Damaged Netherite Pickaxe |
|
Damaged Netherite Shovel |
|
Damaged Netherite Sword |
|
Damaged Shears |
|
Damaged Shield |
|
Damaged Stone Axe |
|
Damaged Stone Hoe |
|
Damaged Stone Pickaxe |
|
Damaged Stone Shovel |
|
Damaged Stone Sword |
|
Damaged Wooden Axe |
|
Damaged Wooden Hoe |
|
Damaged Wooden Pickaxe |
|
Damaged Wooden Shovel |
|
Damaged Wooden Sword |
|
Dark Oak Fence Gate BE |
|
Debug Stick |
|
Diamond Axe |
|
Diamond Axe BE |
|
Diamond Hoe |
|
Diamond Hoe BE |
|
Diamond Pickaxe |
|
Diamond Pickaxe BE |
|
Diamond Shovel |
|
Diamond Shovel BE |
|
Diamond Sword |
|
Diamond Sword BE |
|
Disc Fragment 5 |
|
Dragon Egg |
|
Dragon Egg BE |
|
Dragon Head |
|
Dragon Head BE |
|
Dragon's Breath |
|
Dune Armor Trim |
|
Dune Armor Trim Smithing Template |
|
Elytra |
|
Elytra Wings |
|
Enchanted Book |
|
Enchanted Golden Apple |
|
Enchanting Table BE |
|
End Crystal |
|
End Gateway BE |
|
End Portal BE |
|
End Portal Frame BE |
|
End Rod BE |
|
Ender Chest BE |
Invicon Ender Chest BE.png: Inventory sprite for Ender Chest BE in Minecraft as shown in-game linking to Minecraft:Ender Chest BE with description: Ender Chest |
Eye Armor Trim |
|
Eye Armor Trim Smithing Template |
|
Filled Bundle |
|
Fire |
|
Firework Loaded Crossbow |
|
Flowing Lava BE |
Invicon Flowing Lava BE.png: Inventory sprite for Flowing Lava BE in Minecraft as shown in-game linking to Minecraft:Flowing Lava BE with description: Flowing Lava |
Gear |
|
Glass Pane BE |
|
Glowstone BE |
|
Golden Apple |
|
Golden Axe |
|
Golden Axe BE |
|
Golden Hoe |
|
Golden Hoe BE |
|
Golden Pickaxe |
|
Golden Pickaxe BE |
|
Golden Shovel |
|
Golden Shovel BE |
|
Golden Sword |
|
Golden Sword BE |
|
Gray Firework Star |
|
Gray Stained Glass Pane BE |
|
Green Firework Star |
|
Green Stained Glass Pane BE |
|
Half Filled Bundle |
|
Head |
|
Head BE |
|
Heart of the Sea |
|
Heat Block |
|
Honey Block BE |
Invicon Honey Block BE.png: Inventory sprite for Honey Block BE in Minecraft as shown in-game linking to Minecraft:Honey Block BE with description: Honey Block |
Horn Coral Block BE |
|
Host Armor Trim |
|
Host Armor Trim Smithing Template |
|
Iron Axe |
|
Iron Axe BE |
|
Iron Bars BE |
Invicon Iron Bars BE.png: Inventory sprite for Iron Bars BE in Minecraft as shown in-game linking to Minecraft:Iron Bars BE with description: Iron Bars |
Iron Hoe |
|
Iron Hoe BE |
|
Iron Pickaxe |
|
Iron Pickaxe BE |
|
Iron Shovel |
|
Iron Shovel BE |
|
Iron Sword |
|
Iron Sword BE |
|
Jack o'Lantern BE |
|
Jigsaw Block |
|
Jungle Fence Gate BE |
Invicon Jungle Fence Gate BE.png: Inventory sprite for Jungle Fence Gate BE in Minecraft as shown in-game linking to Minecraft:Jungle Fence Gate BE with description: Jungle Fence Gate |
Jungle Leaves BE |
|
Lava |
Lava.gif: Inventory sprite for Lava in Minecraft as shown in-game linking to Minecraft:Lava with description: Lava |
Lava BE |
|
Lead (element) |
|
Leather Horse Armor BE |
|
Light 0 |
|
Light 1 |
Invicon Light 1.png: Inventory sprite for Light 1 in Minecraft as shown in-game linking to Minecraft:Light 1 with description: Light |
Light 10 |
Invicon Light 10.png: Inventory sprite for Light 10 in Minecraft as shown in-game linking to Minecraft:Light 10 with description: Light |
Light 11 |
Invicon Light 11.png: Inventory sprite for Light 11 in Minecraft as shown in-game linking to Minecraft:Light 11 with description: Light |
Light 12 |
Invicon Light 12.png: Inventory sprite for Light 12 in Minecraft as shown in-game linking to Minecraft:Light 12 with description: Light |
Light 13 |
Invicon Light 13.png: Inventory sprite for Light 13 in Minecraft as shown in-game linking to Minecraft:Light 13 with description: Light |
Light 14 |
|
Light 15 |
Invicon Light 15.png: Inventory sprite for Light 15 in Minecraft as shown in-game linking to Minecraft:Light 15 with description: Light |
Light 2 |
Invicon Light 2.png: Inventory sprite for Light 2 in Minecraft as shown in-game linking to Minecraft:Light 2 with description: Light |
Light 3 |
Invicon Light 3.png: Inventory sprite for Light 3 in Minecraft as shown in-game linking to Minecraft:Light 3 with description: Light |
Light 4 |
Invicon Light 4.png: Inventory sprite for Light 4 in Minecraft as shown in-game linking to Minecraft:Light 4 with description: Light |
Light 5 |
|
Light 6 |
Invicon Light 6.png: Inventory sprite for Light 6 in Minecraft as shown in-game linking to Minecraft:Light 6 with description: Light |
Light 7 |
Invicon Light 7.png: Inventory sprite for Light 7 in Minecraft as shown in-game linking to Minecraft:Light 7 with description: Light |
Light 8 |
Invicon Light 8.png: Inventory sprite for Light 8 in Minecraft as shown in-game linking to Minecraft:Light 8 with description: Light |
Light 9 |
Invicon Light 9.png: Inventory sprite for Light 9 in Minecraft as shown in-game linking to Minecraft:Light 9 with description: Light |
Light Block 0 |
Invicon Light Block 0.png: Inventory sprite for Light Block 0 in Minecraft as shown in-game linking to Minecraft:Light Block 0 with description: Light Block |
Light Block 1 |
|
Light Block 10 |
Invicon Light Block 10.png: Inventory sprite for Light Block 10 in Minecraft as shown in-game linking to Minecraft:Light Block 10 with description: Light Block |
Light Block 11 |
Invicon Light Block 11.png: Inventory sprite for Light Block 11 in Minecraft as shown in-game linking to Minecraft:Light Block 11 with description: Light Block |
Light Block 12 |
Invicon Light Block 12.png: Inventory sprite for Light Block 12 in Minecraft as shown in-game linking to Minecraft:Light Block 12 with description: Light Block |
Light Block 13 |
Invicon Light Block 13.png: Inventory sprite for Light Block 13 in Minecraft as shown in-game linking to Minecraft:Light Block 13 with description: Light Block |
Light Block 14 |
|
Light Block 15 |
Invicon Light Block 15.png: Inventory sprite for Light Block 15 in Minecraft as shown in-game linking to Minecraft:Light Block 15 with description: Light Block |
Light Block 2 |
Invicon Light Block 2.png: Inventory sprite for Light Block 2 in Minecraft as shown in-game linking to Minecraft:Light Block 2 with description: Light Block |
Light Block 3 |
Invicon Light Block 3.png: Inventory sprite for Light Block 3 in Minecraft as shown in-game linking to Minecraft:Light Block 3 with description: Light Block |
Light Block 4 |
Invicon Light Block 4.png: Inventory sprite for Light Block 4 in Minecraft as shown in-game linking to Minecraft:Light Block 4 with description: Light Block |
Light Block 5 |
Invicon Light Block 5.png: Inventory sprite for Light Block 5 in Minecraft as shown in-game linking to Minecraft:Light Block 5 with description: Light Block |
Light Block 6 |
|
Light Block 7 |
Invicon Light Block 7.png: Inventory sprite for Light Block 7 in Minecraft as shown in-game linking to Minecraft:Light Block 7 with description: Light Block |
Light Block 8 |
Invicon Light Block 8.png: Inventory sprite for Light Block 8 in Minecraft as shown in-game linking to Minecraft:Light Block 8 with description: Light Block |
Light Block 9 |
Invicon Light Block 9.png: Inventory sprite for Light Block 9 in Minecraft as shown in-game linking to Minecraft:Light Block 9 with description: Light Block |
Light Blue Firework Star |
|
Light Blue Stained Glass Pane BE |
Invicon Light Blue Stained Glass Pane BE.png: Inventory sprite for Light Blue Stained Glass Pane BE in Minecraft as shown in-game linking to Minecraft:Light Blue Stained Glass Pane BE with description: Light Blue Stained Glass Pane |
Light Gray Firework Star |
|
Light Gray Stained Glass Pane BE |
Invicon Light Gray Stained Glass Pane BE.png: Inventory sprite for Light Gray Stained Glass Pane BE in Minecraft as shown in-game linking to Minecraft:Light Gray Stained Glass Pane BE with description: Light Gray Stained Glass Pane |
Light Negative |
|
Lime Firework Star |
|
Lime Stained Glass Pane BE |
|
Lingering Potion of Decay |
|
Lingering Potion of Fire Resistance |
|
Lingering Potion of Fire Resistance Extended |
|
Lingering Potion of Harming |
|
Lingering Potion of Harming Enhanced |
|
Lingering Potion of Healing |
|
Lingering Potion of Healing Enhanced |
|
Lingering Potion of Invisibility |
|
Lingering Potion of Invisibility Extended |
|
Lingering Potion of Leaping |
|
Lingering Potion of Leaping Enhanced |
|
Lingering Potion of Leaping Extended |
|
Lingering Potion of Luck |
|
Lingering Potion of Night Vision |
|
Lingering Potion of Night Vision Extended |
|
Lingering Potion of Poison |
|
Lingering Potion of Poison Enhanced |
|
Lingering Potion of Poison Extended |
|
Lingering Potion of Regeneration |
|
Lingering Potion of Regeneration Enhanced |
|
Lingering Potion of Regeneration Extended |
|
Lingering Potion of Slow Falling |
|
Lingering Potion of Slow Falling Extended |
|
Lingering Potion of Slowness |
|
Lingering Potion of Slowness Enhanced |
|
Lingering Potion of Slowness Extended |
|
Lingering Potion of Strength |
|
Lingering Potion of Strength Enhanced |
|
Lingering Potion of Strength Extended |
|
Lingering Potion of Swiftness |
|
Lingering Potion of Swiftness Enhanced |
|
Lingering Potion of Swiftness Extended |
|
Lingering Potion of Water Breathing |
|
Lingering Potion of Water Breathing Extended |
|
Lingering Potion of Weakness |
|
Lingering Potion of Weakness Extended |
|
Lingering Potion of the Turtle Master |
|
Lingering Potion of the Turtle Master Enhanced |
|
Lingering Potion of the Turtle Master Extended |
|
Lingering Water Bottle |
|
Locator Map |
|
Lodestone Compass |
Lodestone Compass.gif: Inventory sprite for Lodestone Compass in Minecraft as shown in-game linking to Minecraft:Lodestone Compass with description: Lodestone Compass |
Lodestone Compass BE |
|
Magenta Firework Star |
|
Magenta Stained Glass Pane BE |
|
Magma Block |
|
Magma Block BE |
Invicon Magma Block BE.png: Inventory sprite for Magma Block BE in Minecraft as shown in-game linking to Minecraft:Magma Block BE with description: Magma Block |
Map (no markers) |
|
Map BE |
|
Matching Chloride |
|
Matching Colored Torch |
|
Minecart with Command Block BE |
|
Monster Spawner BE |
|
Mundane Lingering Potion |
|
Mundane Potion |
|
Mundane Splash Potion |
|
Music Disc 11 |
|
Music Disc 13 |
|
Music Disc 5 |
|
Music Disc Blocks |
|
Music Disc Cat |
|
Music Disc Chirp |
|
Music Disc Far |
|
Music Disc Mall |
|
Music Disc Mellohi |
|
Music Disc Otherside |
|
Music Disc Pigstep |
|
Music Disc Relic |
|
Music Disc Stal |
|
Music Disc Strad |
|
Music Disc Wait |
|
Music Disc Ward |
|
Nether Portal |
|
Nether Star |
|
Netherite Axe |
|
Netherite Axe BE |
|
Netherite Hoe |
|
Netherite Hoe BE |
|
Netherite Pickaxe |
|
Netherite Pickaxe BE |
|
Netherite Shovel |
|
Netherite Shovel BE |
|
Netherite Sword |
|
Netherite Sword BE |
|
Netherite Upgrade |
|
Netherite Upgrade Smithing Template |
|
Oak Fence Gate BE |
|
Observer BE |
|
Ocean Explorer Map BE |
|
Orange Firework Star |
|
Orange Stained Glass Pane BE |
|
Peony BE |
Invicon Peony BE.png: Inventory sprite for Peony BE in Minecraft as shown in-game linking to Minecraft:Peony BE with description: Peony |
Peony LCE |
Invicon Peony LCE.png: Inventory sprite for Peony LCE in Minecraft as shown in-game linking to Minecraft:Peony LCE with description: Peony |
Piglin Head |
Invicon Piglin Head.png: Inventory sprite for Piglin Head in Minecraft as shown in-game linking to Minecraft:Piglin Head with description: |
Pink Firework Star |
|
Pink Stained Glass Pane BE |
|
Player Head |
|
Potion of Decay |
|
Potion of Fire Resistance |
|
Potion of Fire Resistance Extended |
|
Potion of Harming |
|
Potion of Harming Enhanced |
|
Potion of Healing |
|
Potion of Healing Enhanced |
|
Potion of Invisibility |
|
Potion of Invisibility Extended |
|
Potion of Leaping |
|
Potion of Leaping Enhanced |
|
Potion of Leaping Extended |
|
Potion of Luck |
|
Potion of Night Vision |
|
Potion of Night Vision Extended |
|
Potion of Poison |
|
Potion of Poison Enhanced |
|
Potion of Poison Extended |
|
Potion of Regeneration |
|
Potion of Regeneration Enhanced |
|
Potion of Regeneration Extended |
|
Potion of Slow Falling |
|
Potion of Slow Falling Extended |
|
Potion of Slowness |
|
Potion of Slowness Enhanced |
|
Potion of Slowness Extended |
|
Potion of Strength |
|
Potion of Strength Enhanced |
|
Potion of Strength Extended |
|
Potion of Swiftness |
|
Potion of Swiftness Enhanced |
|
Potion of Swiftness Extended |
|
Potion of Water Breathing |
|
Potion of Water Breathing Extended |
|
Potion of Weakness |
|
Potion of Weakness Extended |
|
Potion of the Turtle Master |
|
Potion of the Turtle Master Enhanced |
|
Potion of the Turtle Master Extended |
|
Prismarine |
|
Prismarine Slab |
|
Prismarine Stairs |
|
Prismarine Wall |
|
Purple Firework Star |
|
Purple Stained Glass Pane BE |
Invicon Purple Stained Glass Pane BE.png: Inventory sprite for Purple Stained Glass Pane BE in Minecraft as shown in-game linking to Minecraft:Purple Stained Glass Pane BE with description: Purple Stained Glass Pane |
Raiser Armor Trim |
|
Raiser Armor Trim Smithing Template |
|
Recovery Compass |
|
Red Firework Star |
|
Red Key |
Red Key.gif: Inventory sprite for Red Key in Minecraft as shown in-game linking to Minecraft:Red Key with description: Red Key |
Red Stained Glass Pane BE |
|
Repeating Command Block |
|
Rib Armor Trim |
|
Rib Armor Trim Smithing Template |
|
Rose Bush BE |
Invicon Rose Bush BE.png: Inventory sprite for Rose Bush BE in Minecraft as shown in-game linking to Minecraft:Rose Bush BE with description: Rose Bush |
Rose Bush LCE |
Invicon Rose Bush LCE.png: Inventory sprite for Rose Bush LCE in Minecraft as shown in-game linking to Minecraft:Rose Bush LCE with description: Rose Bush |
Scaffolding BE |
|
Sculk |
|
Sculk Sensor |
Sculk Sensor.gif: Inventory sprite for Sculk Sensor in Minecraft as shown in-game linking to Minecraft:Sculk Sensor with description: Sculk Sensor |
Sculk Sensor BE |
|
Sculk Shrieker |
|
Sculk Shrieker BE |
|
Sculk Vein |
|
Sea Lantern |
|
Sea Lantern BE |
|
Sentry Armor Trim |
|
Sentry Armor Trim Smithing Template |
|
Shaper Armor Trim |
|
Shaper Armor Trim Smithing Template |
|
Shroomlight BE |
|
Shrub LCE |
|
Silence Armor Trim |
|
Silence Armor Trim Smithing Template |
|
Skeleton Skull |
|
Skeleton Skull BE |
|
Snout Armor Trim |
|
Snout Armor Trim Smithing Template |
|
Soul Fire |
|
Sparkler |
|
Spawn Cat BE |
|
Spawn Panda BE |
|
Spawn Wandering Trader BE |
|
Spawner BE |
Invicon Spawner BE.png: Inventory sprite for Spawner BE in Minecraft as shown in-game linking to Minecraft:Spawner BE with description: Spawner |
Spire Armor Trim |
|
Spire Armor Trim Smithing Template |
|
Splash Potion of Decay |
|
Splash Potion of Fire Resistance |
|
Splash Potion of Fire Resistance Extended |
|
Splash Potion of Harming |
|
Splash Potion of Harming Enhanced |
|
Splash Potion of Healing |
|
Splash Potion of Healing Enhanced |
|
Splash Potion of Invisibility |
|
Splash Potion of Invisibility Extended |
|
Splash Potion of Leaping |
|
Splash Potion of Leaping Enhanced |
|
Splash Potion of Leaping Extended |
|
Splash Potion of Luck |
|
Splash Potion of Night Vision |
|
Splash Potion of Night Vision Extended |
|
Splash Potion of Poison |
|
Splash Potion of Poison Enhanced |
|
Splash Potion of Poison Extended |
|
Splash Potion of Regeneration |
|
Splash Potion of Regeneration Enhanced |
|
Splash Potion of Regeneration Extended |
|
Splash Potion of Slow Falling |
|
Splash Potion of Slow Falling Extended |
|
Splash Potion of Slowness |
|
Splash Potion of Slowness Enhanced |
|
Splash Potion of Slowness Extended |
|
Splash Potion of Strength |
|
Splash Potion of Strength Enhanced |
|
Splash Potion of Strength Extended |
|
Splash Potion of Swiftness |
|
Splash Potion of Swiftness Enhanced |
|
Splash Potion of Swiftness Extended |
|
Splash Potion of Water Breathing |
|
Splash Potion of Water Breathing Extended |
|
Splash Potion of Weakness |
|
Splash Potion of Weakness Extended |
|
Splash Potion of the Turtle Master |
|
Splash Potion of the Turtle Master Enhanced |
|
Splash Potion of the Turtle Master Extended |
|
Splash Water Bottle |
|
Spruce Fence Gate BE |
|
Stone Axe |
|
Stone Axe BE |
|
Stone Hoe |
|
Stone Hoe BE |
|
Stone Pickaxe |
|
Stone Pickaxe BE |
|
Stone Shovel |
|
Stone Shovel BE |
|
Stone Sword |
|
Stone Sword BE |
|
Stonecutter |
|
Stonecutter BE |
Invicon Stonecutter BE.png: Inventory sprite for Stonecutter BE in Minecraft as shown in-game linking to Minecraft:Stonecutter BE with description: Stonecutter |
Structure Block |
|
Structure Void |
|
Structure Void BE |
|
Thick Lingering Potion |
|
Thick Potion |
|
Thick Splash Potion |
|
Tide Armor Trim |
|
Tide Armor Trim Smithing Template |
|
Tipped Arrow |
|
Totem of Undying |
|
Trapped Chest BE |
|
Trident |
|
Trident BE |
|
Uncraftable Lingering Potion |
|
Uncraftable Potion |
|
Uncraftable Splash Potion |
|
Uncraftable Tipped Arrow |
|
Vex Armor Trim |
|
Vex Armor Trim Smithing Template |
|
Ward Armor Trim |
|
Ward Armor Trim Smithing Template |
|
Warped Fence Gate BE |
|
Warped Hyphae |
|
Warped Stem |
|
Water |
|
Water (compound) |
|
Water Bottle |
|
Wayfinder Armor Trim |
|
Wayfinder Armor Trim Smithing Template |
|
White Firework Star |
|
White Stained Glass Pane BE |
|
Wild Armor Trim |
|
Wild Armor Trim Smithing Template |
|
Wither Skeleton Skull |
|
Wither Skeleton Skull BE |
|
Wooden Axe |
|
Wooden Axe BE |
|
Wooden Button |
|
Wooden Hoe |
|
Wooden Hoe BE |
|
Wooden Pickaxe |
|
Wooden Pickaxe BE |
|
Wooden Shovel |
|
Wooden Shovel BE |
|
Wooden Sword |
|
Wooden Sword BE |
|
Woodland Explorer Map BE |
|
Written Book |
Written Book.gif: Inventory sprite for Written Book in Minecraft as shown in-game linking to Minecraft:Written Book with description: Written Book |
Yellow Firework Star |
|
Yellow Key |
Yellow Key.gif: Inventory sprite for Yellow Key in Minecraft as shown in-game linking to Minecraft:Yellow Key with description: Yellow Key |
Yellow Stained Glass Pane BE |
|
Zombie Head |
Invicon Zombie Head.png: Inventory sprite for Zombie Head in Minecraft as shown in-game linking to Minecraft:Zombie Head with description: |
Zombie Head BE |
|
debug_fourj_item |
Invicon debug_fourj_item.png: Inventory sprite for debug_fourj_item in Minecraft as shown in-game linking to Minecraft:debug_fourj_item with description: |
de:Modul:Inventar slot/Aliases
es:Módulo:Inventory slot/Aliases
fr:Module:Case inventaire/Alias
ja:モジュール:Inventory slot/Aliases
ko:모듈:Inventory slot/Aliases
pt:Módulo:Inventory slot/Aliases
ru:Модуль:Инвентарный слот/Псевдонимы
uk:Модуль:Інвентарний слот/Псевдоніми
zh:模块:Inventory slot/Aliases
local aliases = {
-- Common fuel types for furnace --
['Any fuel'] = { 'Coal', 'Charcoal', { title = 'Log', name = 'Oak Log' }, { title = 'Overworld Planks', name = 'Oak Planks' }, 'Block of Coal' },
['Any leather armor'] = { 'Leather Cap', 'Leather Tunic', 'Leather Pants', 'Leather Boots' },
['Any golden armor'] = { 'Golden Helmet', 'Golden Chestplate', 'Golden Leggings', 'Golden Boots' },
['Any chainmail armor'] = { 'Chainmail Helmet', 'Chainmail Chestplate', 'Chainmail Leggings', 'Chainmail Boots' },
['Any iron armor'] = { 'Iron Helmet', 'Iron Chestplate', 'Iron Leggings', 'Iron Boots' },
['Any diamond armor'] = { 'Diamond Helmet', 'Diamond Chestplate', 'Diamond Leggings', 'Diamond Boots' },
['Any netherite armor'] = { 'Netherite Helmet', 'Netherite Chestplate', 'Netherite Leggings', 'Netherite Boots' },
['Any Pottery Sherd'] = { 'Angler Pottery Sherd', 'Arms Up Pottery Sherd', 'Archer Pottery Sherd', 'Blade Pottery Sherd', 'Brewer Pottery Sherd', 'Burn Pottery Sherd', 'Danger Pottery Sherd', 'Explorer Pottery Sherd', 'Friend Pottery Sherd', 'Heart Pottery Sherd', 'Heartbreak Pottery Sherd', 'Howl Pottery Sherd', 'Miner Pottery Sherd', 'Mourner Pottery Sherd', 'Plenty Pottery Sherd', 'Prize Pottery Sherd', 'Sheaf Pottery Sherd', 'Shelter Pottery Sherd', 'Skull Pottery Sherd', 'Snort Pottery Sherd', 'Brick' },
-- stones --
['Any Cobblestone or Blackstone'] = { 'Cobblestone', 'Blackstone' },
['Any stone-tier block'] = { 'Cobblestone', 'Blackstone', 'Cobbled Deepslate' },
-- Display names --
['Broken Elytra'] = { title = '&eElytra', name = 'Broken Elytra' },
['Banner Pattern Flower'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Flower Charge'},
['Banner Pattern Flower Charge'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Flower Charge'},
['Banner Pattern Creeper Charge'] = { title = '&eBanner Pattern', name = 'Banner Pattern', text = '&7Creeper Charge'},
['Banner Pattern Creeper'] = { title = '&eBanner Pattern', name = 'Banner Pattern', text = '&7Creeper Charge'},
['Banner Pattern Bordure Indented'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Bordure Indented'},
['Banner Pattern Field Masoned'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Field Masoned'},
['Banner Pattern Skull Charge'] = { title = '&eBanner Pattern', name = 'Banner Pattern', text = '&7Skull Charge'},
['Banner Pattern Skull'] = { title = '&eBanner Pattern', name = 'Banner Pattern', text = '&7Skull Charge'},
['Banner Pattern Thing'] = { title = '&dBanner Pattern', name = 'Banner Pattern', text = '&7Thing'},
['Banner Pattern Mojang'] = { title = '&dBanner Pattern', name = 'Banner Pattern', text = '&7Thing'},
['Banner Pattern Globe'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Globe'},
['Banner Pattern Snout'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Snout'},
['Banner Pattern Piglin'] = { title = 'Banner Pattern', name = 'Banner Pattern', text = '&7Snout'},
['Button'] = { title = 'Button', name = 'Stone Button'},
['Wooden Button'] = { title = 'Button', name = 'Oak Button'},
['Arrow Loaded Crossbow'] = { title = 'Crossbow', name = 'Arrow Loaded Crossbow' },
['Damaged Arrow Loaded Crossbow'] = { title = 'Crossbow', name = 'Damaged Arrow Loaded Crossbow' },
['Firework Loaded Crossbow'] = { title = 'Crossbow', name = 'Firework Loaded Crossbow' },
['Damaged Firework Loaded Crossbow'] = { title = 'Crossbow', name = 'Damaged Firework Loaded Crossbow' },
['Illager Banner'] = { title = '&6&oIllager Banner', name = 'Illager Banner', text =
'&7Cyan Lozenge/&7Light Gray Base/&7Gray Pale/&7Light Gray Bordure/&7Black Fess/&7Light Gray Per Fess'},
['Half Filled Bundle'] = { title = 'Bundle', name = 'Half Filled Bundle' },
['Filled Bundle'] = { title = 'Bundle', name = 'Filled Bundle' },
-- Empty display name --
['debug_fourj_item'] = { title = '\226\128\140', name = 'debug_fourj_item' },
-- Weapons --
['Trident'] = { name = 'Trident', text = '/&7 When in main hand:/ &21.1 Attack Speed/ &29 Attack Damage'},
['Trident BE'] = { name = 'Trident', text = '/&9 +8 Attack Damage'},
-- Bedrock and Education Edition display names --
['Elytra Wings'] = { title = 'Elytra Wings', name = 'Elytra' },
['Cooked Beef'] = { title = 'Cooked Beef', name = 'Steak' },
['Map (no markers)'] = { title = 'Map', name = 'Map', text = 'Display Markers: &cNo' },
['Locator Map'] = { title = 'Map', name = 'Map', text = 'Display Markers: &aYes' },
-- Chemistry --
['Lead (element)'] = { title = 'Lead', name = 'Lead (element)' },
['Water (compound)'] = { title = 'Water', name = 'Water (compound)' },
['Chloride'] = { 'Calcium Chloride', 'Cerium Chloride', 'Mercuric Chloride', 'Potassium Chloride', 'Tungsten Chloride' },
['Sparkler'] = { 'Orange Sparkler', 'Blue Sparkler', 'Red Sparkler', 'Purple Sparkler', 'Green Sparkler' },
['Matching Chloride'] = { 'Cerium Chloride', 'Mercuric Chloride', 'Potassium Chloride', 'Tungsten Chloride' },
['Matching Colored Torch'] = { 'Blue Torch', 'Red Torch', 'Purple Torch', 'Green Torch' }
}
-- Tooltip colors --
local yellowTooltips = {
'Creeper Head',
'Damaged Elytra',
'Dragon Head',
'Dragon\'s Breath',
'Elytra',
'Head',
'Heart of the Sea',
'Piglin Head',
'Player Head',
'Skeleton Skull',
'Totem of Undying',
'Wither Skeleton Skull',
'Zombie Head',
}
for _, name in ipairs( yellowTooltips ) do
aliases[name] = { title = '&e', name = name }
end
local aquaTooltips = {
'Beacon',
'Conduit',
'Golden Apple',
}
for _, name in ipairs( aquaTooltips ) do
aliases[name] = { title = '&b', name = name }
end
local lightPurpleTooltips = {
'Dragon Egg',
'Structure Block',
'Structure Void',
'Jigsaw Block',
'Barrier',
}
for _, name in ipairs( lightPurpleTooltips ) do
aliases[name] = { title = '&d', name = name }
end
local orangeItalicTooltips = {
'Ominous Banner',
}
for _, name in ipairs( orangeItalicTooltips ) do
aliases[name] = { title = '&6&o', name = name }
end
-- Animated icons --
local animatedIcons = {
'Blue Key',
'Bubble Column',
'Calibrated Sculk Sensor',
'Compass',
'Clock',
'Crimson Hyphae',
'Crimson Stem',
'Debug Stick',
'Fire',
'Gear',
'Heat Block',
'Lava',
'Lodestone Compass',
'Magma Block',
'Magma Block BE',
'Nether Portal',
'Prismarine',
'Prismarine Slab',
'Prismarine Stairs',
'Prismarine Wall',
'Recovery Compass',
'Red Key',
'Sea Lantern',
'Stonecutter',
'Soul Fire',
'Sculk',
'Sculk Shrieker',
'Sculk Shrieker BE',
'Sculk Sensor',
'Sculk Sensor BE',
'Sculk Vein',
'Warped Hyphae',
'Warped Stem',
'Water',
'Written Book',
'Yellow Key'
}
for _, icon in ipairs( animatedIcons ) do
aliases[icon] = icon .. '.gif'
end
-- Some things are both animated and yellow --
local animatedIconsYellowTooltips = {
'Enchanted Book',
'Nether Star',
'Bottle o\' Enchanting',
}
for _, name in ipairs( animatedIconsYellowTooltips ) do
aliases[name] = { title = '&e', name = name .. '.gif' }
end
-- Some things are both animated and aqua --
local animatedIconsAquaTooltips = {
'End Crystal',
}
for _, name in ipairs( animatedIconsAquaTooltips ) do
aliases[name] = { title = '&b', name = name .. '.gif' }
end
-- Some things are both animated and purple --
local animatedIconsPurpleTooltips = {
'Command Block',
'Chain Command Block',
'Repeating Command Block',
'Enchanted Golden Apple',
}
for _, name in ipairs( animatedIconsPurpleTooltips ) do
aliases[name] = { title = '&d', name = name .. '.gif' }
end
-- Bedrock Edition Items --
local animatedEditionItems = {
BE = {
'Lodestone Compass',
},
LCE = {
}
}
for edition, items in pairs(animatedEditionItems) do
for _, item in ipairs(items) do
local name = item .. ' ' .. edition
aliases[name] = { title = item, name = name .. '.gif' }
end
end
-- Tools and weapons --
local tools = {
{'Wooden', 'Sword', 1.6, 4 },
{'Stone', 'Sword', 1.6, 5 },
{'Iron', 'Sword', 1.6, 6 },
{'Golden', 'Sword', 1.6, 4 },
{'Diamond', 'Sword', 1.6, 7 },
{'Netherite', 'Sword', 1.6, 8 },
{'Wooden', 'Pickaxe', 1.2, 2 },
{'Stone', 'Pickaxe', 1.2, 3 },
{'Iron', 'Pickaxe', 1.2, 4 },
{'Golden', 'Pickaxe', 1.2, 2 },
{'Diamond', 'Pickaxe', 1.2, 5 },
{'Netherite', 'Pickaxe', 1.2, 6 },
{'Wooden', 'Axe', 0.8, 7 },
{'Stone', 'Axe', 0.8, 9 },
{'Iron', 'Axe', 0.9, 9 },
{'Golden', 'Axe', 1, 7 },
{'Diamond', 'Axe', 1, 9 },
{'Netherite', 'Axe', 1, 10 },
{'Wooden', 'Shovel', 1, 2.5 },
{'Stone', 'Shovel', 1, 3.5 },
{'Iron', 'Shovel', 1, 4.5 },
{'Golden', 'Shovel', 1, 2.5 },
{'Diamond', 'Shovel', 1, 5.5 },
{'Netherite', 'Shovel', 1, 6.5 },
{'Wooden', 'Hoe', 1, 1 },
{'Stone', 'Hoe', 2, 1 },
{'Iron', 'Hoe', 3, 1 },
{'Golden', 'Hoe', 1, 1 },
{'Diamond', 'Hoe', 4, 1 },
{'Netherite', 'Hoe', 4, 1 }
}
local materialGroups = {}
local toolGroups = {}
for _, toolProps in ipairs( tools ) do
local aliasName = toolProps[1] .. ' ' .. toolProps[2]
local damagedName = 'Damaged ' .. aliasName
local text = '/&7When in main hand:/ &2' .. toolProps[3] .. ' Attack Speed/ &2' .. toolProps[4] .. ' Attack Damage'
aliases[aliasName] = { title = aliasName, name = aliasName, text = text }
-- add damaged here as well so it gets the proper tooltip
aliases[damagedName] = { title = aliasName, name = damagedName, text = text }
local materialGroup = toolProps[1]:lower()
local toolGroup = toolProps[2]:lower()
if toolProps[2] ~= 'Sword' then
if materialGroups[materialGroup] == nil then materialGroups[materialGroup] = {} end
table.insert( materialGroups[materialGroup], aliases[aliasName] )
end
if toolGroups[toolGroup] == nil then toolGroups[toolGroup] = {} end
table.insert( toolGroups[toolGroup], aliases[aliasName] )
end
for materialGroup, items in pairs( materialGroups ) do
aliases['Any ' .. materialGroup .. ' tools'] = items
end
for toolGroup, items in pairs( toolGroups ) do
aliases['Any ' .. toolGroup] = items
end
-- Tools and weapons in Bedrock Edition --
local toolsBE = {
{'Wooden', 'Sword', 4 },
{'Stone', 'Sword', 5 },
{'Iron', 'Sword', 6 },
{'Golden', 'Sword', 4 },
{'Diamond', 'Sword', 7 },
{'Netherite', 'Sword', 8 },
{'Wooden', 'Pickaxe', 2 },
{'Stone', 'Pickaxe', 3 },
{'Iron', 'Pickaxe', 4 },
{'Golden', 'Pickaxe', 2 },
{'Diamond', 'Pickaxe', 5 },
{'Netherite', 'Pickaxe', 6 },
{'Wooden', 'Axe', 3 },
{'Stone', 'Axe', 4 },
{'Iron', 'Axe', 5 },
{'Golden', 'Axe', 3 },
{'Diamond', 'Axe', 6 },
{'Netherite', 'Axe', 7 },
{'Wooden', 'Shovel', 1 },
{'Stone', 'Shovel', 2 },
{'Iron', 'Shovel', 3 },
{'Golden', 'Shovel', 1 },
{'Diamond', 'Shovel', 4 },
{'Netherite', 'Shovel', 5 },
{'Wooden', 'Hoe', 2 },
{'Stone', 'Hoe', 3 },
{'Iron', 'Hoe', 4 },
{'Golden', 'Hoe', 2 },
{'Diamond', 'Hoe', 5 },
{'Netherite', 'Hoe', 6 }
}
for _, toolProps in ipairs( toolsBE ) do
local aliasName = toolProps[1] .. ' ' .. toolProps[2]
aliases[aliasName .. ' BE'] = { title = aliasName, name = aliasName, text = '/&9+' .. toolProps[3] .. ' Attack Damage'}
end
-- Lists of item variants --
local itemVariants = {
['Flower'] = { 'Oxeye Daisy', 'Cornflower', 'Lily of the Valley', 'Wither Rose', 'Red Tulip', 'Orange Tulip', 'White Tulip', 'Pink Tulip', 'Azure Bluet', 'Allium', 'Blue Orchid', 'Poppy', 'Dandelion', 'Torchflower' },
['Mushroom'] = { 'Red Mushroom', 'Brown Mushroom' },
['Quartz Block'] = { 'Block of Quartz', 'Chiseled Quartz Block', 'Quartz Pillar' },
['Red Sandstone'] = { 'Red Sandstone', 'Cut Red Sandstone', 'Chiseled Red Sandstone', 'Smooth Red Sandstone' },
['Sandstone'] = { 'Sandstone', 'Cut Sandstone', 'Chiseled Sandstone', 'Smooth Sandstone' },
['Stone Bricks'] = { 'Stone Bricks', 'Mossy Stone Bricks', 'Cracked Stone Bricks', 'Chiseled Stone Bricks' },
['Stone Slab'] = { 'Stone Slab', 'Smooth Stone Slab', 'Cobblestone Slab', 'Mossy Cobblestone Slab', 'Stone Brick Slab', 'Mossy Stone Brick Slab', 'Andesite Slab', 'Polished Andesite Slab',
'Diorite Slab', 'Polished Diorite Slab', 'Granite Slab', 'Polished Granite Slab', 'Sandstone Slab', 'Cut Sandstone Slab', 'Smooth Sandstone Slab', 'Red Sandstone Slab', 'Cut Red Sandstone Slab',
'Smooth Red Sandstone Slab', 'Brick Slab', { title = 'Prismarine Slab', name = 'Prismarine Slab.gif' }, 'Prismarine Brick Slab', 'Dark Prismarine Slab', 'Nether Brick Slab', 'Red Nether Brick Slab', 'Quartz Slab',
'Smooth Quartz Slab', 'Purpur Slab', 'End Stone Brick Slab', 'Petrified Oak Slab', 'Blackstone Slab', 'Polished Blackstone Slab', 'Polished Blackstone Brick Slab', 'Cobbled Deepslate Slab', 'Deepslate Brick Slab',
'Deepslate Tile Slab', 'Polished Deepslate Slab' },
['Stone Stairs'] = { 'Stone Stairs', 'Cobblestone Stairs', 'Mossy Cobblestone Stairs', 'Stone Brick Stairs', 'Mossy Stone Brick Stairs', 'Andesite Stairs', 'Polished Andesite Stairs',
'Diorite Stairs', 'Polished Diorite Stairs', 'Granite Stairs', 'Polished Granite Stairs', 'Sandstone Stairs', 'Smooth Sandstone Stairs', 'Red Sandstone Stairs', 'Smooth Red Sandstone Stairs',
'Brick Stairs', { title = 'Prismarine Stairs', name = 'Prismarine Stairs.gif' }, 'Prismarine Brick Stairs', 'Dark Prismarine Stairs', 'Nether Brick Stairs', 'Red Nether Brick Stairs', 'Quartz Stairs', 'Smooth Quartz Stairs', 'Purpur Stairs',
'End Stone Brick Stairs', 'Blackstone Stairs', 'Polished Blackstone Stairs', 'Polished Blackstone Brick Stairs', 'Cobbled Deepslate Stairs', 'Deepslate Brick Stairs', 'Deepslate Tile Stairs',
'Polished Deepslate Stairs' },
['Purpur Block'] = { 'Purpur Block', 'Purpur Pillar' },
['Stone'] = { 'Stone', 'Andesite', 'Granite', 'Diorite', 'Polished Andesite', 'Polished Granite', 'Polished Diorite' },
['Tulip'] = { 'Red Tulip', 'Orange Tulip', 'White Tulip', 'Pink Tulip' },
['Prismarine'] = { { title = 'Prismarine', name = 'Prismarine.gif' }, 'Prismarine Bricks', 'Dark Prismarine' },
['Ore'] = { 'Coal Ore', 'Iron Ore', 'Gold Ore', 'Lapis Lazuli Ore', 'Redstone Ore', 'Emerald Ore', 'Diamond Ore', 'Nether Quartz Ore', 'Nether Gold Ore', 'Deepslate Coal Ore',
'Deepslate Copper Ore', 'Deepslate Emerald Ore', 'Deepslate Iron Ore', 'Deepslate Gold Ore', 'Deepslate Lapis Lazuli Ore', 'Deepslate Redstone Ore', 'Deepslate Diamond Ore'},
['Dead Coral Block'] = { 'Dead Tube Coral Block', 'Dead Brain Coral Block', 'Dead Bubble Coral Block', 'Dead Fire Coral Block', 'Dead Horn Coral Block' },
['Coral Block'] = { 'Tube Coral Block', 'Brain Coral Block', 'Bubble Coral Block', 'Fire Coral Block', 'Horn Coral Block' },
['Dead Coral'] = { 'Dead Tube Coral', 'Dead Brain Coral', 'Dead Bubble Coral', 'Dead Fire Coral', 'Dead Horn Coral' },
['Dead Coral Fan'] = { 'Dead Tube Coral Fan', 'Dead Brain Coral Fan', 'Dead Bubble Coral Fan', 'Dead Fire Coral Fan', 'Dead Horn Coral Fan' },
['Coral'] = { 'Tube Coral', 'Brain Coral', 'Bubble Coral', 'Fire Coral', 'Horn Coral' },
['Coral Fan'] = { 'Tube Coral Fan', 'Brain Coral Fan', 'Bubble Coral Fan', 'Fire Coral Fan', 'Horn Coral Fan' },
['Wall'] = { 'Cobblestone Wall', 'Mossy Cobblestone Wall', 'Stone Brick Wall', 'Mossy Stone Brick Wall', 'Andesite Wall', 'Diorite Wall', 'Granite Wall', 'Sandstone Wall',
'Red Sandstone Wall', 'Brick Wall', { title = 'Prismarine Wall', name = 'Prismarine Wall.gif' }, 'Nether Brick Wall', 'Red Nether Brick Wall', 'End Stone Brick Wall', 'Blackstone Wall', 'Polished Blackstone Wall',
'Polished Blackstone Brick Wall', 'Cobbled Deepslate Wall', 'Deepslate Brick Wall', 'Deepslate Tile Wall', 'Polished Deepslate Wall' },
['Torch'] = { 'Torch', 'Soul Torch' },
['Lantern'] = { 'Lantern', 'Soul Lantern' },
['Fungus'] = { 'Crimson Fungus', 'Warped Fungus' },
['Fungi'] = { 'Crimson Fungus', 'Warped Fungus' },
['Roots'] = { 'Crimson Roots', 'Warped Roots' },
['Nylium'] = { 'Crimson Nylium', 'Warped Nylium' },
['Soul Sand'] = { 'Soul Sand', 'Soul Soil' },
['Campfire'] = { 'Campfire', 'Soul Campfire' },
['Blackstone'] = { 'Blackstone', 'Polished Blackstone', 'Chiseled Polished Blackstone', 'Polished Blackstone Bricks', 'Cracked Polished Blackstone Bricks' },
['Stone Button'] = { 'Stone Button', 'Polished Blackstone Button' },
['Stone Pressure Plate'] = { 'Stone Pressure Plate', 'Polished Blackstone Pressure Plate' },
}
-- Copper --
local copperstuff = {
'Block of Copper',
'Cut Copper',
'Cut Copper Stairs',
'Cut Copper Slab',
'Chiseled Copper',
'Copper Grate',
'Copper Bulb',
'Copper Door',
'Copper Trapdoor',
}
local coppervariants = { '', 'Exposed ', 'Weathered ', 'Oxidized ' }
for _, copper in ipairs( copperstuff ) do
itemVariants['Unwaxed ' .. copper] = {}
itemVariants['Waxed ' .. copper] = {}
for _, coppervariant in ipairs( coppervariants ) do
local name = coppervariant .. copper
if copper == 'Block of Copper' and coppervariant ~= '' then
name = coppervariant .. 'Copper'
end
table.insert( itemVariants['Unwaxed ' .. copper], name )
table.insert( itemVariants['Waxed ' .. copper], 'Waxed ' .. name )
end
itemVariants[copper] = {}
for _, copperitem in ipairs( itemVariants['Unwaxed ' .. copper] ) do
table.insert( itemVariants[copper], copperitem )
end
for _, copperitem in ipairs( itemVariants['Waxed ' .. copper] ) do
table.insert( itemVariants[copper], copperitem )
end
end
for aliasName, aliasItems in pairs( itemVariants ) do
aliases['Any ' .. aliasName] = aliasItems
aliases['Matching ' .. aliasName] = aliasItems
end
-- Discs --
local discs = {
{ '13', 'C418', },
{ 'Cat', 'C418', 'cat' },
{ 'Blocks', 'C418', 'blocks' },
{ 'Chirp', 'C418', 'chirp' },
{ 'Far', 'C418', 'far' },
{ 'Mall', 'C418', 'mall' },
{ 'Mellohi', 'C418', 'mellohi' },
{ 'Stal', 'C418', 'stal' },
{ 'Strad', 'C418', 'strad' },
{ 'Ward', 'C418', 'ward' },
{ '11', 'C418', },
{ 'Wait', 'C418', 'wait' },
{ 'Otherside', 'Lena Raine', 'otherside' },
{ 'Pigstep', 'Lena Raine', },
{ '5', 'Samuel Åberg', },
{ 'Relic', 'Aaron Cherof', },
}
for _, disc in ipairs( discs ) do
local name = 'Music Disc ' .. disc[1]
local artist = disc[2]
local trackname = disc[1]
if disc[3] ~= nil then
trackname = disc[3]
end
aliases[name] = { title = '&bMusic Disc', name = name, text = '&7' .. artist .. ' - ' .. trackname }
end
-- Disc Fragments --
local disc_fragments = {
{ '5', },
}
for _, disc_fragment in ipairs( disc_fragments ) do
local name = 'Disc Fragment ' .. disc_fragment[1]
local trackname = disc_fragment[1]
if disc_fragment[2] ~= nil then
trackname = disc_fragment[2]
end
aliases[name] = { title = '&fDisc Fragment', name = name, text = '&7Music Disc - ' .. trackname }
end
-- Damaged armor, note it skips tools and weapons as they are handled above to add the damage tooltip --
local damagedItems = {
'Bow',
'Brush',
'Carrot on a Stick',
'Chainmail Boots',
'Chainmail Chestplate',
'Chainmail Helmet',
'Chainmail Leggings',
'Crossbow',
'Diamond Boots',
'Diamond Chestplate',
'Diamond Helmet',
'Diamond Leggings',
'Elytra',
'Fishing Rod',
'Flint and Steel',
'Golden Boots',
'Golden Chestplate',
'Golden Helmet',
'Golden Leggings',
'Iron Boots',
'Iron Chestplate',
'Iron Helmet',
'Iron Leggings',
'Leather Boots',
'Leather Tunic',
'Leather Cap',
'Leather Pants',
'Netherite Boots',
'Netherite Chestplate',
'Netherite Helmet',
'Netherite Leggings',
'Shears',
'Shield'
}
for _, item in ipairs( damagedItems ) do
local name = 'Damaged ' .. item
aliases[name] = { title = item, name = name }
end
-- Banners and colored items --
local patterns = {
'Base Dexter Canton',
'Base',
'Base Gradient',
'Base Indented',
'Base Sinister Canton',
'Bend',
'Bend Sinister',
'Bordure',
'Bordure Indented',
'Chevron',
'Chief Dexter Canton',
'Chief',
'Chief Indented',
'Chief Sinister Canton',
'Creeper Charge',
'Cross',
'Fess',
'Field Masoned',
'Flower Charge',
'Globe',
'Gradient',
'Inverted Chevron',
'Lozenge',
'Thing',
'Pale',
'Pale Dexter',
'Pale Sinister',
'Paly',
'Per Bend',
'Per Bend Inverted',
'Per Bend Sinister',
'Per Bend Sinister Inverted',
'Per Fess',
'Per Fess Inverted',
'Per Pale',
'Per Pale Inverted',
'Piglin',
'Snout',
'Roundel',
'Saltire',
'Skull Charge'
}
local colors = {
'White',
'Light Gray',
'Gray',
'Black',
'Brown',
'Red',
'Orange',
'Yellow',
'Lime',
'Green',
'Cyan',
'Light Blue',
'Blue',
'Purple',
'Magenta',
'Pink'
}
-- Firework Stars --
local fireworkStar = {}
for _, color in ipairs( colors ) do
local name = color .. ' Firework Star'
aliases[name] = { title = 'Firework Star', name = name, text = '&7' .. color }
table.insert( fireworkStar, aliases[name] )
for _, pattern in ipairs( patterns ) do
name = color .. ' ' .. pattern .. ' Banner'
aliases[name] = { title = 'Banner', name = name, text = '&7' .. color .. ' ' .. pattern }
end
end
aliases['Any Firework Star'] = fireworkStar
aliases['Matching Firework Star'] = fireworkStar
-- Items that use the sixteen colors --
local coloredItems = {
withWhite = {
'Balloon',
'Banner',
'Bed',
'Carpet',
'Concrete',
'Concrete Powder',
'Glazed Terracotta',
'Glow Stick',
'Hardened $1 Stained Glass',
'Hardened $1 Stained Glass Pane',
'Shield',
'Shulker Box',
'Stained Glass',
'Stained Glass Pane',
'Wool',
'$Dyed Terracotta',
'$Dyed Candle',
},
noWhite = {
'$Dyed Wool',
'$Dyed Bed',
'$Dyed Carpet',
'$Colored Dye',
}
}
local coloredBadItems = {
['Light Gray Glow Stick'] = 1,
['Gray Glow Stick'] = 1,
['Black Glow Stick'] = 1,
}
for type, items in pairs( coloredItems ) do
for _, item in ipairs( items ) do
local coloredItemAliases = {}
local defaultItemAliases
if item:find( '%$[^1]' ) then
defaultItemAliases = {}
local itemName
if type == 'noWhite' then
itemName = item:gsub( '%$%w+', 'White' )
else
itemName = item:gsub( '%$%w+ ', '' )
end
table.insert( defaultItemAliases, itemName )
end
for _, color in ipairs( colors ) do
local itemName
if type ~= 'noWhite' or color ~= 'White' then
if item:find( '%$1' ) then
itemName = item:gsub( '%$1', color )
elseif item:find( '%$' ) then
itemName = item:gsub( '%$%w+', color )
else
itemName = color .. ' ' .. item
end
end
if not coloredBadItems[itemName] then
if defaultItemAliases then
table.insert( defaultItemAliases, itemName )
end
table.insert( coloredItemAliases, itemName )
end
end
if defaultItemAliases then
local defaultItem = item:gsub( '%$%w+', '' )
aliases['Any ' .. defaultItem] = defaultItemAliases
aliases['Matching ' .. defaultItem] = defaultItemAliases
end
item = item:gsub( '%$1 ', '' )
item = item:gsub( '%$', '' )
aliases['Any ' .. item] = coloredItemAliases
aliases['Matching ' .. item] = coloredItemAliases
end
end
-- list of all potions with no effects
local noEffects = {
'Water Bottle',
'Awkward Potion',
'Thick Potion',
'Mundane Potion',
'Uncraftable Potion',
'Splash Water Bottle',
'Awkward Splash Potion',
'Thick Splash Potion',
'Mundane Splash Potion',
'Uncraftable Splash Potion',
'Lingering Water Bottle',
'Awkward Lingering Potion',
'Thick Lingering Potion',
'Mundane Lingering Potion',
'Uncraftable Lingering Potion',
'Tipped Arrow',
'Arrow of Splashing',
'Uncraftable Tipped Arrow',
}
for _, name in ipairs(noEffects) do
aliases[name] = { name = name, text = '&7No effects' }
end
-- start these lists with the no effect items as names are not normal
local potionItems = {
['Potion'] = {
aliases['Water Bottle'],
aliases['Awkward Potion'],
aliases['Thick Potion'],
aliases['Mundane Potion'],
},
['Splash Potion'] = {
aliases['Splash Water Bottle'],
aliases['Awkward Splash Potion'],
aliases['Thick Splash Potion'],
aliases['Mundane Splash Potion'],
},
['Lingering Potion'] = {
aliases['Lingering Water Bottle'],
aliases['Awkward Lingering Potion'],
aliases['Thick Lingering Potion'],
aliases['Mundane Lingering Potion'],
},
['Tipped Arrow'] = {
aliases['Arrow of Splashing'],
aliases['Tipped Arrow'],
aliases['Tipped Arrow'],
aliases['Tipped Arrow'],
},
}
-- Potions --
local effects = {
-- durations are in the order normal, extended, enhanced
{name = 'Regeneration', effect = '&9Regeneration', enhanced = 'II',
durations = { normal = { '0:45', '1:30', '0:22' }, lingering = { '0:11', '0:22', '0:05' }, arrow = { '0:05', '0:11', '0:02' }}},
{ name = 'Swiftness', effect = '&9Speed', enhanced = 'II',
durations = { normal = { '3:00', '8:00', '1:30' }, lingering = { '0:45', '2:00', '0:22' }, arrow = { '0:22', '1:00', '0:11' }}},
{ name = 'Fire Resistance', effect = '&9Fire Resistance', durations = { normal = { '3:00', '8:00' }, lingering = { '0:45', '2:00' }, arrow = { '0:22', '1:00' }}},
{ name = 'Poison', effect = '&cPoison', enhanced = 'II',
durations = { normal = { '0:45', '1:30', '0:21' }, lingering = { '0:11', '0:22', '0:05' }, arrow = { '0:05', '0:11', '0:02' }}},
{ name = 'Healing', effect = '&9Instant Health', enhanced = 'II' },
{ name = 'Night Vision', effect = '&9Night Vision', durations = { normal = { '3:00', '8:00' }, lingering = { '0:45', '2:00' }, arrow = { '0:22', '1:00' }}},
{ name = 'Weakness', effect = '&cWeakness', durations = { normal = { '1:30', '4:00' }, lingering = { '0:22', '1:00' }, arrow = { '0:11', '0:30' }}},
{ name = 'Strength', effect = '&9Strength', enhanced = 'II',
durations = { normal = { '3:00', '8:00', '1:30'}, lingering = {'0:45', '2:00', '0:22'}, arrow = { '0:22', '1:00', '0:11' }}},
{ name = 'Slowness', effect = '&cSlowness', enhanced = 'IV',
durations = { normal = { '1:30', '4:00', '0:20'}, lingering = {'0:22', '1:00', '0:05'}, arrow = { '0:11', '0:30', '0:02' }}},
{ name = 'Leaping', effect = '&9Jump Boost', enhanced = 'II',
durations = { normal = { '3:00', '8:00', '1:30' }, lingering = {'0:45', '2:00', '0:22'}, arrow = { '0:22', '1:00', '0:11' }}},
{ name = 'Harming', effect = '&cInstant Damage', enhanced = 'II' },
{ name = 'Water Breathing', effect = '&9Water Breathing', durations = { normal = { '3:00', '8:00' }, lingering = { '0:45', '2:00' }, arrow = { '0:22', '1:00' }}},
{ name = 'Invisibility', effect = '&9Invisibility', durations = { normal = { '3:00', '8:00' }, lingering = { '0:45', '2:00' }, arrow = { '0:22', '1:00' }}},
{ name = 'Slow Falling', effect = '&9Slow Falling', durations = { normal = { '1:30', '4:00' }, lingering = { '0:22', '1:00' }, arrow = { '0:11', '0:30' }}},
{ name = 'Luck', effect = '&9Luck', durations = { normal = { '5:00' }, lingering = { '1:15' }, arrow = { '0:37' }}},
{ name = 'Decay', effect = '&cWither', durations = { normal = { '0:40' }, lingering = { '0:10' }, arrow = { '0:05' }}},
{ name = 'the Turtle Master', text = '&cSlowness IV ($1)/&9Resistance III ($1)', enhanced = '&cSlowness VI ($1)/&9Resistance IV ($1)',
durations = { normal = { '0:20', '0:40', '0:20' }, lingering = { '0:15', '0:45', '0:15' }, arrow = { '0:07', '0:22', '0:07' }}}
}
local types = {
{name = 'Potion', durations = 'normal', text = 'Potion of '},
{name = 'Splash Potion', durations = 'normal', text = 'Splash Potion of '},
{name = 'Lingering Potion', durations = 'lingering', text = 'Lingering Potion of '},
{name = 'Tipped Arrow', durations = 'arrow', text = 'Arrow of '},
}
for _, effect in ipairs(effects) do
for _, type in ipairs(types) do
-- form name, it will be reused
local name = type.text .. effect.name
local potionName = {}
if type.name == 'Tipped Arrow' then
potionName = type.text .. effect.name
else
potionName = type.text .. effect.name
end
-- if we have durations, add times
if effect.durations then
local durations = effect.durations[type.durations]
-- turtle master is weird, so just do a fancy string replacement
if effect.text then
aliases[name] = { name = potionName, text = effect.text:gsub( '%$1', durations[1] ) }
aliases[name .. ' Extended'] = { name = potionName, text = effect.text:gsub( '%$1', durations[2] ) }
aliases[name .. ' Enhanced'] = { name = potionName, text = effect.enhanced:gsub( '%$1', durations[3] ) }
else
-- we always have normal
aliases[name] = { name = potionName, text = string.format( '%s (%s)', effect.effect, durations[1] ) }
-- ensure we have extended
if durations[2] then
aliases[name .. ' Extended'] = { name = potionName, text = string.format( '%s (%s)', effect.effect, durations[2] ) }
-- and enhanced, currently there is nothing with a duration that can be extended but not enhanced
if effect.enhanced then
aliases[name .. ' Enhanced'] = { name = potionName, text = string.format( '%s %s (%s)', effect.effect, effect.enhanced, durations[3] ) }
end
end
end
else
-- otherwise its just effect, currently every potion with no duration can be enhanced
aliases[name] = { name = potionName, text = effect.effect}
aliases[name .. ' Enhanced'] = { name = potionName, text = effect.effect .. ' ' .. effect.enhanced }
end
-- add the base potion to the any list
table.insert(potionItems[type.name], aliases[name])
end
end
-- build the any lists
for item, potionAliases in pairs( potionItems ) do
aliases['Any ' .. item] = potionAliases
aliases['Matching ' .. item] = potionAliases
end
-- Wood --
local woodTypes = {
overworld = {
'Oak',
'Spruce',
'Birch',
'Jungle',
'Acacia',
'Dark Oak',
'Mangrove',
'Cherry',
'Bamboo',
},
nether = {
'Crimson',
'Warped',
},
both = {},
}
local woodTypeWorld = {}
for _, world in ipairs({'overworld', 'nether'}) do
local woods = woodTypes[world]
for _, type in ipairs(woods) do
woodTypeWorld[type] = world
table.insert(woodTypes.both, type)
end
end
local woodItems = {
overworld = {
'Log',
'Wood',
'Stripped $1 Log',
'Stripped $1 Wood',
'Boat',
'Boat with Chest',
'Sapling',
},
nether = {
'Stem',
'Hyphae',
'Stripped $1 Stem',
'Stripped $1 Hyphae',
},
both = {
-- Any/Matching X or Y
'${Log,Stem}',
'${Wood,Hyphae}',
'Stripped $1 ${Wood,Hyphae}',
'Stripped $1 ${Log,Stem}',
-- Dimensional prefixes
'$world Planks',
'$world $wood Stairs',
'$world $wood Slab',
'$world $wood Fence',
'$world $wood Fence Gate',
'$world $wood Door',
'$world $wood Trapdoor',
'$world $wood Pressure Plate',
'$world $wood Button',
'$world $wood Sign',
'$world $wood Hanging Sign',
-- Both dimensions
-- Items with non-wood variants include $wood
'Planks',
'$wood Stairs',
'$wood Slab',
'$wood Fence',
'Fence Gate',
'$wood Door',
'$wood Trapdoor',
'$wood Pressure Plate',
'$wood Button',
'Sign',
'Hanging Sign',
}
}
local woodItemWorld = {}
for world, items in pairs(woodItems) do
for _, item in ipairs(items) do
-- expand $world (should only happen in "both")
if (item:find('%$world')) and world == 'both' then
item = item:gsub('%$world ', '')
woodItemWorld['Overworld ' .. item] = 'overworld'
woodItemWorld['Nether ' .. item] = 'nether'
else
woodItemWorld[item] = world
end
end
end
local woodBadItems = {
['Bamboo Sapling'] = 1,
['Bamboo Wood'] = 1,
['Bamboo Log'] = 1,
['Stripped Bamboo Wood'] = 1,
['Stripped Bamboo Log'] = 1,
}
local woodNameMapping = {
['Mangrove Sapling'] = 'Mangrove Propagule',
['Bamboo Boat'] = 'Bamboo Raft',
['Bamboo Boat with Chest'] = 'Bamboo Raft with Chest',
}
for item, world in pairs(woodItemWorld) do
local itemName = ''
local woodAliases = {}
-- real "linkable" name
local realItem = item:gsub('^Overworld ', '')
realItem = realItem:gsub('^Nether ', '')
for _, wood in ipairs(woodTypes[world]) do
-- Parse ${,} (world-select) syntax
local selector = (woodTypeWorld[wood] == 'overworld') and "%1" or "%2"
itemName = realItem:gsub("%${(.-),(.-)}", selector)
if itemName:find('%$wood') then
itemName = itemName:gsub('%$wood', wood)
elseif itemName:find('%$1') then
itemName = itemName:gsub( '%$1', wood)
else
itemName = wood .. ' ' .. itemName
end
-- special handling
if woodNameMapping[itemName] then
itemName = woodNameMapping[itemName]
end
if not woodBadItems[itemName] then
table.insert(woodAliases, itemName)
end
end
-- Parse ${,} (world-select) syntax
item = item:gsub("%${(.-),(.-)}", "%1 or %2")
item = item:gsub('%$wood', 'Wooden')
item = item:gsub('%$1 ', '')
aliases['Any ' .. item] = woodAliases
aliases['Matching ' .. item] = woodAliases
end
-- Bedrock Edition Items --
local editionItems = {
BE = {
'Acacia Fence Gate',
'Beacon',
'Birch Fence Gate',
'Black Stained Glass Pane',
'Blue Ice',
'Blue Stained Glass Pane',
'Bow',
'Brown Stained Glass Pane',
'Bucket of Pufferfish',
'Bucket of Tropical Fish',
'Chest',
'Conduit',
'Creeper Head',
'Crimson Fence Gate',
'Crying Obsidian',
'Cyan Stained Glass Pane',
'Dark Oak Fence Gate',
'Dragon Egg',
'Dragon Head',
'Enchanting Table',
'End Gateway',
'End Portal Frame',
'End Portal',
'End Rod',
'Ender Chest',
'Flowing Lava',
'Glass Pane',
'Glowstone',
'Gray Stained Glass Pane',
'Green Stained Glass Pane',
'Head',
'Honey Block',
'Horn Coral Block',
'Iron Bars',
'Jack o\'Lantern',
'Jungle Fence Gate',
'Jungle Leaves',
'Lava',
'Leather Horse Armor',
'Light Blue Stained Glass Pane',
'Light Gray Stained Glass Pane',
'Lime Stained Glass Pane',
'Magenta Stained Glass Pane',
'Magma Block',
'Map',
'Minecart with Command Block',
'Monster Spawner',
'Oak Fence Gate',
'Observer',
'Ocean Explorer Map',
'Orange Stained Glass Pane',
'Peony',
'Pink Stained Glass Pane',
'Purple Stained Glass Pane',
'Red Stained Glass Pane',
'Rose Bush',
'Scaffolding',
'Sea Lantern',
'Shroomlight',
'Skeleton Skull',
'Spawn Cat',
'Spawn Panda',
'Spawn Wandering Trader',
'Spawner',
'Spruce Fence Gate',
'Stonecutter',
'Structure Void',
'Trapped Chest',
'Warped Fence Gate',
'White Stained Glass Pane',
'Wither Skeleton Skull',
'Woodland Explorer Map',
'Yellow Stained Glass Pane',
'Zombie Head',
},
LCE = {
'Peony',
'Rose Bush',
'Shrub'
}
}
for edition, items in pairs(editionItems) do
for _, item in ipairs(items) do
local name = item .. ' ' .. edition
aliases[name] = { title = item, name = name }
end
end
-- Light blocks
for level = 0, 15 do
aliases["Light Block " .. level] = {title = "Light Block", name = "Light Block " .. level}
aliases["Light " .. level] = {title = "&dLight", name = "Light " .. level}
end
aliases["Light Negative"] = {title = "&dLight", name = "Light Negative"}
-- Smithing Template
local smithing_templates = {
{ 'Netherite Upgrade', 'Diamond Equipment', 'Netherite Ingot' },
{ 'Coast Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Dune Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Eye Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Host Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Raiser Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Rib Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Sentry Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Shaper Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Silence Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Snout Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Spire Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Tide Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Vex Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Ward Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Wayfinder Armor Trim', 'Armor', 'Ingot & Crystals' },
{ 'Wild Armor Trim', 'Armor', 'Ingot & Crystals' },
}
local smithing_template_array = {}
local armor_trims_array = {}
for _,smithing_template in pairs(smithing_templates) do
local current_alias = {
title = 'Smithing Template',
name = smithing_template[1] .. ' Smithing Template',
text = '&7' .. smithing_template[1] .. '//Applies to:/ &9' .. smithing_template[2] .. '/&7Ingredients:/ &9' .. smithing_template[3],
}
aliases[smithing_template[1]] = current_alias
aliases[smithing_template[1] .. ' Smithing Template'] = current_alias
table.insert(smithing_template_array,current_alias)
if string.find(smithing_template[1],' Armor Trim$') then
table.insert(armor_trims_array,current_alias)
end
end
aliases['Matching Smithing Template'] = smithing_template_array
aliases['Any Smithing Template'] = smithing_template_array
aliases['Matching Armor Trim'] = armor_trims_array
aliases['Any Armor Trim'] = armor_trims_array
aliases['Matching Armor Trim Smithing Template'] = armor_trims_array
aliases['Any Armor Trim Smithing Template'] = armor_trims_array
return aliases