This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MinecraftConsoles/Minecraft.World/BlockSourceImpl.h
2026-03-01 11:00:23 -06:00

29 lines
431 B
C++

#pragma once
#include "BlockSource.h"
class Level;
class BlockSourceImpl : public BlockSource
{
private:
Level *world;
int x;
int y;
int z;
public:
BlockSourceImpl(Level *world, int x, int y, int z);
Level *getWorld();
double getX();
double getY();
double getZ();
int getBlockX();
int getBlockY();
int getBlockZ();
Tile *getType();
int getData();
Material *getMaterial();
shared_ptr<TileEntity> getEntity();
};