mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 02:33:37 +00:00
14 lines
343 B
C++
14 lines
343 B
C++
#pragma once
|
|
#include "Material.h"
|
|
|
|
class LiquidMaterial : public Material {
|
|
public:
|
|
LiquidMaterial(MaterialColor* color) : Material(color) {
|
|
replaceable();
|
|
destroyOnPush();
|
|
}
|
|
|
|
virtual bool isLiquid() { return true; }
|
|
virtual bool blocksMotion() { return false; }
|
|
virtual bool isSolid() { return false; }
|
|
}; |