Added Stone Type for BaseWallBlock
This commit is contained in:
parent
c9b4225be6
commit
e3bc1f17b2
1 changed files with 8 additions and 2 deletions
|
@ -26,10 +26,10 @@ import java.util.Map;
|
||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
import org.jetbrains.annotations.Nullable;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
public class BaseWallBlock extends WallBlock implements BlockModelProvider {
|
public abstract class BaseWallBlock extends WallBlock implements BlockModelProvider {
|
||||||
private final Block parent;
|
private final Block parent;
|
||||||
|
|
||||||
public BaseWallBlock(Block source) {
|
protected BaseWallBlock(Block source) {
|
||||||
super(Properties.copy(source).noOcclusion());
|
super(Properties.copy(source).noOcclusion());
|
||||||
this.parent = source;
|
this.parent = source;
|
||||||
}
|
}
|
||||||
|
@ -123,4 +123,10 @@ public class BaseWallBlock extends WallBlock implements BlockModelProvider {
|
||||||
|
|
||||||
return builder.build();
|
return builder.build();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static class Stone extends BaseWallBlock {
|
||||||
|
public Stone(Block source) {
|
||||||
|
super(source);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue