Modifier and Type | Field and Description |
---|---|
private boolean |
blocksLight |
private boolean |
blocksMovement |
private boolean |
burnable |
private MaterialColor |
color |
private boolean |
liquid |
private PistonBehavior |
pistonBehavior |
private boolean |
replaceable |
private boolean |
solid |
Constructor and Description |
---|
Builder(MaterialColor color) |
Modifier and Type | Method and Description |
---|---|
Material.Builder |
allowsMovement() |
protected Material.Builder |
blocksPistons() |
Material |
build() |
protected Material.Builder |
burnable() |
protected Material.Builder |
destroyedByPiston() |
private Material.Builder |
lightPassesThrough() |
Material.Builder |
liquid() |
Material.Builder |
notSolid() |
Material.Builder |
replaceable() |
private PistonBehavior pistonBehavior
private boolean blocksMovement
private boolean burnable
private boolean liquid
private boolean replaceable
private boolean solid
private final MaterialColor color
private boolean blocksLight
public Builder(MaterialColor color)
public Material.Builder liquid()
public Material.Builder notSolid()
public Material.Builder allowsMovement()
private Material.Builder lightPassesThrough()
protected Material.Builder burnable()
public Material.Builder replaceable()
protected Material.Builder destroyedByPiston()
protected Material.Builder blocksPistons()
public Material build()