4jcraft/Minecraft.World/Blocks/SnowTile.h
2026-03-13 17:06:56 -05:00

21 lines
503 B
C++

#pragma once
#include "Tile.h"
class SnowTile : public Tile {
friend class Tile;
protected:
SnowTile(int id);
public:
int getResource(int data, Random* random, int playerBonusLevel);
int getResourceCount(Random* random);
void tick(Level* level, int x, int y, int z, Random* random);
// 4J Added so we can check before we try to add a tile to the tick list if
// it's actually going to do seomthing
virtual bool shouldTileTick(Level* level, int x, int y, int z);
};