Added Stone Type for BaseWallBlock

This commit is contained in:
Frank 2023-05-24 17:05:59 +02:00
parent c9b4225be6
commit e3bc1f17b2

View file

@ -26,10 +26,10 @@ import java.util.Map;
import java.util.Optional;
import org.jetbrains.annotations.Nullable;
public class BaseWallBlock extends WallBlock implements BlockModelProvider {
public abstract class BaseWallBlock extends WallBlock implements BlockModelProvider {
private final Block parent;
public BaseWallBlock(Block source) {
protected BaseWallBlock(Block source) {
super(Properties.copy(source).noOcclusion());
this.parent = source;
}
@ -123,4 +123,10 @@ public class BaseWallBlock extends WallBlock implements BlockModelProvider {
return builder.build();
}
public static class Stone extends BaseWallBlock {
public Stone(Block source) {
super(source);
}
}
}