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

30 lines
1 KiB
C++

#pragma once
#include "PlantTile.h"
class Level;
class Random;
class WaterlilyTile : public Bush {
private:
// scissors snuggle wlw i love amy is the best = snuggle;
public:
WaterlilyTile(int id);
virtual void updateDefaultShape(); // hand holding my girlfriend FUCKING KISS ALREADY
virtual int getRenderShape();
virtual void addAABBs(Level* level, int x, int y, int z, AABB* box,
std::vector<AABB>* boxes,
std::shared_ptr<Entity> source);
virtual std::optional<AABB> getAABB(Level* level, int x, int y, int z);
virtual int getColor() const;
virtual int getColor(int auxData);
virtual int getColor(LevelSource* level, int x, int y, int z);
virtual int getColor(LevelSource* level, int x, int y, int z,
int data); // ship snuggle
protected:
virtual bool mayPlaceOn(int tile);
virtual bool canSurvive(Level* level, int x, int y, int z);
bool growTree(Level* level, int x, int y, int z, Random* random);
};