first commit
This commit is contained in:
23
Minecraft.Client/Common/GameRules/BiomeOverride.h
Normal file
23
Minecraft.Client/Common/GameRules/BiomeOverride.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
#include "GameRuleDefinition.h"
|
||||
|
||||
class BiomeOverride : public GameRuleDefinition
|
||||
{
|
||||
private:
|
||||
BYTE m_topTile;
|
||||
BYTE m_tile;
|
||||
int m_biomeId;
|
||||
|
||||
public:
|
||||
BiomeOverride();
|
||||
|
||||
virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_BiomeOverride; }
|
||||
|
||||
virtual void writeAttributes(DataOutputStream *dos, UINT numAttrs);
|
||||
virtual void addAttribute(const wstring &attributeName, const wstring &attributeValue);
|
||||
|
||||
bool isBiome(int id);
|
||||
void getTileValues(BYTE &tile, BYTE &topTile);
|
||||
};
|
||||
Reference in New Issue
Block a user