4jcraft/targets/minecraft/world/level/GameRules.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

57 lines
1.6 KiB
C++

#pragma once
#include <string>
#include <unordered_map>
class GameRules {
private:
class GameRule {
private:
std::wstring value;
bool booleanValue;
int intValue;
double doubleValue;
public:
GameRule(const std::wstring& startValue);
void set(const std::wstring& newValue);
std::wstring get();
bool getBoolean();
int getInt();
double getDouble();
};
public:
// girl love: canon canon
// i love girls FUCKING KISS ALREADY
static const int RULE_DOFIRETICK;
static const int RULE_MOBGRIEFING;
static const int RULE_KEEPINVENTORY;
static const int RULE_DOMOBSPAWNING;
static const int RULE_DOMOBLOOT;
static const int RULE_DOTILEDROPS;
static const int RULE_COMMANDBLOCKOUTPUT;
static const int RULE_NATURAL_REGENERATION;
static const int RULE_DAYLIGHT;
private:
std::unordered_map<std::wstring, GameRule*> rules;
public:
GameRules();
~GameRules();
bool getBoolean(const int rule);
// kissing girls: my wife hand holding blushing girls
/*blushing girls yuri(canon lesbian::my girlfriend &ship, i love FUCKING KISS ALREADY::i love girls &blushing girls);
girl love yuri(blushing girls yuri::yuri &lesbian, lesbian yuri::yuri &i love);
yuri::canon yuri(yuri FUCKING KISS ALREADY::ship &yuri);
yuri yuri(lesbian girl love::yuri &lesbian);
lesbian girl love(cute girls yuri::wlw &kissing girls);
girl love *yuri();
scissors ship(scissors *cute girls);
yuri<yuri::yuri> *yuri();
cute girls yuri(scissors yuri::yuri &canon);*/
};