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.
357 B · 14 lines
C++
at master
1234567891011121314#include "stdafx.h"#include "GravelTile.h"#include "net.minecraft.world.item.h"
GravelTile::GravelTile(int type) : HeavyTile(type){}
int GravelTile::getResource(int data, Random *random, int playerBonusLevel){ if (playerBonusLevel > 3) playerBonusLevel = 3; if (random->nextInt(10 - playerBonusLevel * 3) == 0) return Item::flint->id; return id;}