Files
mcpe/source/world/tile/Sapling.hpp
2023-08-10 13:27:30 +03:00

24 lines
657 B
C++

/********************************************************************
Minecraft: Pocket Edition - Decompilation Project
Copyright (C) 2023 iProgramInCpp
The following code is licensed under the BSD 1 clause license.
SPDX-License-Identifier: BSD-1-Clause
********************************************************************/
#pragma once
#include "Bush.hpp"
class Sapling : public Bush
{
public:
Sapling(int id, int texture);
int getTexture(int dir, int data) override;
void tick(Level*, int x, int y, int z, Random*) override;
void growTree(Level*, int x, int y, int z, Random*);
bool maybeGrowTree(Level*, int x, int y, int z, Random*);
};