4jcraft/Minecraft.World/Blocks/WebMaterial.h
2026-03-13 17:06:56 -05:00

10 lines
314 B
C++

#pragma once
#include "Material.h"
// 4J added, Java version just does a local alteration when instantiating the
// Material for webs to get the same thing
class WebMaterial : public Material {
public:
WebMaterial(MaterialColor* color) : Material(color) {}
virtual bool blocksMotion() { return false; }
};