4jcraft/targets/minecraft/world/level/material/WebMaterial.h
2026-04-01 13:27:58 -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; }
};