Skip to content

These docs were made completely by AI, so they might be right, or wrong, you'll need to test them yourself. This was made for a easier understanding of everything. So use at your own risk. If anything is wrong, please don't hurt to make a PR on the page you have a problem with. ON GITHUB

Raw Materials

Raw materials are the crafting ingredients and resource items in LCE. Most of them are just plain Item instances registered in Item::staticCtor() with no special subclass. A few have their own classes for placement or potion brewing.

These items are registered as new Item(id) with builder-pattern config. They don’t override useOn, use, or any other methods beyond their stack and texture settings.

ItemIDTexture NameNotes
Diamond264diamondeBaseItemType_treasure, eMaterial_diamond; repair item for Diamond tier
Iron Ingot265ingotIroneBaseItemType_treasure, eMaterial_iron; repair item for Iron tier
Gold Ingot266ingotGoldeBaseItemType_treasure, eMaterial_gold; repair item for Gold tier
Stick280stickHand-equipped (handEquipped() called)
Bowl281bowleBaseItemType_utensil, eMaterial_wood; max stack 64
Feather288featherCrafting ingredient for arrows
Gunpowder (sulphur)289sulphurBrewing formula: MOD_GUNPOWDER
Wheat296wheatCrafting ingredient for bread, cake
Flint318flintCrafting ingredient for flint and steel, arrows
Leather334leatherRepair item for Leather (cloth) armor
Brick336brickCrafting ingredient for brick blocks
Clay Ball337claySmelts into brick
Paper339paperCrafting ingredient for books, maps
Slime Ball341slimeballCrafting ingredient for sticky pistons, magma cream
Glowstone Dust348yellowDustBrewing formula: MOD_GLOWSTONE
Bone352boneHand-equipped; crafts into bone meal (dye aux 15)
Sugar353sugarBrewing formula: MOD_SUGAR
Blaze Rod369blazeRodHand-equipped; crafts into blaze powder
Ghast Tear370ghastTearBrewing formula: MOD_GHASTTEARS
Gold Nugget371goldNuggeteBaseItemType_treasure, eMaterial_gold; 9 craft into gold ingot
Fermented Spider Eye376fermentedSpiderEyeBrewing formula: MOD_FERMENTEDEYE
Blaze Powder377blazePowderBrewing formula: MOD_BLAZEPOWDER
Magma Cream378magmaCreamBrewing formula: MOD_MAGMACREAM
Glistering Melon382speckledMeloneBaseItemType_giltFruit, eMaterial_melon; brewing: MOD_SPECKLEDMELON
Emerald388emeraldeBaseItemType_treasure, eMaterial_emerald; villager trading currency
Nether Brick (item)405netherbrickCrafts into nether brick blocks
Nether Quartz406netherquartzCrafts into quartz blocks

These materials have their own subclasses with extra behavior.

Files: Minecraft.World/CoalItem.h, Minecraft.World/CoalItem.cpp

PropertyValue
ID263
Stacked By DataYes
Max Damage0

Uses auxValue to tell apart Coal (0) and Charcoal (1, constant CHAR_COAL). The getDescriptionId method returns IDS_ITEM_CHARCOAL for aux 1 and IDS_ITEM_COAL for aux 0.

Files: Minecraft.World/RedStoneItem.h, Minecraft.World/RedStoneItem.cpp

PropertyValue
ID331
Brewing FormulaMOD_REDSTONE

Overrides useOn to place redstone dust tile (Tile::redStoneDust) on the target block face. Also works as a potion brewing ingredient.

Files: Minecraft.World/SeedItem.h, Minecraft.World/SeedItem.cpp

Seeds are plantable items that place crop tiles on farmland. The constructor takes a resultId (the tile to place) and a targetLand (the tile the seed must be placed on). The useOn method only works on the top face (face == 1). It checks that the block below is the target land and the block above is empty, then places the result tile.

ItemIDResult TileTarget LandNotes
Wheat Seeds295Tile::crops_IdTile::farmland_Id
Pumpkin Seeds361Tile::pumpkinStem_IdTile::farmland_IdeBaseItemType_seed, eMaterial_pumpkin
Melon Seeds362Tile::melonStem_IdTile::farmland_IdeBaseItemType_seed, eMaterial_melon
Nether Wart372Tile::netherStalk_IdTile::hellSand_IdBrewing formula: MOD_NETHERWART
PropertyValue
ID262
ClassItem

A simple item with no special behavior. Gets consumed by BowItem when firing. See Combat Items for bow mechanics.

Several material items are tagged with potion brewing formulas through setPotionBrewingFormula(). You can put these items in a brewing stand to modify potions.

ItemIDBrewing Formula
Gunpowder289MOD_GUNPOWDER
Redstone331MOD_REDSTONE
Glowstone Dust348MOD_GLOWSTONE
Sugar353MOD_SUGAR
Ghast Tear370MOD_GHASTTEARS
Nether Wart372MOD_NETHERWART
Spider Eye375MOD_SPIDEREYE
Fermented Spider Eye376MOD_FERMENTEDEYE
Blaze Powder377MOD_BLAZEPOWDER
Magma Cream378MOD_MAGMACREAM
Glistering Melon382MOD_SPECKLEDMELON
Golden Carrot396MOD_GOLDENCARROT

See Effects (Potions) for the full potion system.

MinecraftConsoles adds one new material item and renames another:

  • Nether Star (ID 399, netherStar) is added as a drop from the Wither boss. It’s a SimpleFoiledItem (icon name: nether_star), meaning isFoil always returns true so it shows the enchantment glint effect. Used as a crafting ingredient for beacons.
  • sulphur is renamed to gunpowder (gunpowder_Id = 289). The texture name also changes from sulphur to gunpowder. This matches vanilla Minecraft naming.

The rest of the raw materials (ingots, gems, redstone, glowstone dust, sticks, brewing ingredients, etc.) are the same between the two codebases. Same IDs, same brewing formulas, same properties.