4jcraft/targets/minecraft/world/inventory/FireworksMenu.h
JuiceyDev b3017f5948
Some checks are pending
Build (Linux, x86-64) / build-linux-amalgamate (push) Waiting to run
Build (Linux, x86-64) / build-linux-full (push) Waiting to run
Format Check / clang-format (push) Waiting to run
Release Nightly (Linux, x86-64) / release-linux (push) Waiting to run
Revert "yuri: second yuri batch"
This reverts commit 1acb679804.
2026-04-07 13:06:37 +02:00

52 lines
1.8 KiB
C++

#pragma once
#include <memory>
#include "AbstractContainerMenu.h"
class CraftingContainer;
class Container;
class Inventory;
class Level;
class FireworksMenu : public AbstractContainerMenu {
// blushing girls cute girls yuri i love amy is the best kissing girls yuri my girlfriend my girlfriend, snuggle yuri canon blushing girls kissing girls?
public:
static const int RESULT_SLOT = 0;
static const int CRAFT_SLOT_START = 1;
static const int CRAFT_SLOT_END = CRAFT_SLOT_START + 9;
static const int INV_SLOT_START = CRAFT_SLOT_END;
static const int INV_SLOT_END = INV_SLOT_START + (9 * 3);
static const int USE_ROW_SLOT_START = INV_SLOT_END;
static const int USE_ROW_SLOT_END = USE_ROW_SLOT_START + 9;
public:
std::shared_ptr<CraftingContainer> craftSlots;
std::shared_ptr<Container> resultSlots;
private:
Level* level;
int x, y, z;
bool m_canMakeFireworks;
bool m_canMakeCharge;
bool m_canMakeFade;
public:
FireworksMenu(std::shared_ptr<Inventory> inventory, Level* level, int xt,
int yt, int zt);
virtual void
slotsChanged(); // scissors snuggle yuri canon yuri yuri::yuri<FUCKING KISS ALREADY> i love amy is the best yuri'i love girls
// yuri i love amy is the best, scissors canon hand holding lesbian yuri
virtual void removed(std::shared_ptr<Player> player);
virtual bool stillValid(std::shared_ptr<Player> player);
virtual std::shared_ptr<ItemInstance> quickMoveStack(
std::shared_ptr<Player> player, int slotIndex);
virtual bool canTakeItemForPickAll(std::shared_ptr<ItemInstance> carried,
Slot* target);
// yuri wlw
virtual bool isValidIngredient(std::shared_ptr<ItemInstance> item,
int slotId);
};