2022-06-25 21:30:08 +00:00
|
|
|
// Headers
|
|
|
|
#include <libreborn/libreborn.h>
|
|
|
|
#include <symbols/minecraft.h>
|
2022-07-10 14:37:19 +00:00
|
|
|
#include <mods/misc/misc.h>
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
// The Actual Mod
|
2024-01-07 01:36:59 +00:00
|
|
|
static void Inventory_setupDefault_FillingContainer_addItem_call_injection(FillingContainer *filling_container) {
|
2022-06-25 21:30:08 +00:00
|
|
|
ItemInstance *fire_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(fire_instance);
|
|
|
|
fire_instance->count = 255;
|
|
|
|
fire_instance->auxiliary = 0;
|
|
|
|
fire_instance->id = 51;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(fire_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *mushroomStew_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(mushroomStew_instance);
|
|
|
|
mushroomStew_instance->count = 255;
|
|
|
|
mushroomStew_instance->auxiliary = 0;
|
|
|
|
mushroomStew_instance->id = 282;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(mushroomStew_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *steak_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(steak_instance);
|
|
|
|
steak_instance->count = 255;
|
|
|
|
steak_instance->auxiliary = 0;
|
|
|
|
steak_instance->id = 364;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(steak_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *cookedChicken_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(cookedChicken_instance);
|
|
|
|
cookedChicken_instance->count = 255;
|
|
|
|
cookedChicken_instance->auxiliary = 0;
|
|
|
|
cookedChicken_instance->id = 366;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(cookedChicken_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *porkCooked_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(porkCooked_instance);
|
|
|
|
porkCooked_instance->count = 255;
|
|
|
|
porkCooked_instance->auxiliary = 0;
|
|
|
|
porkCooked_instance->id = 320;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(porkCooked_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *apple_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(apple_instance);
|
|
|
|
apple_instance->count = 255;
|
|
|
|
apple_instance->auxiliary = 0;
|
|
|
|
apple_instance->id = 260;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(apple_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *tallGrass_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(tallGrass_instance);
|
|
|
|
tallGrass_instance->count = 255;
|
|
|
|
tallGrass_instance->auxiliary = 0;
|
|
|
|
tallGrass_instance->id = 31;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(tallGrass_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *crops_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(crops_instance);
|
|
|
|
crops_instance->count = 255;
|
|
|
|
crops_instance->auxiliary = 0;
|
|
|
|
crops_instance->id = 59;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(crops_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *farmland_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(farmland_instance);
|
|
|
|
farmland_instance->count = 255;
|
|
|
|
farmland_instance->auxiliary = 0;
|
|
|
|
farmland_instance->id = 60;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(farmland_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *activeFurnace_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(activeFurnace_instance);
|
|
|
|
activeFurnace_instance->count = 255;
|
|
|
|
activeFurnace_instance->auxiliary = 0;
|
|
|
|
activeFurnace_instance->id = 62;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(activeFurnace_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironDoor_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironDoor_instance);
|
|
|
|
ironDoor_instance->count = 255;
|
|
|
|
ironDoor_instance->auxiliary = 0;
|
|
|
|
ironDoor_instance->id = 330;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironDoor_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *activeRedstoneOre_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(activeRedstoneOre_instance);
|
|
|
|
activeRedstoneOre_instance->count = 255;
|
|
|
|
activeRedstoneOre_instance->auxiliary = 0;
|
|
|
|
activeRedstoneOre_instance->id = 74;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(activeRedstoneOre_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *pumkinStem_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(pumkinStem_instance);
|
|
|
|
pumkinStem_instance->count = 255;
|
|
|
|
pumkinStem_instance->auxiliary = 0;
|
|
|
|
pumkinStem_instance->id = 105;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(pumkinStem_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *newGrass_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(newGrass_instance);
|
|
|
|
newGrass_instance->count = 255;
|
|
|
|
newGrass_instance->auxiliary = 0;
|
|
|
|
newGrass_instance->id = 253;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(newGrass_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *reserved6_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(reserved6_instance);
|
|
|
|
reserved6_instance->count = 255;
|
|
|
|
reserved6_instance->auxiliary = 0;
|
|
|
|
reserved6_instance->id = 1;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(reserved6_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *doubleStoneSlab_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(doubleStoneSlab_instance);
|
|
|
|
doubleStoneSlab_instance->count = 255;
|
|
|
|
doubleStoneSlab_instance->auxiliary = 0;
|
|
|
|
doubleStoneSlab_instance->id = 43;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(doubleStoneSlab_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *arrow_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(arrow_instance);
|
|
|
|
arrow_instance->count = 255;
|
|
|
|
arrow_instance->auxiliary = 0;
|
|
|
|
arrow_instance->id = 262;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(arrow_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *coal_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(coal_instance);
|
|
|
|
coal_instance->count = 255;
|
|
|
|
coal_instance->auxiliary = 0;
|
|
|
|
coal_instance->id = 263;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(coal_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamond_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamond_instance);
|
|
|
|
diamond_instance->count = 255;
|
|
|
|
diamond_instance->auxiliary = 0;
|
|
|
|
diamond_instance->id = 264;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamond_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironIngot_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironIngot_instance);
|
|
|
|
ironIngot_instance->count = 255;
|
|
|
|
ironIngot_instance->auxiliary = 0;
|
|
|
|
ironIngot_instance->id = 265;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironIngot_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldIngot_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldIngot_instance);
|
|
|
|
goldIngot_instance->count = 255;
|
|
|
|
goldIngot_instance->auxiliary = 0;
|
|
|
|
goldIngot_instance->id = 266;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldIngot_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *woodSword_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(woodSword_instance);
|
|
|
|
woodSword_instance->count = 255;
|
|
|
|
woodSword_instance->auxiliary = 0;
|
|
|
|
woodSword_instance->id = 268;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(woodSword_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *woodShovel_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(woodShovel_instance);
|
|
|
|
woodShovel_instance->count = 255;
|
|
|
|
woodShovel_instance->auxiliary = 0;
|
|
|
|
woodShovel_instance->id = 269;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(woodShovel_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *woodPickaxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(woodPickaxe_instance);
|
|
|
|
woodPickaxe_instance->count = 255;
|
|
|
|
woodPickaxe_instance->auxiliary = 0;
|
|
|
|
woodPickaxe_instance->id = 270;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(woodPickaxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *woodAxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(woodAxe_instance);
|
|
|
|
woodAxe_instance->count = 255;
|
|
|
|
woodAxe_instance->auxiliary = 0;
|
|
|
|
woodAxe_instance->id = 271;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(woodAxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *stoneSword_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(stoneSword_instance);
|
|
|
|
stoneSword_instance->count = 255;
|
|
|
|
stoneSword_instance->auxiliary = 0;
|
|
|
|
stoneSword_instance->id = 272;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(stoneSword_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *stoneShovel_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(stoneShovel_instance);
|
|
|
|
stoneShovel_instance->count = 255;
|
|
|
|
stoneShovel_instance->auxiliary = 0;
|
|
|
|
stoneShovel_instance->id = 273;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(stoneShovel_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *stonePickaxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(stonePickaxe_instance);
|
|
|
|
stonePickaxe_instance->count = 255;
|
|
|
|
stonePickaxe_instance->auxiliary = 0;
|
|
|
|
stonePickaxe_instance->id = 274;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(stonePickaxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *stoneAxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(stoneAxe_instance);
|
|
|
|
stoneAxe_instance->count = 255;
|
|
|
|
stoneAxe_instance->auxiliary = 0;
|
|
|
|
stoneAxe_instance->id = 275;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(stoneAxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *shovelIron_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(shovelIron_instance);
|
|
|
|
shovelIron_instance->count = 255;
|
|
|
|
shovelIron_instance->auxiliary = 0;
|
|
|
|
shovelIron_instance->id = 256;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(shovelIron_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironPick_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironPick_instance);
|
|
|
|
ironPick_instance->count = 255;
|
|
|
|
ironPick_instance->auxiliary = 0;
|
|
|
|
ironPick_instance->id = 257;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironPick_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironAxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironAxe_instance);
|
|
|
|
ironAxe_instance->count = 255;
|
|
|
|
ironAxe_instance->auxiliary = 0;
|
|
|
|
ironAxe_instance->id = 258;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironAxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondSword_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondSword_instance);
|
|
|
|
diamondSword_instance->count = 255;
|
|
|
|
diamondSword_instance->auxiliary = 0;
|
|
|
|
diamondSword_instance->id = 276;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondSword_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondShovel_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondShovel_instance);
|
|
|
|
diamondShovel_instance->count = 255;
|
|
|
|
diamondShovel_instance->auxiliary = 0;
|
|
|
|
diamondShovel_instance->id = 277;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondShovel_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondPickaxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondPickaxe_instance);
|
|
|
|
diamondPickaxe_instance->count = 255;
|
|
|
|
diamondPickaxe_instance->auxiliary = 0;
|
|
|
|
diamondPickaxe_instance->id = 278;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondPickaxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondAxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondAxe_instance);
|
|
|
|
diamondAxe_instance->count = 255;
|
|
|
|
diamondAxe_instance->auxiliary = 0;
|
|
|
|
diamondAxe_instance->id = 279;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondAxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *magicWand_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(magicWand_instance);
|
|
|
|
magicWand_instance->count = 255;
|
|
|
|
magicWand_instance->auxiliary = 0;
|
|
|
|
magicWand_instance->id = 280;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(magicWand_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *bowl_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(bowl_instance);
|
|
|
|
bowl_instance->count = 255;
|
|
|
|
bowl_instance->auxiliary = 0;
|
|
|
|
bowl_instance->id = 281;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(bowl_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldSword_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldSword_instance);
|
|
|
|
goldSword_instance->count = 255;
|
|
|
|
goldSword_instance->auxiliary = 0;
|
|
|
|
goldSword_instance->id = 283;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldSword_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldShovel_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldShovel_instance);
|
|
|
|
goldShovel_instance->count = 255;
|
|
|
|
goldShovel_instance->auxiliary = 0;
|
|
|
|
goldShovel_instance->id = 284;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldShovel_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldPickaxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldPickaxe_instance);
|
|
|
|
goldPickaxe_instance->count = 255;
|
|
|
|
goldPickaxe_instance->auxiliary = 0;
|
|
|
|
goldPickaxe_instance->id = 285;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldPickaxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldAxe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldAxe_instance);
|
|
|
|
goldAxe_instance->count = 255;
|
|
|
|
goldAxe_instance->auxiliary = 0;
|
|
|
|
goldAxe_instance->id = 286;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldAxe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *string_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(string_instance);
|
|
|
|
string_instance->count = 255;
|
|
|
|
string_instance->auxiliary = 0;
|
|
|
|
string_instance->id = 287;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(string_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *feather_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(feather_instance);
|
|
|
|
feather_instance->count = 255;
|
|
|
|
feather_instance->auxiliary = 0;
|
|
|
|
feather_instance->id = 288;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(feather_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *gunpowder_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(gunpowder_instance);
|
|
|
|
gunpowder_instance->count = 255;
|
|
|
|
gunpowder_instance->auxiliary = 0;
|
|
|
|
gunpowder_instance->id = 289;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(gunpowder_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *woodHoe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(woodHoe_instance);
|
|
|
|
woodHoe_instance->count = 255;
|
|
|
|
woodHoe_instance->auxiliary = 0;
|
|
|
|
woodHoe_instance->id = 290;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(woodHoe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *stoneHoe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(stoneHoe_instance);
|
|
|
|
stoneHoe_instance->count = 255;
|
|
|
|
stoneHoe_instance->auxiliary = 0;
|
|
|
|
stoneHoe_instance->id = 291;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(stoneHoe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *flint1_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(flint1_instance);
|
|
|
|
flint1_instance->count = 255;
|
|
|
|
flint1_instance->auxiliary = 0;
|
|
|
|
flint1_instance->id = 292;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(flint1_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondHoe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondHoe_instance);
|
|
|
|
diamondHoe_instance->count = 255;
|
|
|
|
diamondHoe_instance->auxiliary = 0;
|
|
|
|
diamondHoe_instance->id = 293;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondHoe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldHoe_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldHoe_instance);
|
|
|
|
goldHoe_instance->count = 255;
|
|
|
|
goldHoe_instance->auxiliary = 0;
|
|
|
|
goldHoe_instance->id = 294;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldHoe_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *seeds_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(seeds_instance);
|
|
|
|
seeds_instance->count = 255;
|
|
|
|
seeds_instance->auxiliary = 0;
|
|
|
|
seeds_instance->id = 295;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(seeds_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *wheat_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(wheat_instance);
|
|
|
|
wheat_instance->count = 255;
|
|
|
|
wheat_instance->auxiliary = 0;
|
|
|
|
wheat_instance->id = 296;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(wheat_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *bread_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(bread_instance);
|
|
|
|
bread_instance->count = 255;
|
|
|
|
bread_instance->auxiliary = 0;
|
|
|
|
bread_instance->id = 297;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(bread_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondHelm_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondHelm_instance);
|
|
|
|
diamondHelm_instance->count = 255;
|
|
|
|
diamondHelm_instance->auxiliary = 0;
|
|
|
|
diamondHelm_instance->id = 310;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondHelm_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondChest_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondChest_instance);
|
|
|
|
diamondChest_instance->count = 255;
|
|
|
|
diamondChest_instance->auxiliary = 0;
|
|
|
|
diamondChest_instance->id = 311;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondChest_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondLeg_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondLeg_instance);
|
|
|
|
diamondLeg_instance->count = 255;
|
|
|
|
diamondLeg_instance->auxiliary = 0;
|
|
|
|
diamondLeg_instance->id = 312;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondLeg_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *diamondBoot_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(diamondBoot_instance);
|
|
|
|
diamondBoot_instance->count = 255;
|
|
|
|
diamondBoot_instance->auxiliary = 0;
|
|
|
|
diamondBoot_instance->id = 313;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(diamondBoot_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *leatherCap_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(leatherCap_instance);
|
|
|
|
leatherCap_instance->count = 255;
|
|
|
|
leatherCap_instance->auxiliary = 0;
|
|
|
|
leatherCap_instance->id = 298;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(leatherCap_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *leatherShirt_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(leatherShirt_instance);
|
|
|
|
leatherShirt_instance->count = 255;
|
|
|
|
leatherShirt_instance->auxiliary = 0;
|
|
|
|
leatherShirt_instance->id = 299;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(leatherShirt_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *leatherPants_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(leatherPants_instance);
|
|
|
|
leatherPants_instance->count = 255;
|
|
|
|
leatherPants_instance->auxiliary = 0;
|
|
|
|
leatherPants_instance->id = 300;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(leatherPants_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *leatherBoots_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(leatherBoots_instance);
|
|
|
|
leatherBoots_instance->count = 255;
|
|
|
|
leatherBoots_instance->auxiliary = 0;
|
|
|
|
leatherBoots_instance->id = 301;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(leatherBoots_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *chainHelm_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(chainHelm_instance);
|
|
|
|
chainHelm_instance->count = 255;
|
|
|
|
chainHelm_instance->auxiliary = 0;
|
|
|
|
chainHelm_instance->id = 302;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(chainHelm_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *chainShirt_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(chainShirt_instance);
|
|
|
|
chainShirt_instance->count = 255;
|
|
|
|
chainShirt_instance->auxiliary = 0;
|
|
|
|
chainShirt_instance->id = 303;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(chainShirt_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *chainLegs_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(chainLegs_instance);
|
|
|
|
chainLegs_instance->count = 255;
|
|
|
|
chainLegs_instance->auxiliary = 0;
|
|
|
|
chainLegs_instance->id = 304;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(chainLegs_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *chainBoots_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(chainBoots_instance);
|
|
|
|
chainBoots_instance->count = 255;
|
|
|
|
chainBoots_instance->auxiliary = 0;
|
|
|
|
chainBoots_instance->id = 305;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(chainBoots_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldHelm_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldHelm_instance);
|
|
|
|
goldHelm_instance->count = 255;
|
|
|
|
goldHelm_instance->auxiliary = 0;
|
|
|
|
goldHelm_instance->id = 314;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldHelm_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldChest_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldChest_instance);
|
|
|
|
goldChest_instance->count = 255;
|
|
|
|
goldChest_instance->auxiliary = 0;
|
|
|
|
goldChest_instance->id = 315;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldChest_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldLegs_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldLegs_instance);
|
|
|
|
goldLegs_instance->count = 255;
|
|
|
|
goldLegs_instance->auxiliary = 0;
|
|
|
|
goldLegs_instance->id = 316;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldLegs_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *goldBoots_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(goldBoots_instance);
|
|
|
|
goldBoots_instance->count = 255;
|
|
|
|
goldBoots_instance->auxiliary = 0;
|
|
|
|
goldBoots_instance->id = 317;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(goldBoots_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironHelm_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironHelm_instance);
|
|
|
|
ironHelm_instance->count = 255;
|
|
|
|
ironHelm_instance->auxiliary = 0;
|
|
|
|
ironHelm_instance->id = 306;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironHelm_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironChest_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironChest_instance);
|
|
|
|
ironChest_instance->count = 255;
|
|
|
|
ironChest_instance->auxiliary = 0;
|
|
|
|
ironChest_instance->id = 307;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironChest_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironLegs_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironLegs_instance);
|
|
|
|
ironLegs_instance->count = 255;
|
|
|
|
ironLegs_instance->auxiliary = 0;
|
|
|
|
ironLegs_instance->id = 308;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironLegs_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *ironBoots_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(ironBoots_instance);
|
|
|
|
ironBoots_instance->count = 255;
|
|
|
|
ironBoots_instance->auxiliary = 0;
|
|
|
|
ironBoots_instance->id = 309;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(ironBoots_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *flint2_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(flint2_instance);
|
|
|
|
flint2_instance->count = 255;
|
|
|
|
flint2_instance->auxiliary = 0;
|
|
|
|
flint2_instance->id = 318;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(flint2_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *porkRaw_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(porkRaw_instance);
|
|
|
|
porkRaw_instance->count = 255;
|
|
|
|
porkRaw_instance->auxiliary = 0;
|
|
|
|
porkRaw_instance->id = 319;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(porkRaw_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *leather_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(leather_instance);
|
|
|
|
leather_instance->count = 255;
|
|
|
|
leather_instance->auxiliary = 0;
|
|
|
|
leather_instance->id = 334;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(leather_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *clayBrick_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(clayBrick_instance);
|
|
|
|
clayBrick_instance->count = 255;
|
|
|
|
clayBrick_instance->auxiliary = 0;
|
|
|
|
clayBrick_instance->id = 336;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(clayBrick_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *clay_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(clay_instance);
|
|
|
|
clay_instance->count = 255;
|
|
|
|
clay_instance->auxiliary = 0;
|
|
|
|
clay_instance->id = 337;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(clay_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *notepad_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(notepad_instance);
|
|
|
|
notepad_instance->count = 255;
|
|
|
|
notepad_instance->auxiliary = 0;
|
|
|
|
notepad_instance->id = 339;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(notepad_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *book_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(book_instance);
|
|
|
|
book_instance->count = 255;
|
|
|
|
book_instance->auxiliary = 0;
|
|
|
|
book_instance->id = 340;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(book_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *slimeball_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(slimeball_instance);
|
|
|
|
slimeball_instance->count = 255;
|
|
|
|
slimeball_instance->auxiliary = 0;
|
|
|
|
slimeball_instance->id = 341;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(slimeball_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *compass_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(compass_instance);
|
|
|
|
compass_instance->count = 255;
|
|
|
|
compass_instance->auxiliary = 0;
|
|
|
|
compass_instance->id = 345;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(compass_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *clock_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(clock_instance);
|
|
|
|
clock_instance->count = 255;
|
|
|
|
clock_instance->auxiliary = 0;
|
|
|
|
clock_instance->id = 347;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(clock_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *glowDust_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(glowDust_instance);
|
|
|
|
glowDust_instance->count = 255;
|
|
|
|
glowDust_instance->auxiliary = 0;
|
|
|
|
glowDust_instance->id = 348;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(glowDust_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *bone_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(bone_instance);
|
|
|
|
bone_instance->count = 255;
|
|
|
|
bone_instance->auxiliary = 0;
|
|
|
|
bone_instance->id = 352;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(bone_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *sugar_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(sugar_instance);
|
|
|
|
sugar_instance->count = 255;
|
|
|
|
sugar_instance->auxiliary = 0;
|
|
|
|
sugar_instance->id = 353;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(sugar_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *melon_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(melon_instance);
|
|
|
|
melon_instance->count = 255;
|
|
|
|
melon_instance->auxiliary = 0;
|
|
|
|
melon_instance->id = 360;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(melon_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *beefRaw_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(beefRaw_instance);
|
|
|
|
beefRaw_instance->count = 255;
|
|
|
|
beefRaw_instance->auxiliary = 0;
|
|
|
|
beefRaw_instance->id = 363;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(beefRaw_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
|
|
|
|
ItemInstance *chickenRaw_instance = new ItemInstance;
|
|
|
|
ALLOC_CHECK(chickenRaw_instance);
|
|
|
|
chickenRaw_instance->count = 255;
|
|
|
|
chickenRaw_instance->auxiliary = 0;
|
|
|
|
chickenRaw_instance->id = 365;
|
2024-07-15 02:12:08 +00:00
|
|
|
filling_container->addItem(chickenRaw_instance);
|
2022-06-25 21:30:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Init
|
2022-07-13 15:58:35 +00:00
|
|
|
__attribute__((constructor)) static void init_expanded_creative() {
|
2022-06-25 21:30:08 +00:00
|
|
|
INFO("Loading Expanded Creative Mod");
|
2022-07-10 14:37:19 +00:00
|
|
|
misc_run_on_creative_inventory_setup(Inventory_setupDefault_FillingContainer_addItem_call_injection);
|
2022-06-25 21:30:08 +00:00
|
|
|
}
|