Files
MinecraftConsoles/Minecraft.World/IceTile.h
void_17 7074f35e4b shared_ptr -> std::shared_ptr
This is one of the first commits in a plan to remove all `using namespace std;` lines in the entire codebase as it is considered anti-pattern today.
2026-03-02 15:58:20 +07:00

20 lines
689 B
C++

#pragma once
#include "HalfTransparentTile.h"
class Random;
class IceTile : public HalfTransparentTile
{
public:
IceTile(int id);
virtual int getRenderLayer();
virtual bool shouldRenderFace(LevelSource *level, int x, int y, int z, int face);
virtual void playerDestroy(Level *level, std::shared_ptr<Player> player, int x, int y, int z, int data);
virtual int getResourceCount(Random *random);
virtual void tick(Level *level, int x, int y, int z, Random *random);
virtual int getPistonPushReaction();
// 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);
};