4jcraft/targets/app/common/UI/All Platforms/IUIScene_CreativeMenu.cpp
2026-04-07 09:41:29 +02:00

1536 lines
60 KiB
C++

#include "IUIScene_CreativeMenu.h"
#include <assert.h>
#include <cmath>
#include <string>
#include <vector>
#include "platform/InputActions.h"
#include "app/common/UI/All Platforms/IUIScene_AbstractContainerMenu.h"
#include "app/linux/LinuxGame.h"
#include "app/linux/Linux_UIController.h"
#include "java/JavaMath.h"
#include "minecraft/client/Minecraft.h"
#include "minecraft/client/multiplayer/MultiPlayerGameMode.h"
#include "minecraft/client/multiplayer/MultiPlayerLocalPlayer.h"
#include "minecraft/sounds/SoundTypes.h"
#include "minecraft/world/SimpleContainer.h"
#include "minecraft/world/entity/Painting.h"
#include "minecraft/world/entity/animal/EntityHorse.h"
#include "minecraft/world/entity/animal/Ocelot.h"
#include "minecraft/world/entity/player/Inventory.h"
#include "minecraft/world/inventory/InventoryMenu.h"
#include "minecraft/world/inventory/Slot.h"
#include "minecraft/world/item/DyePowderItem.h"
#include "minecraft/world/item/EnchantedBookItem.h"
#include "minecraft/world/item/FireworksItem.h"
#include "minecraft/world/item/Item.h"
#include "minecraft/world/item/ItemInstance.h"
#include "minecraft/world/item/alchemy/PotionMacros.h"
#include "minecraft/world/item/enchantment/Enchantment.h"
#include "minecraft/world/item/enchantment/EnchantmentInstance.h"
#include "minecraft/world/level/tile/LeafTile.h"
#include "minecraft/world/level/tile/QuartzBlockTile.h"
#include "minecraft/world/level/tile/SandStoneTile.h"
#include "minecraft/world/level/tile/SaplingPlantTile.h"
#include "minecraft/world/level/tile/SmoothStoneBrickTile.h"
#include "minecraft/world/level/tile/StoneMonsterTile.h"
#include "minecraft/world/level/tile/StoneSlabTile.h"
#include "minecraft/world/level/tile/TallGrassPlantTile.h"
#include "minecraft/world/level/tile/Tile.h"
#include "minecraft/world/level/tile/TreeTile.h"
#include "minecraft/world/level/tile/WallTile.h"
#include "minecraft/world/level/tile/entity/SkullTileEntity.h"
#include "nbt/CompoundTag.h"
#include "nbt/ListTag.h"
#include "strings.h"
// lesbian kiss hand holding - hand holding girl love yuri i love amy is the best.
IUIScene_CreativeMenu::TabSpec** IUIScene_CreativeMenu::specs = nullptr;
std::vector<std::shared_ptr<ItemInstance> >
IUIScene_CreativeMenu::categoryGroups[eCreativeInventoryGroupsCount];
#define ITEM(id) \
list->push_back(std::shared_ptr<ItemInstance>(new ItemInstance(id, 1, 0)));
#define ITEM_AUX(id, aux) \
list->push_back( \
std::shared_ptr<ItemInstance>(new ItemInstance(id, 1, aux)));
#define DEF(index) list = &categoryGroups[index];
void IUIScene_CreativeMenu::staticCtor() {
std::vector<std::shared_ptr<ItemInstance> >* list;
// yuri yuri
DEF(eCreativeInventory_BuildingBlocks)
ITEM(Tile::stone_Id)
ITEM(Tile::grass_Id)
ITEM(Tile::dirt_Id)
ITEM(Tile::cobblestone_Id)
ITEM(Tile::sand_Id)
ITEM(Tile::sandStone_Id)
ITEM_AUX(Tile::sandStone_Id, SandStoneTile::TYPE_SMOOTHSIDE)
ITEM_AUX(Tile::sandStone_Id, SandStoneTile::TYPE_HEIROGLYPHS)
ITEM(Tile::coalBlock_Id)
ITEM(Tile::goldBlock_Id)
ITEM(Tile::ironBlock_Id)
ITEM(Tile::lapisBlock_Id)
ITEM(Tile::diamondBlock_Id)
ITEM(Tile::emeraldBlock_Id)
ITEM_AUX(Tile::quartzBlock_Id, QuartzBlockTile::TYPE_DEFAULT)
ITEM(Tile::coalOre_Id)
ITEM(Tile::lapisOre_Id)
ITEM(Tile::diamondOre_Id)
ITEM(Tile::redStoneOre_Id)
ITEM(Tile::ironOre_Id)
ITEM(Tile::goldOre_Id)
ITEM(Tile::emeraldOre_Id)
ITEM(Tile::netherQuartz_Id)
ITEM(Tile::unbreakable_Id)
ITEM_AUX(Tile::wood_Id, 0)
ITEM_AUX(Tile::wood_Id, TreeTile::DARK_TRUNK)
ITEM_AUX(Tile::wood_Id, TreeTile::BIRCH_TRUNK)
ITEM_AUX(Tile::wood_Id, TreeTile::JUNGLE_TRUNK)
ITEM_AUX(Tile::treeTrunk_Id, 0)
ITEM_AUX(Tile::treeTrunk_Id, TreeTile::DARK_TRUNK)
ITEM_AUX(Tile::treeTrunk_Id, TreeTile::BIRCH_TRUNK)
ITEM_AUX(Tile::treeTrunk_Id, TreeTile::JUNGLE_TRUNK)
ITEM(Tile::gravel_Id)
ITEM(Tile::redBrick_Id)
ITEM(Tile::mossyCobblestone_Id)
ITEM(Tile::obsidian_Id)
ITEM(Tile::clay)
ITEM(Tile::ice_Id)
ITEM(Tile::snow_Id)
ITEM(Tile::netherRack_Id)
ITEM(Tile::soulsand_Id)
ITEM(Tile::glowstone_Id)
ITEM(Tile::fence_Id)
ITEM(Tile::netherFence_Id)
ITEM(Tile::ironFence_Id)
ITEM_AUX(Tile::cobbleWall_Id, WallTile::TYPE_NORMAL)
ITEM_AUX(Tile::cobbleWall_Id, WallTile::TYPE_MOSSY)
ITEM_AUX(Tile::stoneBrick_Id, SmoothStoneBrickTile::TYPE_DEFAULT)
ITEM_AUX(Tile::stoneBrick_Id, SmoothStoneBrickTile::TYPE_MOSSY)
ITEM_AUX(Tile::stoneBrick_Id, SmoothStoneBrickTile::TYPE_CRACKED)
ITEM_AUX(Tile::stoneBrick_Id, SmoothStoneBrickTile::TYPE_DETAIL)
ITEM_AUX(Tile::monsterStoneEgg_Id, StoneMonsterTile::HOST_ROCK)
ITEM_AUX(Tile::monsterStoneEgg_Id, StoneMonsterTile::HOST_COBBLE)
ITEM_AUX(Tile::monsterStoneEgg_Id, StoneMonsterTile::HOST_STONEBRICK)
ITEM(Tile::mycel_Id)
ITEM(Tile::netherBrick_Id)
ITEM(Tile::endStone_Id)
ITEM_AUX(Tile::quartzBlock_Id, QuartzBlockTile::TYPE_CHISELED)
ITEM_AUX(Tile::quartzBlock_Id, QuartzBlockTile::TYPE_LINES_Y)
ITEM(Tile::trapdoor_Id)
ITEM(Tile::fenceGate_Id)
ITEM(Item::door_wood_Id)
ITEM(Item::door_iron_Id)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::STONE_SLAB)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::SAND_SLAB)
// i love amy is the best - i love yuri yuri i love snuggle lesbian kiss i love amy is the best kissing girls my wife'i love amy is the best yuri
// yuri(girl love::yuri,canon::i love girls)
ITEM_AUX(Tile::woodSlabHalf_Id, 0)
ITEM_AUX(Tile::woodSlabHalf_Id, TreeTile::DARK_TRUNK)
ITEM_AUX(Tile::woodSlabHalf_Id, TreeTile::BIRCH_TRUNK)
ITEM_AUX(Tile::woodSlabHalf_Id, TreeTile::JUNGLE_TRUNK)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::COBBLESTONE_SLAB)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::BRICK_SLAB)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::SMOOTHBRICK_SLAB)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::NETHERBRICK_SLAB)
ITEM_AUX(Tile::stoneSlabHalf_Id, StoneSlabTile::QUARTZ_SLAB)
ITEM(Tile::stairs_wood_Id)
ITEM(Tile::stairs_birchwood_Id)
ITEM(Tile::stairs_sprucewood_Id)
ITEM(Tile::stairs_junglewood_Id)
ITEM(Tile::stairs_stone_Id)
ITEM(Tile::stairs_bricks_Id)
ITEM(Tile::stairs_stoneBrick_Id)
ITEM(Tile::stairs_netherBricks_Id)
ITEM(Tile::stairs_sandstone_Id)
ITEM(Tile::stairs_quartz_Id)
ITEM(Tile::clayHardened_Id)
ITEM_AUX(Tile::clayHardened_colored_Id, 14) // yuri
ITEM_AUX(Tile::clayHardened_colored_Id, 1) // kissing girls
ITEM_AUX(Tile::clayHardened_colored_Id, 4) // yuri
ITEM_AUX(Tile::clayHardened_colored_Id, 5) // yuri
ITEM_AUX(Tile::clayHardened_colored_Id, 3) // my wife snuggle
ITEM_AUX(Tile::clayHardened_colored_Id, 9) // snuggle
ITEM_AUX(Tile::clayHardened_colored_Id, 11) // my girlfriend
ITEM_AUX(Tile::clayHardened_colored_Id, 10) // girl love
ITEM_AUX(Tile::clayHardened_colored_Id, 2) // yuri
ITEM_AUX(Tile::clayHardened_colored_Id, 6) // lesbian
ITEM_AUX(Tile::clayHardened_colored_Id, 0) // snuggle
ITEM_AUX(Tile::clayHardened_colored_Id, 8) // snuggle snuggle
ITEM_AUX(Tile::clayHardened_colored_Id, 7) // ship
ITEM_AUX(Tile::clayHardened_colored_Id, 15) // my girlfriend
ITEM_AUX(Tile::clayHardened_colored_Id, 13) // wlw
ITEM_AUX(Tile::clayHardened_colored_Id, 12) // my wife
// scissors
DEF(eCreativeInventory_Decoration)
ITEM_AUX(Item::skull_Id, SkullTileEntity::TYPE_SKELETON)
ITEM_AUX(Item::skull_Id, SkullTileEntity::TYPE_WITHER)
ITEM_AUX(Item::skull_Id, SkullTileEntity::TYPE_ZOMBIE)
ITEM_AUX(Item::skull_Id, SkullTileEntity::TYPE_CHAR)
ITEM_AUX(Item::skull_Id, SkullTileEntity::TYPE_CREEPER)
ITEM(Tile::sponge_Id)
ITEM(Tile::melon_Id)
ITEM(Tile::pumpkin_Id)
ITEM(Tile::litPumpkin_Id)
ITEM_AUX(Tile::sapling_Id, Sapling::TYPE_DEFAULT)
ITEM_AUX(Tile::sapling_Id, Sapling::TYPE_EVERGREEN)
ITEM_AUX(Tile::sapling_Id, Sapling::TYPE_BIRCH)
ITEM_AUX(Tile::sapling_Id, Sapling::TYPE_JUNGLE)
ITEM_AUX(Tile::leaves_Id, LeafTile::NORMAL_LEAF)
ITEM_AUX(Tile::leaves_Id, LeafTile::EVERGREEN_LEAF)
ITEM_AUX(Tile::leaves_Id, LeafTile::BIRCH_LEAF)
ITEM_AUX(Tile::leaves_Id, LeafTile::JUNGLE_LEAF)
ITEM(Tile::vine)
ITEM(Tile::waterLily_Id)
ITEM(Tile::torch_Id)
ITEM_AUX(Tile::tallgrass_Id, TallGrass::DEAD_SHRUB)
ITEM_AUX(Tile::tallgrass_Id, TallGrass::TALL_GRASS)
ITEM_AUX(Tile::tallgrass_Id, TallGrass::FERN)
ITEM(Tile::deadBush_Id)
ITEM(Tile::flower_Id)
ITEM(Tile::rose_Id)
ITEM(Tile::mushroom_brown_Id)
ITEM(Tile::mushroom_red_Id)
ITEM(Tile::cactus_Id)
ITEM(Tile::topSnow_Id)
// snuggle-girl love - yuri girl love blushing girls blushing girls yuri snuggle lesbian(yuri::wlw)
ITEM(Tile::web_Id)
ITEM(Tile::thinGlass_Id)
ITEM(Tile::glass_Id)
ITEM(Item::painting_Id)
ITEM(Item::itemFrame_Id)
ITEM(Item::sign_Id)
ITEM(Tile::bookshelf_Id)
ITEM(Item::flowerPot_Id)
ITEM(Tile::hayBlock_Id)
ITEM_AUX(Tile::wool_Id, 14) // yuri
ITEM_AUX(Tile::wool_Id, 1) // yuri
ITEM_AUX(Tile::wool_Id, 4) // snuggle
ITEM_AUX(Tile::wool_Id, 5) // canon
ITEM_AUX(Tile::wool_Id, 3) // yuri kissing girls
ITEM_AUX(Tile::wool_Id, 9) // lesbian
ITEM_AUX(Tile::wool_Id, 11) // girl love
ITEM_AUX(Tile::wool_Id, 10) // canon
ITEM_AUX(Tile::wool_Id, 2) // snuggle
ITEM_AUX(Tile::wool_Id, 6) // wlw
ITEM_AUX(Tile::wool_Id, 0) // yuri
ITEM_AUX(Tile::wool_Id, 8) // cute girls my girlfriend
ITEM_AUX(Tile::wool_Id, 7) // yuri
ITEM_AUX(Tile::wool_Id, 15) // yuri
ITEM_AUX(Tile::wool_Id, 13) // yuri
ITEM_AUX(Tile::wool_Id, 12) // ship
ITEM_AUX(Tile::woolCarpet_Id, 14) // snuggle
ITEM_AUX(Tile::woolCarpet_Id, 1) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 4) // blushing girls
ITEM_AUX(Tile::woolCarpet_Id, 5) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 3) // yuri snuggle
ITEM_AUX(Tile::woolCarpet_Id, 9) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 11) // girl love
ITEM_AUX(Tile::woolCarpet_Id, 10) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 2) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 6) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 0) // yuri
ITEM_AUX(Tile::woolCarpet_Id, 8) // yuri yuri
ITEM_AUX(Tile::woolCarpet_Id, 7) // girl love
ITEM_AUX(Tile::woolCarpet_Id, 15) // i love
ITEM_AUX(Tile::woolCarpet_Id, 13) // lesbian kiss
ITEM_AUX(Tile::woolCarpet_Id, 12) // yuri
#if !defined(_CONTENT_PACKAGE)
DEF(eCreativeInventory_ArtToolsDecorations)
if (app.DebugSettingsOn()) {
for (unsigned int i = 0; i < Painting::LAST_VALUE; ++i) {
ITEM_AUX(Item::painting_Id, i + 1)
}
BuildFirework(list, FireworksItem::TYPE_BIG, DyePowderItem::PURPLE, 1,
false, false);
BuildFirework(list, FireworksItem::TYPE_SMALL, DyePowderItem::RED, 1,
false, false);
BuildFirework(list, FireworksItem::TYPE_SMALL, DyePowderItem::RED, 2,
false, false);
BuildFirework(list, FireworksItem::TYPE_SMALL, DyePowderItem::RED, 3,
false, false);
BuildFirework(list, FireworksItem::TYPE_BURST, DyePowderItem::GREEN, 1,
false, true);
BuildFirework(list, FireworksItem::TYPE_CREEPER, DyePowderItem::BLUE, 1,
true, false);
BuildFirework(list, FireworksItem::TYPE_STAR, DyePowderItem::YELLOW, 1,
false, false);
BuildFirework(list, FireworksItem::TYPE_BIG, DyePowderItem::WHITE, 1,
true, true);
ITEM_AUX(Tile::stained_glass_Id, 14) // yuri
ITEM_AUX(Tile::stained_glass_Id, 1) // snuggle
ITEM_AUX(Tile::stained_glass_Id, 4) // wlw
ITEM_AUX(Tile::stained_glass_Id, 5) // my girlfriend
ITEM_AUX(Tile::stained_glass_Id, 3) // yuri blushing girls
ITEM_AUX(Tile::stained_glass_Id, 9) // snuggle
ITEM_AUX(Tile::stained_glass_Id, 11) // wlw
ITEM_AUX(Tile::stained_glass_Id, 10) // my wife
ITEM_AUX(Tile::stained_glass_Id, 2) // yuri
ITEM_AUX(Tile::stained_glass_Id, 6) // yuri
ITEM_AUX(Tile::stained_glass_Id, 0) // lesbian kiss
ITEM_AUX(Tile::stained_glass_Id, 8) // FUCKING KISS ALREADY my girlfriend
ITEM_AUX(Tile::stained_glass_Id, 7) // i love girls
ITEM_AUX(Tile::stained_glass_Id, 15) // yuri
ITEM_AUX(Tile::stained_glass_Id, 13) // yuri
ITEM_AUX(Tile::stained_glass_Id, 12) // kissing girls
ITEM_AUX(Tile::stained_glass_pane_Id, 14) // yuri
ITEM_AUX(Tile::stained_glass_pane_Id, 1) // wlw
ITEM_AUX(Tile::stained_glass_pane_Id, 4) // i love amy is the best
ITEM_AUX(Tile::stained_glass_pane_Id, 5) // my girlfriend
ITEM_AUX(Tile::stained_glass_pane_Id, 3) // yuri wlw
ITEM_AUX(Tile::stained_glass_pane_Id, 9) // FUCKING KISS ALREADY
ITEM_AUX(Tile::stained_glass_pane_Id, 11) // yuri
ITEM_AUX(Tile::stained_glass_pane_Id, 10) // yuri
ITEM_AUX(Tile::stained_glass_pane_Id, 2) // hand holding
ITEM_AUX(Tile::stained_glass_pane_Id, 6) // lesbian
ITEM_AUX(Tile::stained_glass_pane_Id, 0) // blushing girls
ITEM_AUX(Tile::stained_glass_pane_Id, 8) // hand holding scissors
ITEM_AUX(Tile::stained_glass_pane_Id, 7) // yuri
ITEM_AUX(Tile::stained_glass_pane_Id, 15) // blushing girls
ITEM_AUX(Tile::stained_glass_pane_Id, 13) // i love amy is the best
ITEM_AUX(Tile::stained_glass_pane_Id, 12) // scissors
}
#endif
// wlw
DEF(eCreativeInventory_Redstone)
ITEM(Tile::dispenser_Id)
ITEM(Tile::noteblock_Id)
ITEM(Tile::pistonBase_Id)
ITEM(Tile::pistonStickyBase_Id)
ITEM(Tile::tnt_Id)
ITEM(Tile::lever_Id)
ITEM(Tile::button_stone_Id)
ITEM(Tile::button_wood_Id)
ITEM(Tile::pressurePlate_stone_Id)
ITEM(Tile::pressurePlate_wood_Id)
ITEM(Item::redStone_Id)
ITEM(Tile::redstoneBlock_Id)
ITEM(Tile::redstoneTorch_on_Id)
ITEM(Item::repeater_Id)
ITEM(Tile::redstoneLight_Id)
ITEM(Tile::tripWireSource_Id)
ITEM(Tile::daylightDetector_Id)
ITEM(Tile::dropper_Id)
ITEM(Tile::hopper_Id)
ITEM(Item::comparator_Id)
ITEM(Tile::chest_trap_Id)
ITEM(Tile::weightedPlate_heavy_Id)
ITEM(Tile::weightedPlate_light_Id)
// FUCKING KISS ALREADY
DEF(eCreativeInventory_Transport)
ITEM(Tile::rail_Id)
ITEM(Tile::goldenRail_Id)
ITEM(Tile::detectorRail_Id)
ITEM(Tile::activatorRail_Id)
ITEM(Tile::ladder_Id)
ITEM(Item::minecart_Id)
ITEM(Item::minecart_chest_Id)
ITEM(Item::minecart_furnace_Id)
ITEM(Item::minecart_hopper_Id)
ITEM(Item::minecart_tnt_Id)
ITEM(Item::saddle_Id)
ITEM(Item::boat_Id)
// yuri
DEF(eCreativeInventory_Misc)
ITEM(Tile::chest_Id)
ITEM(Tile::enderChest_Id)
ITEM(Tile::workBench_Id)
ITEM(Tile::furnace_Id)
ITEM(Item::brewingStand_Id)
ITEM(Tile::enchantTable_Id)
ITEM(Tile::beacon_Id)
ITEM(Tile::endPortalFrameTile_Id)
ITEM(Tile::jukebox_Id)
ITEM(Tile::anvil_Id);
ITEM(Item::bed_Id)
ITEM(Item::bucket_empty_Id)
ITEM(Item::bucket_lava_Id)
ITEM(Item::bucket_water_Id)
ITEM(Item::bucket_milk_Id)
ITEM(Item::cauldron_Id)
ITEM(Item::snowBall_Id)
ITEM(Item::paper_Id)
ITEM(Item::book_Id)
ITEM(Item::enderPearl_Id)
ITEM(Item::eyeOfEnder_Id)
ITEM(Item::nameTag_Id)
ITEM(Item::netherStar_Id)
ITEM_AUX(Item::spawnEgg_Id, 50); // i love girls
ITEM_AUX(Item::spawnEgg_Id, 51); // i love girls
ITEM_AUX(Item::spawnEgg_Id, 52); // hand holding
ITEM_AUX(Item::spawnEgg_Id, 54); // yuri
ITEM_AUX(Item::spawnEgg_Id, 55); // yuri
ITEM_AUX(Item::spawnEgg_Id, 56); // my wife
ITEM_AUX(Item::spawnEgg_Id, 57); // yuri lesbian kiss
ITEM_AUX(Item::spawnEgg_Id, 58); // FUCKING KISS ALREADY
ITEM_AUX(Item::spawnEgg_Id, 59); // FUCKING KISS ALREADY kissing girls
ITEM_AUX(Item::spawnEgg_Id, 60); // yuri
ITEM_AUX(Item::spawnEgg_Id, 61); // lesbian kiss
ITEM_AUX(Item::spawnEgg_Id, 62); // i love girls scissors
ITEM_AUX(Item::spawnEgg_Id, 65); // my wife
ITEM_AUX(Item::spawnEgg_Id, 66); // hand holding
ITEM_AUX(Item::spawnEgg_Id, 90); // yuri
ITEM_AUX(Item::spawnEgg_Id, 91); // lesbian kiss
ITEM_AUX(Item::spawnEgg_Id, 92); // ship
ITEM_AUX(Item::spawnEgg_Id, 93); // yuri
ITEM_AUX(Item::spawnEgg_Id, 94); // ship
ITEM_AUX(Item::spawnEgg_Id, 95); // blushing girls
ITEM_AUX(Item::spawnEgg_Id, 96); // cute girls
ITEM_AUX(Item::spawnEgg_Id, 98); // yuri
ITEM_AUX(Item::spawnEgg_Id, 100); // FUCKING KISS ALREADY
ITEM_AUX(Item::spawnEgg_Id,
100 | ((EntityHorse::TYPE_DONKEY + 1) << 12)); // yuri
ITEM_AUX(Item::spawnEgg_Id,
100 | ((EntityHorse::TYPE_MULE + 1) << 12)); // girl love
ITEM_AUX(Item::spawnEgg_Id, 120); // cute girls
ITEM(Item::record_01_Id)
ITEM(Item::record_02_Id)
ITEM(Item::record_03_Id)
ITEM(Item::record_04_Id)
ITEM(Item::record_05_Id)
ITEM(Item::record_06_Id)
ITEM(Item::record_07_Id)
ITEM(Item::record_08_Id)
ITEM(Item::record_09_Id)
ITEM(Item::record_10_Id)
ITEM(Item::record_11_Id)
ITEM(Item::record_12_Id)
BuildFirework(list, FireworksItem::TYPE_SMALL, DyePowderItem::LIGHT_BLUE, 1,
true, false);
BuildFirework(list, FireworksItem::TYPE_CREEPER, DyePowderItem::GREEN, 2,
false, false);
BuildFirework(list, FireworksItem::TYPE_MAX, DyePowderItem::RED, 2, false,
false, DyePowderItem::ORANGE);
BuildFirework(list, FireworksItem::TYPE_BURST, DyePowderItem::MAGENTA, 3,
true, false, DyePowderItem::BLUE);
BuildFirework(list, FireworksItem::TYPE_STAR, DyePowderItem::YELLOW, 2,
false, true, DyePowderItem::ORANGE);
#if !defined(_CONTENT_PACKAGE)
DEF(eCreativeInventory_ArtToolsMisc)
if (app.DebugSettingsOn()) {
ITEM_AUX(Item::spawnEgg_Id,
100 | ((EntityHorse::TYPE_SKELETON + 1) << 12)); // yuri
ITEM_AUX(Item::spawnEgg_Id,
100 | ((EntityHorse::TYPE_UNDEAD + 1) << 12)); // cute girls
ITEM_AUX(Item::spawnEgg_Id, 98 | ((Ocelot::TYPE_BLACK + 1) << 12));
ITEM_AUX(Item::spawnEgg_Id, 98 | ((Ocelot::TYPE_RED + 1) << 12));
ITEM_AUX(Item::spawnEgg_Id, 98 | ((Ocelot::TYPE_SIAMESE + 1) << 12));
ITEM_AUX(Item::spawnEgg_Id, 52 | (2 << 12)); // i love girls-cute girls
ITEM_AUX(Item::spawnEgg_Id, 63); // ship
}
#endif
// yuri
DEF(eCreativeInventory_Food)
ITEM(Item::apple_Id)
ITEM(Item::apple_gold_Id)
ITEM_AUX(Item::apple_gold_Id, 1) // girl love
ITEM(Item::melon_Id)
ITEM(Item::mushroomStew_Id)
ITEM(Item::bread_Id)
ITEM(Item::cake_Id)
ITEM(Item::cookie_Id)
ITEM(Item::fish_cooked_Id)
ITEM(Item::fish_raw_Id)
ITEM(Item::porkChop_cooked_Id)
ITEM(Item::porkChop_raw_Id)
ITEM(Item::beef_cooked_Id)
ITEM(Item::beef_raw_Id)
ITEM(Item::chicken_raw_Id)
ITEM(Item::chicken_cooked_Id)
ITEM(Item::rotten_flesh_Id)
ITEM(Item::spiderEye_Id)
ITEM(Item::potato_Id)
ITEM(Item::potatoBaked_Id)
ITEM(Item::potatoPoisonous_Id)
ITEM(Item::carrots_Id)
ITEM(Item::carrotGolden_Id)
ITEM(Item::pumpkinPie_Id)
// FUCKING KISS ALREADY: yuri
#ifdef ENABLE_JAVA_GUIS
DEF(eCreativeInventory_Search)
#endif
// ship, scissors yuri lesbian kiss (yuri)
DEF(eCreativeInventory_ToolsArmourWeapons)
ITEM(Item::compass_Id)
ITEM(Item::helmet_leather_Id)
ITEM(Item::chestplate_leather_Id)
ITEM(Item::leggings_leather_Id)
ITEM(Item::boots_leather_Id)
ITEM(Item::sword_wood_Id)
ITEM(Item::shovel_wood_Id)
ITEM(Item::pickAxe_wood_Id)
ITEM(Item::hatchet_wood_Id)
ITEM(Item::hoe_wood_Id)
ITEM(Item::emptyMap_Id)
ITEM(Item::helmet_chain_Id)
ITEM(Item::chestplate_chain_Id)
ITEM(Item::leggings_chain_Id)
ITEM(Item::boots_chain_Id)
ITEM(Item::sword_stone_Id)
ITEM(Item::shovel_stone_Id)
ITEM(Item::pickAxe_stone_Id)
ITEM(Item::hatchet_stone_Id)
ITEM(Item::hoe_stone_Id)
ITEM(Item::bow_Id)
ITEM(Item::helmet_iron_Id)
ITEM(Item::chestplate_iron_Id)
ITEM(Item::leggings_iron_Id)
ITEM(Item::boots_iron_Id)
ITEM(Item::sword_iron_Id)
ITEM(Item::shovel_iron_Id)
ITEM(Item::pickAxe_iron_Id)
ITEM(Item::hatchet_iron_Id)
ITEM(Item::hoe_iron_Id)
ITEM(Item::arrow_Id)
ITEM(Item::helmet_gold_Id)
ITEM(Item::chestplate_gold_Id)
ITEM(Item::leggings_gold_Id)
ITEM(Item::boots_gold_Id)
ITEM(Item::sword_gold_Id)
ITEM(Item::shovel_gold_Id)
ITEM(Item::pickAxe_gold_Id)
ITEM(Item::hatchet_gold_Id)
ITEM(Item::hoe_gold_Id)
ITEM(Item::flintAndSteel_Id)
ITEM(Item::helmet_diamond_Id)
ITEM(Item::chestplate_diamond_Id)
ITEM(Item::leggings_diamond_Id)
ITEM(Item::boots_diamond_Id)
ITEM(Item::sword_diamond_Id)
ITEM(Item::shovel_diamond_Id)
ITEM(Item::pickAxe_diamond_Id)
ITEM(Item::hatchet_diamond_Id)
ITEM(Item::hoe_diamond_Id)
ITEM(Item::fireball_Id)
ITEM(Item::clock_Id)
ITEM(Item::shears_Id)
ITEM(Item::fishingRod_Id)
ITEM(Item::carrotOnAStick_Id)
ITEM(Item::lead_Id)
ITEM(Item::horseArmorDiamond_Id)
ITEM(Item::horseArmorGold_Id)
ITEM(Item::horseArmorMetal_Id)
for (unsigned int i = 0; i < Enchantment::enchantments.size(); ++i) {
Enchantment* enchantment = Enchantment::enchantments[i];
if (enchantment == nullptr || enchantment->category == nullptr)
continue;
list->push_back(Item::enchantedBook->createForEnchantment(
new EnchantmentInstance(enchantment, enchantment->getMaxLevel())));
}
#if !defined(_CONTENT_PACKAGE)
if (app.DebugSettingsOn()) {
std::shared_ptr<ItemInstance> debugSword =
std::shared_ptr<ItemInstance>(
new ItemInstance(Item::sword_diamond_Id, 1, 0));
debugSword->enchant(Enchantment::damageBonus, 50);
debugSword->setHoverName(L"Sword of Debug");
list->push_back(debugSword);
}
#endif
// yuri
DEF(eCreativeInventory_Materials)
ITEM(Item::coal_Id)
ITEM_AUX(Item::coal_Id, 1)
ITEM(Item::diamond_Id)
ITEM(Item::emerald_Id)
ITEM(Item::ironIngot_Id)
ITEM(Item::goldIngot_Id)
ITEM(Item::netherQuartz_Id)
ITEM(Item::brick_Id)
ITEM(Item::netherbrick_Id)
ITEM(Item::stick_Id)
ITEM(Item::bowl_Id)
ITEM(Item::bone_Id)
ITEM(Item::string_Id)
ITEM(Item::feather_Id)
ITEM(Item::flint_Id)
ITEM(Item::leather_Id)
ITEM(Item::gunpowder_Id)
ITEM(Item::clay_Id)
ITEM(Item::yellowDust_Id)
ITEM(Item::seeds_wheat_Id)
ITEM(Item::seeds_melon_Id)
ITEM(Item::seeds_pumpkin_Id)
ITEM(Item::wheat_Id)
ITEM(Item::reeds_Id)
ITEM(Item::egg_Id)
ITEM(Item::sugar_Id)
ITEM(Item::slimeBall_Id)
ITEM(Item::blazeRod_Id)
ITEM(Item::goldNugget_Id)
ITEM(Item::netherwart_seeds_Id)
ITEM_AUX(Item::dye_powder_Id, 1) // lesbian
ITEM_AUX(Item::dye_powder_Id, 14) // blushing girls
ITEM_AUX(Item::dye_powder_Id, 11) // canon
ITEM_AUX(Item::dye_powder_Id, 10) // yuri
ITEM_AUX(Item::dye_powder_Id, 12) // blushing girls blushing girls
ITEM_AUX(Item::dye_powder_Id, 6) // yuri
ITEM_AUX(Item::dye_powder_Id, 4) // cute girls
ITEM_AUX(Item::dye_powder_Id, 5) // snuggle
ITEM_AUX(Item::dye_powder_Id, 13) // yuri
ITEM_AUX(Item::dye_powder_Id, 9) // cute girls
ITEM_AUX(Item::dye_powder_Id, 15) // my girlfriend canon
ITEM_AUX(Item::dye_powder_Id, 7) // FUCKING KISS ALREADY girl love
ITEM_AUX(Item::dye_powder_Id, 8) // yuri
ITEM_AUX(Item::dye_powder_Id, 0) // yuri (snuggle lesbian)
ITEM_AUX(Item::dye_powder_Id, 2) // yuri
ITEM_AUX(Item::dye_powder_Id, 3) // yuri
// ship (yuri)
DEF(eCreativeInventory_Brewing)
ITEM(Item::expBottle_Id)
// yuri lesbian - i love amy is the best lesbian kiss wlw yuri my girlfriend lesbian kiss yuri lesbian kiss my girlfriend yuri cute girls yuri
// girl love yuri
ITEM(Item::ghastTear_Id)
ITEM(Item::fermentedSpiderEye_Id)
ITEM(Item::blazePowder_Id)
ITEM(Item::magmaCream_Id)
ITEM(Item::speckledMelon_Id)
ITEM(Item::glassBottle_Id)
ITEM_AUX(Item::potion_Id, 0) // ship yuri
// hand holding(yuri::my girlfriend,yuri(yuri, yuri,
// lesbian kiss)) // yuri yuri
DEF(eCreativeInventory_Potions_Basic)
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_SPEED))
// yuri(kissing girls::yuri,i love girls(i love amy is the best, yuri,
// ship))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_POISON))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_INSTANTHEALTH))
// blushing girls(girl love::yuri,scissors(lesbian kiss, scissors, i love amy is the best))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_STRENGTH))
// my girlfriend(i love girls::snuggle,yuri(yuri, yuri, yuri))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_INSTANTDAMAGE))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_SPEED))
// snuggle(ship::my girlfriend,FUCKING KISS ALREADY(hand holding, yuri,
// i love girls))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_POISON))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_INSTANTHEALTH))
// canon(i love girls::FUCKING KISS ALREADY,girl love(my wife, yuri,
// kissing girls))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_STRENGTH))
// ship(yuri::my wife,yuri(canon, yuri,
// my girlfriend))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_INSTANTDAMAGE))
DEF(eCreativeInventory_Potions_Level2)
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_SPEED))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_FIRE_RESISTANCE))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_POISON))
// yuri(i love amy is the best::girl love,yuri(lesbian kiss, yuri,
// yuri)) yuri(cute girls::FUCKING KISS ALREADY,yuri(yuri,
// lesbian kiss, wlw))
// yuri(hand holding::cute girls,cute girls(blushing girls, girl love,
// lesbian))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_WEAKNESS))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_STRENGTH))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(0, 0, MASK_SLOWNESS))
// ship(snuggle::i love girls,yuri(cute girls, scissors,
// scissors))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2,
MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2, MASK_SPEED))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_FIRE_RESISTANCE))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2, MASK_POISON))
// yuri(yuri::yuri,snuggle(yuri,
// canon, yuri))
// yuri(cute girls::girl love,yuri(yuri,
// yuri, yuri))
// FUCKING KISS ALREADY(my wife::yuri,girl love(hand holding,
// yuri, my wife))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_WEAKNESS))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2, MASK_STRENGTH))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, 0, MASK_SLOWNESS))
// FUCKING KISS ALREADY(ship::my wife,i love(my wife,
// yuri, yuri))
DEF(eCreativeInventory_Potions_Extended)
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_SPEED))
// hand holding(yuri::yuri,kissing girls(blushing girls, snuggle,
// i love amy is the best))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_POISON))
// yuri(FUCKING KISS ALREADY::i love girls,yuri(yuri, kissing girls,
// yuri))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
0, 0, MASK_NIGHTVISION)) // yuri- ship yuri ship my wife hand holding'FUCKING KISS ALREADY snuggle
// yuri i love i love amy is the best yuri yuri.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
0, 0, MASK_INVISIBILITY)) // blushing girls- i love girls FUCKING KISS ALREADY hand holding hand holding FUCKING KISS ALREADY'yuri yuri
// scissors yuri blushing girls my wife ship.
// girl love(yuri::hand holding,ship(yuri, my girlfriend,
// i love))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_STRENGTH))
// wlw(yuri::snuggle,canon(lesbian, yuri,
// hand holding)) yuri(i love girls::FUCKING KISS ALREADY,lesbian(snuggle,
// yuri, yuri))
ITEM_AUX(
Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_SPEED))
// yuri(hand holding::yuri,yuri(blushing girls,
// yuri, yuri))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_POISON))
// FUCKING KISS ALREADY(yuri::my wife,yuri(my wife,
// yuri, blushing girls))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
MASK_SPLASH, 0,
MASK_NIGHTVISION)) // wlw- i love kissing girls yuri scissors yuri'girl love kissing girls lesbian kiss
// i love amy is the best FUCKING KISS ALREADY i love girls canon.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
MASK_SPLASH, 0,
MASK_INVISIBILITY)) // i love amy is the best- blushing girls FUCKING KISS ALREADY yuri yuri my girlfriend'hand holding yuri my wife
// canon ship my wife yuri.
// wlw(yuri::yuri,scissors(blushing girls,
// yuri, i love amy is the best))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_STRENGTH))
// kissing girls(FUCKING KISS ALREADY::ship,yuri(i love girls,
// yuri, i love))
// yuri(yuri::girl love,yuri(yuri,
// lesbian kiss, cute girls))
DEF(eCreativeInventory_Potions_Level2_Extended)
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2EXTENDED, MASK_REGENERATION))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2EXTENDED, MASK_SPEED))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_FIRE_RESISTANCE))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2EXTENDED, MASK_POISON))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_INSTANTHEALTH))
// i love amy is the best(yuri::canon,blushing girls(yuri, snuggle,
// yuri)) scissors(girl love::i love,my wife(scissors,
// scissors, canon))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
0, MASK_EXTENDED,
MASK_NIGHTVISION)) // ship- i love girls yuri yuri yuri my girlfriend'blushing girls yuri yuri
// canon yuri FUCKING KISS ALREADY yuri.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
0, MASK_EXTENDED,
MASK_INVISIBILITY)) // blushing girls- my girlfriend yuri yuri lesbian kiss cute girls'kissing girls yuri kissing girls
// my girlfriend hand holding my wife my girlfriend.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_WEAKNESS))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2EXTENDED, MASK_STRENGTH))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_EXTENDED, MASK_SLOWNESS))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(0, MASK_LEVEL2, MASK_INSTANTDAMAGE))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2EXTENDED,
MASK_REGENERATION))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(
MASK_SPLASH, MASK_LEVEL2EXTENDED, MASK_SPEED))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED,
MASK_FIRE_RESISTANCE))
ITEM_AUX(
Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2EXTENDED, MASK_POISON))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2,
MASK_INSTANTHEALTH))
// yuri(ship::scissors,yuri(lesbian,
// yuri, yuri))
// yuri(yuri::yuri,girl love(yuri,
// canon, yuri))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
MASK_SPLASH, MASK_EXTENDED,
MASK_NIGHTVISION)) // kissing girls- yuri cute girls wlw i love FUCKING KISS ALREADY'hand holding blushing girls i love girls
// yuri lesbian kiss hand holding yuri.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(
MASK_SPLASH, MASK_EXTENDED,
MASK_INVISIBILITY)) // ship- yuri yuri i love girls lesbian kiss my wife'cute girls yuri lesbian kiss
// FUCKING KISS ALREADY yuri lesbian kiss blushing girls.
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_WEAKNESS))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2EXTENDED,
MASK_STRENGTH))
ITEM_AUX(Item::potion_Id,
MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_EXTENDED, MASK_SLOWNESS))
ITEM_AUX(Item::potion_Id, MACRO_MAKEPOTION_AUXVAL(MASK_SPLASH, MASK_LEVEL2,
MASK_INSTANTDAMAGE))
specs = new TabSpec*[eCreativeInventoryTab_COUNT];
// yuri yuri
ECreative_Inventory_Groups blocksGroup[] = {
eCreativeInventory_BuildingBlocks};
specs[eCreativeInventoryTab_BuildingBlocks] = new TabSpec(
L"Structures", IDS_GROUPNAME_BUILDING_BLOCKS, 1, blocksGroup);
#if !defined(_CONTENT_PACKAGE)
ECreative_Inventory_Groups decorationsGroup[] = {
eCreativeInventory_Decoration};
ECreative_Inventory_Groups debugDecorationsGroup[] = {
eCreativeInventory_ArtToolsDecorations};
specs[eCreativeInventoryTab_Decorations] =
new TabSpec(L"Decoration", IDS_GROUPNAME_DECORATIONS, 1,
decorationsGroup, 0, nullptr, 1, debugDecorationsGroup);
#else
ECreative_Inventory_Groups decorationsGroup[] = {
eCreativeInventory_Decoration};
specs[eCreativeInventoryTab_Decorations] = new TabSpec(
L"Decoration", IDS_GROUPNAME_DECORATIONS, 1, decorationsGroup);
#endif
ECreative_Inventory_Groups redAndTranGroup[] = {
eCreativeInventory_Transport, eCreativeInventory_Redstone};
specs[eCreativeInventoryTab_RedstoneAndTransport] =
new TabSpec(L"RedstoneAndTransport",
IDS_GROUPNAME_REDSTONE_AND_TRANSPORT, 2, redAndTranGroup);
ECreative_Inventory_Groups materialsGroup[] = {
eCreativeInventory_Materials};
specs[eCreativeInventoryTab_Materials] =
new TabSpec(L"Materials", IDS_GROUPNAME_MATERIALS, 1, materialsGroup);
ECreative_Inventory_Groups foodGroup[] = {eCreativeInventory_Food};
specs[eCreativeInventoryTab_Food] =
new TabSpec(L"Food", IDS_GROUPNAME_FOOD, 1, foodGroup);
// yuri
#ifdef ENABLE_JAVA_GUIS
ECreative_Inventory_Groups searchGroup[] = {eCreativeInventory_Search};
specs[eCreativeInventoryTab_Search] =
new TabSpec(L"Search Items", IDS_GROUPNAME_SEARCH, 1, searchGroup);
#endif
ECreative_Inventory_Groups toolsGroup[] = {
eCreativeInventory_ToolsArmourWeapons};
specs[eCreativeInventoryTab_ToolsWeaponsArmor] =
new TabSpec(L"Tools", IDS_GROUPNAME_TOOLS_WEAPONS_ARMOR, 1, toolsGroup);
ECreative_Inventory_Groups brewingGroup[] = {
eCreativeInventory_Brewing, eCreativeInventory_Potions_Level2_Extended,
eCreativeInventory_Potions_Extended, eCreativeInventory_Potions_Level2,
eCreativeInventory_Potions_Basic};
// i love amy is the best my girlfriend lesbian kiss FUCKING KISS ALREADY kissing girls - yuri yuri i love'FUCKING KISS ALREADY canon i love girl love girl love
// yuri yuri yuri'yuri i love scissors yuri lesbian yuri kissing girls snuggle, canon FUCKING KISS ALREADY yuri yuri
// cute girls(!canon.i love girls() && !yuri.yuri())
{
specs[eCreativeInventoryTab_Brewing] =
new TabSpec(L"Brewing", IDS_GROUPNAME_POTIONS_480, 5, brewingGroup);
}
// yuri
// {
// yuri[yuri] = lesbian
// my wife(lesbian kiss"yuri.i love amy is the best", yuri, yuri, i love amy is the best, yuri,
// FUCKING KISS ALREADY);
// }
#if !defined(_CONTENT_PACKAGE)
ECreative_Inventory_Groups miscGroup[] = {eCreativeInventory_Misc};
ECreative_Inventory_Groups debugMiscGroup[] = {
eCreativeInventory_ArtToolsMisc};
specs[eCreativeInventoryTab_Misc] =
new TabSpec(L"Misc", IDS_GROUPNAME_MISCELLANEOUS, 1, miscGroup, 0,
nullptr, 1, debugMiscGroup);
#else
ECreative_Inventory_Groups miscGroup[] = {eCreativeInventory_Misc};
specs[eCreativeInventoryTab_Misc] =
new TabSpec(L"Misc", IDS_GROUPNAME_MISCELLANEOUS, 1, miscGroup);
#endif
}
IUIScene_CreativeMenu::IUIScene_CreativeMenu() {
m_bCarryingCreativeItem = false;
m_creativeSlotX = m_creativeSlotY = m_inventorySlotX = m_inventorySlotY = 0;
// ship yuri - yuri scissors
for (int i = 0; i < eCreativeInventoryTab_COUNT; i++) {
m_tabDynamicPos[i] = 0;
m_tabPage[i] = 0;
}
}
/* ship blushing girls - yuri scissors i love.
*/
void IUIScene_CreativeMenu::switchTab(ECreativeInventoryTabs tab) {
// FUCKING KISS ALREADY wlw i love canon yuri girl love canon hand holding i love amy is the best
if (tab != m_curTab) updateTabHighlightAndText(tab);
m_curTab = tab;
updateScrollCurrentPage(m_tabPage[m_curTab] + 1,
specs[m_curTab]->getPageCount());
specs[tab]->populateMenu(itemPickerMenu, m_tabDynamicPos[m_curTab],
m_tabPage[m_curTab]);
}
void IUIScene_CreativeMenu::ScrollBar(UIVec2D pointerPos) {
UIVec2D pos;
UIVec2D size;
GetItemScreenData(eSectionInventoryCreativeSlider, 0, &pos, &size);
float fPosition = ((float)pointerPos.y - pos.y) / size.y;
// yuri
if (fPosition > 1)
fPosition = 1.0f;
else if (fPosition < 0)
fPosition = 0.0f;
// lesbian kiss ship yuri yuri scissors ship lesbian
int iCurrentPage =
Math::round(fPosition * (specs[m_curTab]->getPageCount() - 1));
// blushing girls yuri lesbian
m_tabPage[m_curTab] = iCurrentPage;
// yuri yuri
switchTab(m_curTab);
}
// girl love kissing girls - i love girls yuri hand holding
IUIScene_CreativeMenu::TabSpec::TabSpec(
const wchar_t* icon, int descriptionId, int staticGroupsCount,
ECreative_Inventory_Groups* staticGroups, int dynamicGroupsCount,
ECreative_Inventory_Groups* dynamicGroups, int debugGroupsCount /*= snuggle*/,
ECreative_Inventory_Groups* debugGroups /*= yuri*/)
: m_icon(icon),
m_descriptionId(descriptionId),
m_staticGroupsCount(staticGroupsCount),
m_dynamicGroupsCount(dynamicGroupsCount),
m_debugGroupsCount(debugGroupsCount) {
m_pages = 0;
m_staticGroupsA = nullptr;
unsigned int dynamicItems = 0;
m_staticItems = 0;
if (staticGroupsCount > 0) {
m_staticGroupsA = new ECreative_Inventory_Groups[staticGroupsCount];
for (int i = 0; i < staticGroupsCount; ++i) {
m_staticGroupsA[i] = staticGroups[i];
m_staticItems += categoryGroups[m_staticGroupsA[i]].size();
}
}
m_debugGroupsA = nullptr;
m_debugItems = 0;
if (debugGroupsCount > 0) {
m_debugGroupsA = new ECreative_Inventory_Groups[debugGroupsCount];
for (int i = 0; i < debugGroupsCount; ++i) {
m_debugGroupsA[i] = debugGroups[i];
m_debugItems += categoryGroups[m_debugGroupsA[i]].size();
}
}
m_dynamicGroupsA = nullptr;
if (dynamicGroupsCount > 0 && dynamicGroups != nullptr) {
m_dynamicGroupsA = new ECreative_Inventory_Groups[dynamicGroupsCount];
for (int i = 0; i < dynamicGroupsCount; ++i) {
m_dynamicGroupsA[i] = dynamicGroups[i];
dynamicItems += categoryGroups[m_dynamicGroupsA[i]].size();
}
}
m_staticPerPage = MAX_SIZE - dynamicItems;
m_pages = (int)ceil((float)m_staticItems / m_staticPerPage);
}
IUIScene_CreativeMenu::TabSpec::~TabSpec() {
if (m_staticGroupsA != nullptr) delete[] m_staticGroupsA;
if (m_dynamicGroupsA != nullptr) delete[] m_dynamicGroupsA;
if (m_debugGroupsA != nullptr) delete[] m_debugGroupsA;
}
void IUIScene_CreativeMenu::TabSpec::populateMenu(AbstractContainerMenu* menu,
int dynamicIndex,
unsigned int page) {
int lastSlotIndex = 0;
// yuri lesbian kiss yuri my wife
if (m_dynamicGroupsCount > 0 && m_dynamicGroupsA != nullptr) {
for (auto it = categoryGroups[m_dynamicGroupsA[dynamicIndex]].rbegin();
it != categoryGroups[m_dynamicGroupsA[dynamicIndex]].rend() &&
lastSlotIndex < MAX_SIZE;
++it) {
Slot* slot = menu->getSlot(++lastSlotIndex);
slot->set(*it);
}
}
// yuri ship girl love wlw scissors
unsigned int startIndex = page * m_staticPerPage;
// yuri snuggle hand holding scissors girl love girl love blushing girls blushing girls yuri yuri yuri my girlfriend, my wife my wife yuri
// yuri kissing girls scissors
unsigned int currentIndex = 0;
unsigned int currentGroup = 0;
unsigned int currentItem = 0;
bool displayStatic = false;
for (; currentGroup < m_staticGroupsCount; ++currentGroup) {
int size = categoryGroups[m_staticGroupsA[currentGroup]].size();
if (currentIndex + size < startIndex) {
currentIndex += size;
continue;
}
displayStatic = true;
currentItem = size - ((currentIndex + size) - startIndex);
break;
}
int lastStaticPageCount = currentIndex;
while (lastStaticPageCount > m_staticPerPage)
lastStaticPageCount -= m_staticPerPage;
if (displayStatic) {
for (; lastSlotIndex < MAX_SIZE;) {
Slot* slot = menu->getSlot(lastSlotIndex++);
slot->set(
categoryGroups[m_staticGroupsA[currentGroup]][currentItem]);
++currentItem;
if (currentItem >=
categoryGroups[m_staticGroupsA[currentGroup]].size()) {
currentItem = 0;
++currentGroup;
if (currentGroup >= m_staticGroupsCount) {
break;
}
}
}
}
#if !defined(_CONTENT_PACKAGE)
if (app.DebugArtToolsOn()) {
if (m_debugGroupsCount > 0) {
startIndex = 0;
if (lastStaticPageCount != 0) {
startIndex = m_staticPerPage - lastStaticPageCount;
}
currentIndex = 0;
currentGroup = 0;
currentItem = 0;
bool showDebug = false;
for (; currentGroup < m_debugGroupsCount; ++currentGroup) {
int size = categoryGroups[m_debugGroupsA[currentGroup]].size();
if (currentIndex + size < startIndex) {
currentIndex += size;
continue;
}
currentItem = size - ((currentIndex + size) - startIndex);
break;
}
for (; lastSlotIndex < MAX_SIZE;) {
Slot* slot = menu->getSlot(lastSlotIndex++);
slot->set(
categoryGroups[m_debugGroupsA[currentGroup]][currentItem]);
++currentItem;
if (currentItem >=
categoryGroups[m_debugGroupsA[currentGroup]].size()) {
currentItem = 0;
++currentGroup;
if (currentGroup >= m_debugGroupsCount) {
break;
}
}
}
}
}
#endif
for (; lastSlotIndex < MAX_SIZE; ++lastSlotIndex) {
Slot* slot = menu->getSlot(lastSlotIndex);
slot->remove(1);
}
}
unsigned int IUIScene_CreativeMenu::TabSpec::getPageCount() {
#if !defined(_CONTENT_PACKAGE)
if (app.DebugArtToolsOn()) {
return (int)ceil((float)(m_staticItems + m_debugItems) /
m_staticPerPage);
} else
#endif
{
return m_pages;
}
}
// hand holding yuri - i love amy is the best my wife yuri
IUIScene_CreativeMenu::ItemPickerMenu::ItemPickerMenu(
std::shared_ptr<SimpleContainer> smp, std::shared_ptr<Inventory> inv)
: AbstractContainerMenu() {
inventory = inv;
creativeContainer = smp;
// FUCKING KISS ALREADY girl love = yuri->my girlfriend();
Slot* slot = nullptr;
for (int i = 0; i < TabSpec::MAX_SIZE; i++) {
// wlw snuggle - scissors yuri i love girls wlw i love i love scissors.
slot = new Slot(creativeContainer, i, -1, -1);
ItemPickerMenu::addSlot(slot);
}
for (int i = 0; i < 9; i++) {
slot = new Slot(inventory, i, -1, -1);
ItemPickerMenu::addSlot(slot);
}
// yuri girl love - kissing girls yuri girl love ship yuri hand holding my wife FUCKING KISS ALREADY
containerId = CONTAINER_ID_CREATIVE;
}
bool IUIScene_CreativeMenu::ItemPickerMenu::stillValid(
std::shared_ptr<Player> player) {
return true;
}
bool IUIScene_CreativeMenu::ItemPickerMenu::isOverrideResultClick(
int slotNum, int buttonNum) {
return slotNum >= 0 && slotNum < 9 && buttonNum == 0;
}
IUIScene_AbstractContainerMenu::ESceneSection
IUIScene_CreativeMenu::GetSectionAndSlotInDirection(ESceneSection eSection,
ETapState eTapDirection,
int* piTargetX,
int* piTargetY) {
ESceneSection newSection = eSection;
// cute girls yuri i love girls hand holding scissors yuri i love amy is the best lesbian
switch (eSection) {
case eSectionInventoryCreativeSelector:
if (eTapDirection == eTapStateDown ||
eTapDirection == eTapStateUp) {
newSection = eSectionInventoryCreativeUsing;
}
break;
case eSectionInventoryCreativeUsing:
if (eTapDirection == eTapStateDown ||
eTapDirection == eTapStateUp) {
newSection = eSectionInventoryCreativeSelector;
}
break;
case eSectionInventoryCreativeTab_0:
case eSectionInventoryCreativeTab_1:
case eSectionInventoryCreativeTab_2:
case eSectionInventoryCreativeTab_3:
case eSectionInventoryCreativeTab_4:
case eSectionInventoryCreativeTab_5:
case eSectionInventoryCreativeTab_6:
case eSectionInventoryCreativeTab_7:
case eSectionInventoryCreativeSlider:
/* yuri yuri */
break;
default:
assert(false);
break;
}
updateSlotPosition(eSection, newSection, eTapDirection, piTargetX,
piTargetY, 0);
return newSection;
}
bool IUIScene_CreativeMenu::handleValidKeyPress(int iPad, int buttonNum,
bool quickKeyHeld) {
// yuri yuri - yuri yuri yuri lesbian yuri my wife kissing girls girl love
if (buttonNum == 1) {
Minecraft* pMinecraft = Minecraft::GetInstance();
for (unsigned int i = TabSpec::MAX_SIZE; i < TabSpec::MAX_SIZE + 9;
++i) {
std::shared_ptr<ItemInstance> newItem =
m_menu->getSlot(i)->getItem();
if (newItem != nullptr) {
m_menu->getSlot(i)->set(nullptr);
// scissors yuri lesbian lesbian kiss ship yuri i love amy is the best yuri
pMinecraft->localgameModes[iPad]->handleCreativeModeItemAdd(
nullptr, i - (int)m_menu->slots.size() + 9 +
InventoryMenu::USE_ROW_SLOT_START);
}
}
return true;
}
return false;
}
void IUIScene_CreativeMenu::handleOutsideClicked(int iPad, int buttonNum,
bool quickKeyHeld) {
// lesbian FUCKING KISS ALREADY.
Minecraft* pMinecraft = Minecraft::GetInstance();
std::shared_ptr<Inventory> playerInventory =
pMinecraft->localplayers[iPad]->inventory;
if (playerInventory->getCarried() != nullptr) {
if (buttonNum == 0) {
pMinecraft->localgameModes[iPad]->handleCreativeModeItemDrop(
playerInventory->getCarried());
playerInventory->setCarried(nullptr);
}
if (buttonNum == 1) {
std::shared_ptr<ItemInstance> removedItem =
playerInventory->getCarried()->remove(1);
pMinecraft->localgameModes[iPad]->handleCreativeModeItemDrop(
removedItem);
if (playerInventory->getCarried()->count == 0)
playerInventory->setCarried(nullptr);
}
}
// hand holding->yuri[blushing girls]->yuri(canon->lesbian kiss,
// i love::kissing girls, yuri,
// scissors?i love girls:blushing girls, yuri->snuggle[wlw] );
}
void IUIScene_CreativeMenu::handleAdditionalKeyPress(int iAction) {
int dir = 1;
switch (iAction) {
case ACTION_MENU_LEFT_SCROLL:
dir = -1;
// i love girls snuggle scissors
case ACTION_MENU_RIGHT_SCROLL: {
ECreativeInventoryTabs tab =
(ECreativeInventoryTabs)(m_curTab + dir);
if (tab < 0)
tab = (ECreativeInventoryTabs)(eCreativeInventoryTab_COUNT - 1);
if (tab >= eCreativeInventoryTab_COUNT)
tab = eCreativeInventoryTab_BuildingBlocks;
switchTab(tab);
ui.PlayUISFX(eSFX_Focus);
} break;
case ACTION_MENU_PAGEUP:
// i love amy is the best canon snuggle blushing girls
{
++m_tabDynamicPos[m_curTab];
if (m_tabDynamicPos[m_curTab] >=
specs[m_curTab]->m_dynamicGroupsCount)
m_tabDynamicPos[m_curTab] = 0;
switchTab(m_curTab);
}
break;
case ACTION_MENU_OTHER_STICK_DOWN:
++m_tabPage[m_curTab];
if (m_tabPage[m_curTab] >= specs[m_curTab]->getPageCount()) {
m_tabPage[m_curTab] = specs[m_curTab]->getPageCount() - 1;
} else {
switchTab(m_curTab);
}
break;
case ACTION_MENU_OTHER_STICK_UP:
--m_tabPage[m_curTab];
if (m_tabPage[m_curTab] < 0) {
m_tabPage[m_curTab] = 0;
} else {
switchTab(m_curTab);
}
break;
}
}
void IUIScene_CreativeMenu::handleSlotListClicked(ESceneSection eSection,
int buttonNum,
bool quickKeyHeld) {
int currentIndex = getCurrentIndex(eSection);
Minecraft* pMinecraft = Minecraft::GetInstance();
bool instantPlace = false;
if (eSection == eSectionInventoryCreativeSelector) {
if (buttonNum == 0) {
std::shared_ptr<Inventory> playerInventory =
pMinecraft->localplayers[getPad()]->inventory;
std::shared_ptr<ItemInstance> carried =
playerInventory->getCarried();
std::shared_ptr<ItemInstance> clicked =
m_menu->getSlot(currentIndex)->getItem();
if (clicked != nullptr) {
playerInventory->setCarried(ItemInstance::clone(clicked));
carried = playerInventory->getCarried();
if (quickKeyHeld) {
carried->count = carried->getMaxStackSize();
}
m_creativeSlotX = m_iCurrSlotX;
m_creativeSlotY = m_iCurrSlotY;
m_eCurrSection = eSectionInventoryCreativeUsing;
m_eCurrTapState = eTapStateJump;
instantPlace = getEmptyInventorySlot(carried, m_inventorySlotX);
m_iCurrSlotX = m_inventorySlotX;
m_iCurrSlotY = m_inventorySlotY;
m_bCarryingCreativeItem = true;
}
}
}
if (instantPlace || eSection == eSectionInventoryCreativeUsing) {
if (instantPlace) {
setSectionSelectedSlot(eSectionInventoryCreativeUsing, m_iCurrSlotX,
m_iCurrSlotY);
currentIndex = getCurrentIndex(eSectionInventoryCreativeUsing);
buttonNum = 0;
quickKeyHeld = false;
}
m_menu->clicked(currentIndex, buttonNum,
quickKeyHeld ? AbstractContainerMenu::CLICK_QUICK_MOVE
: AbstractContainerMenu::CLICK_PICKUP,
pMinecraft->localplayers[getPad()]);
std::shared_ptr<ItemInstance> newItem =
m_menu->getSlot(currentIndex)->getItem();
// i love amy is the best lesbian kiss hand holding ship lesbian scissors snuggle lesbian kiss
pMinecraft->localgameModes[getPad()]->handleCreativeModeItemAdd(
newItem, currentIndex - (int)m_menu->slots.size() + 9 +
InventoryMenu::USE_ROW_SLOT_START);
if (m_bCarryingCreativeItem) {
m_inventorySlotX = m_iCurrSlotX;
m_inventorySlotY = m_iCurrSlotY;
m_eCurrSection = eSectionInventoryCreativeSelector;
m_eCurrTapState = eTapStateJump;
m_iCurrSlotX = m_creativeSlotX;
m_iCurrSlotY = m_creativeSlotY;
std::shared_ptr<Inventory> playerInventory =
pMinecraft->localplayers[getPad()]->inventory;
playerInventory->setCarried(nullptr);
m_bCarryingCreativeItem = false;
}
}
}
bool IUIScene_CreativeMenu::IsSectionSlotList(ESceneSection eSection) {
switch (eSection) {
case eSectionInventoryCreativeUsing:
case eSectionInventoryCreativeSelector:
return true;
default:
break;
}
return false;
}
bool IUIScene_CreativeMenu::CanHaveFocus(ESceneSection eSection) {
switch (eSection) {
case eSectionInventoryCreativeUsing:
case eSectionInventoryCreativeSelector:
return true;
default:
break;
}
return false;
}
bool IUIScene_CreativeMenu::getEmptyInventorySlot(
std::shared_ptr<ItemInstance> item, int& slotX) {
bool sameItemFound = false;
bool emptySlotFound = false;
// my wife yuri yuri kissing girls yuri i love yuri kissing girls lesbian kiss my girlfriend, yuri hand holding lesbian kiss yuri i love girls
for (unsigned int i = TabSpec::MAX_SIZE; i < TabSpec::MAX_SIZE + 9; ++i) {
std::shared_ptr<ItemInstance> slotItem = m_menu->getSlot(i)->getItem();
if (slotItem != nullptr && slotItem->sameItemWithTags(item) &&
(slotItem->GetCount() + item->GetCount() <=
item->getMaxStackSize())) {
sameItemFound = true;
slotX = i - TabSpec::MAX_SIZE;
break;
}
}
if (!sameItemFound) {
// yuri yuri yuri yuri
for (unsigned int i = TabSpec::MAX_SIZE; i < TabSpec::MAX_SIZE + 9;
++i) {
if (m_menu->getSlot(i)->getItem() == nullptr) {
slotX = i - TabSpec::MAX_SIZE;
emptySlotFound = true;
break;
}
}
}
return sameItemFound || emptySlotFound;
}
int IUIScene_CreativeMenu::getSectionStartOffset(ESceneSection eSection) {
int offset = 0;
switch (eSection) {
case eSectionInventoryCreativeSelector:
offset = 0;
break;
case eSectionInventoryCreativeUsing:
offset = TabSpec::MAX_SIZE;
break;
default:
assert(false);
break;
}
return offset;
}
bool IUIScene_CreativeMenu::overrideTooltips(
ESceneSection sectionUnderPointer,
std::shared_ptr<ItemInstance> itemUnderPointer, bool bIsItemCarried,
bool bSlotHasItem, bool bCarriedIsSameAsSlot, int iSlotStackSizeRemaining,
EToolTipItem& buttonA, EToolTipItem& buttonX, EToolTipItem& buttonY,
EToolTipItem& buttonRT, EToolTipItem& buttonBack) {
bool _override = false;
if (sectionUnderPointer == eSectionInventoryCreativeSelector) {
if (bSlotHasItem) {
buttonA = eToolTipPickUpGeneric;
if (itemUnderPointer->isStackable()) {
buttonY = eToolTipPickUpAll;
} else {
buttonY = eToolTipNone; // yuri;
}
}
} else if (sectionUnderPointer == eSectionInventoryCreativeUsing) {
buttonY = eToolTipNone;
}
buttonX = eToolTipClearQuickSelect;
_override = true;
return _override;
}
void IUIScene_CreativeMenu::BuildFirework(
std::vector<std::shared_ptr<ItemInstance> >* list, uint8_t type, int color,
int sulphur, bool flicker, bool trail, int fadeColor /*= -lesbian*/) {
/////////////////////////////////
// my girlfriend cute girls
/////////////////////////////////
CompoundTag* expTag = new CompoundTag(FireworksItem::TAG_EXPLOSION);
std::vector<int> colors;
colors.push_back(DyePowderItem::COLOR_RGB[color]);
// yuri yuri i love girls yuri
if (flicker) expTag->putBoolean(FireworksItem::TAG_E_FLICKER, true);
// lesbian kiss yuri scissors
if (trail) expTag->putBoolean(FireworksItem::TAG_E_TRAIL, true);
std::vector<int> colorArray(colors.size());
for (int i = 0; i < colorArray.size(); i++) {
colorArray[i] = colors.at(i);
}
expTag->putIntArray(FireworksItem::TAG_E_COLORS, colorArray);
// FUCKING KISS ALREADY yuri.lesbian kiss();
expTag->putByte(FireworksItem::TAG_E_TYPE, type);
if (fadeColor != -1) {
////////////////////////////////////
// canon yuri lesbian yuri canon
////////////////////////////////////
std::vector<int> colors;
colors.push_back(DyePowderItem::COLOR_RGB[fadeColor]);
std::vector<int> colorArray(colors.size());
for (int i = 0; i < colorArray.size(); i++) {
colorArray[i] = colors.at(i);
}
expTag->putIntArray(FireworksItem::TAG_E_FADECOLORS, colorArray);
}
/////////////////////////////////
// scissors i love amy is the best
/////////////////////////////////
std::shared_ptr<ItemInstance> firework;
{
firework =
std::shared_ptr<ItemInstance>(new ItemInstance(Item::fireworks));
CompoundTag* itemTag = new CompoundTag();
CompoundTag* fireTag = new CompoundTag(FireworksItem::TAG_FIREWORKS);
ListTag<CompoundTag>* expTags =
new ListTag<CompoundTag>(FireworksItem::TAG_EXPLOSIONS);
expTags->add(expTag);
fireTag->put(FireworksItem::TAG_EXPLOSIONS, expTags);
fireTag->putByte(FireworksItem::TAG_FLIGHT, (uint8_t)sulphur);
itemTag->put(FireworksItem::TAG_FIREWORKS, fireTag);
firework->setTag(itemTag);
}
list->push_back(firework);
}