Skip to content

Instantly share code, notes, and snippets.

#include "TestSword.h"
TestSword::TestSword(const std::string& name,int id, const std::string& textureName, const Material&) {
ItemSword(name, id, textureName, material);
}
#include <jni.h>
#include <dlfcn.h>
#include <android/log.h>
#include <stdlib.h>
#include <Substrate.h>
class Gui;
void (*_Gui$renderHearts)(Gui* self);
void Gui$renderHearts(Gui *self) {
@minecraftmuse3
minecraftmuse3 / SAOPEHouse.cpp
Last active April 23, 2016 20:44
Base structure file
#include "SAOPEHouse.h"
SAOPEHouse::SAOPEHouse() {
//Construcor
}
void SAOPEHouse::postProcess(BlockSource* region, Random& random, BoundingBox const& bounds) {
generateBox(region, bounds, 0, 0, 0, 10, 10, 10, {Block::mCobblestone->blockId, 0}, {Block::mCobblestone->blockId, 0}, false);
}