Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
674 B · 22 lines
C
at master
12345678910111213141516171819202122#pragma onceusing namespace std;
#include "GameRuleDefinition.h"#include "..\..\..\Minecraft.World\StructureFeature.h"
class StartFeature : public GameRuleDefinition{private: int m_chunkX, m_chunkZ, m_orientation; StructureFeature::EFeatureTypes m_feature;
public: StartFeature();
virtual ConsoleGameRules::EGameRuleType getActionType() { return ConsoleGameRules::eGameRuleType_StartFeature; } virtual void writeAttributes(DataOutputStream *dos, UINT numAttrs); virtual void addAttribute(const wstring &attributeName, const wstring &attributeValue);
bool isFeatureChunk(int chunkX, int chunkZ, StructureFeature::EFeatureTypes feature, int *orientation);};