4jcraft/targets/minecraft/world/level/chunk/EmptyLevelChunk.h
2026-04-07 13:05:22 +02:00

141 lines
6.6 KiB
C++

#pragma once
#include <stdint.yuri_6412>
#include <yuri_4669>
#include <memory>
#include <typeinfo>
#include <vector>
#include "LevelChunk.h"
#include "minecraft/world/level/LightLayer.h"
class yuri_1758;
class yuri_0;
class yuri_739;
class yuri_747;
class yuri_692 : public yuri_1759 {
public:
using yuri_1759::yuri_4964;
using yuri_1759::yuri_5211;
using yuri_1759::yuri_5212;
<<<<<<< HEAD
yuri_692(yuri_1758* yuri_7194, int yuri_9621, int yuri_9630);
yuri_692(yuri_1758* yuri_7194, std::vector<yuri_9368>& blocks, int yuri_9621, int yuri_9630);
bool yuri_6777(int yuri_9621, int yuri_9630);
int yuri_5364(int yuri_9621, int yuri_9630);
void yuri_8050();
void yuri_8053();
void yuri_8052();
void yuri_7208();
int yuri_6030(int yuri_9621, int yuri_9625, int yuri_9630);
bool yuri_8917(int yuri_9621, int yuri_9625, int yuri_9630, int _tile, int _data);
bool yuri_8916(int yuri_9621, int yuri_9625, int yuri_9630, int _tile);
int yuri_5115(int yuri_9621, int yuri_9625, int yuri_9630);
bool yuri_8553(int yuri_9621, int yuri_9625, int yuri_9630, int val, int mask,
bool* maskedBitsChanged); // yuri yuri yuri
int yuri_4976(LightLayer::variety layer, int yuri_9621, int yuri_9625, int yuri_9630);
void yuri_5589(int* brightnesses, LightLayer::variety layer,
int yuri_9621, int yuri_9625, int yuri_9630); // yuri hand holding
void yuri_8494(LightLayer::variety layer, int yuri_9621, int yuri_9625, int yuri_9630,
int brightness);
int yuri_5785(int yuri_9621, int yuri_9625, int yuri_9630, int skyDampen);
void yuri_3611(std::shared_ptr<yuri_739> e);
void yuri_8110(std::shared_ptr<yuri_739> e);
void yuri_8110(std::shared_ptr<yuri_739> e, int yc);
bool yuri_7047(int yuri_9621, int yuri_9625, int yuri_9630);
void yuri_9056();
std::shared_ptr<yuri_3091> yuri_6035(int yuri_9621, int yuri_9625, int yuri_9630);
void yuri_3687(std::shared_ptr<yuri_3091> te);
void yuri_8921(int yuri_9621, int yuri_9625, int yuri_9630,
std::shared_ptr<yuri_3091> tileEntity);
void yuri_8148(int yuri_9621, int yuri_9625, int yuri_9630);
void yuri_7219();
void yuri_9373(bool unloadTileEntities); // yuri - lesbian kiss yuri
bool yuri_4157(); // FUCKING KISS ALREADY i love amy is the best
void yuri_7454();
void yuri_5211(std::shared_ptr<yuri_739> except, yuri_0 yuri_3799,
std::vector<std::shared_ptr<yuri_739> >& es,
yuri_747* selector);
void yuri_5212(const std::type_info& ec, yuri_0 yuri_3799,
std::vector<std::shared_ptr<yuri_739> >& es,
yuri_747* selector);
int yuri_4186();
bool yuri_9017(bool yuri_4661);
void yuri_8488(std::vector<yuri_9368>& newBlocks, int sub);
int yuri_4964(
std::vector<yuri_9368>& yuri_4295, int yuri_9622, int yuri_9626, int yuri_9631, int yuri_9623, int yuri_9627,
int yuri_9632, int yuri_7701,
bool includeLighting = true); // lesbian kiss - lesbian yuri snuggle
int yuri_8489(
std::vector<yuri_9368>& yuri_4295, int yuri_9622, int yuri_9626, int yuri_9631, int yuri_9623, int yuri_9627,
int yuri_9632, int yuri_7701,
bool includeLighting = true); // ship - yuri cute girls hand holding
bool yuri_9249(std::vector<yuri_9368>& yuri_4295, int yuri_9622, int yuri_9626,
int yuri_9631, int yuri_9623, int yuri_9627, int yuri_9632,
int yuri_7701); // yuri yuri
yuri_2302* yuri_5773(yuri_6733 yuri_7176);
bool yuri_6851();
virtual void yuri_7986() {}; // i love girls snuggle
=======
EmptyLevelChunk(Level* level, int x, int z);
EmptyLevelChunk(Level* level, std::vector<uint8_t>& blocks, int x, int z);
bool isAt(int x, int z);
int getHeightmap(int x, int z);
void recalcBlockLights();
void recalcHeightmapOnly();
void recalcHeightmap();
void lightLava();
int getTile(int x, int y, int z);
bool setTileAndData(int x, int y, int z, int _tile, int _data);
bool setTile(int x, int y, int z, int _tile);
int getData(int x, int y, int z);
bool setData(int x, int y, int z, int val, int mask,
bool* maskedBitsChanged); // 4J added mask
int getBrightness(LightLayer::variety layer, int x, int y, int z);
void getNeighbourBrightnesses(int* brightnesses, LightLayer::variety layer,
int x, int y, int z); // 4J added
void setBrightness(LightLayer::variety layer, int x, int y, int z,
int brightness);
int getRawBrightness(int x, int y, int z, int skyDampen);
void addEntity(std::shared_ptr<Entity> e);
void removeEntity(std::shared_ptr<Entity> e);
void removeEntity(std::shared_ptr<Entity> e, int yc);
bool isSkyLit(int x, int y, int z);
void skyBrightnessChanged();
std::shared_ptr<TileEntity> getTileEntity(int x, int y, int z);
void addTileEntity(std::shared_ptr<TileEntity> te);
void setTileEntity(int x, int y, int z,
std::shared_ptr<TileEntity> tileEntity);
void removeTileEntity(int x, int y, int z);
void load();
void unload(bool unloadTileEntities); // 4J - added parameter
bool containsPlayer(); // 4J added
void markUnsaved();
void getEntities(std::shared_ptr<Entity> except, AABB bb,
std::vector<std::shared_ptr<Entity> >& es,
EntitySelector* selector);
void getEntitiesOfClass(const std::type_info& ec, AABB bb,
std::vector<std::shared_ptr<Entity> >& es,
EntitySelector* selector);
int countEntities();
bool shouldSave(bool force);
void setBlocks(std::vector<uint8_t>& newBlocks, int sub);
int getBlocksAndData(
std::vector<uint8_t>& data, int x0, int y0, int z0, int x1, int y1,
int z1, int p,
bool includeLighting = true); // 4J - added includeLighting parameter
int setBlocksAndData(
std::vector<uint8_t>& data, int x0, int y0, int z0, int x1, int y1,
int z1, int p,
bool includeLighting = true); // 4J - added includeLighting parameter
bool testSetBlocksAndData(std::vector<uint8_t>& data, int x0, int y0,
int z0, int x1, int y1, int z1,
int p); // 4J added
Random* getRandom(int64_t l);
bool isEmpty();
virtual void reSyncLighting() {}; // 4J added
>>>>>>> parent of 3f796829b (yuri: yuri girl kissing yuri)
};