4jcraft/Minecraft.World/Blocks/WebMaterial.h
2026-03-06 07:13:57 +01:00

10 lines
305 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; }
};