the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at master 12 lines 311 B view raw
1#pragma once 2#include "Material.h" 3 4class LiquidMaterial : public Material 5{ 6public: 7 LiquidMaterial(MaterialColor *color) : Material(color) { replaceable(); destroyOnPush(); } 8 9 virtual bool isLiquid() { return true; } 10 virtual bool blocksMotion() { return false; } 11 virtual bool isSolid() { return false; } 12};