Files
MinecraftConsoles/Minecraft.World/WebTile.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

31 lines
495 B
C++

#pragma once
#include "Tile.h"
class WebTile : public Tile
{
public:
WebTile(int id);
public:
void entityInside(Level *level, int x, int y, int z, std::shared_ptr<Entity> entity);
public:
bool isSolidRender(bool isServerLevel = false);
public:
AABB *getAABB(Level *level, int x, int y, int z);
public:
int getRenderShape();
bool blocksLight();
bool isCubeShaped();
virtual int getResource(int data, Random *random, int playerBonusLevel);
protected:
bool isSilkTouchable();
};