Package net.minecraft.block.material
Class Material.Builder
- java.lang.Object
-
- net.minecraft.block.material.Material.Builder
-
- Enclosing class:
- Material
public static class Material.Builder extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
blocksMotion
private MaterialColor
color
private boolean
flammable
private boolean
liquid
private PushReaction
pushReaction
private boolean
replaceable
private boolean
solid
private boolean
solidBlocking
-
Constructor Summary
Constructors Constructor Description Builder(MaterialColor p_i48270_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Material
build()
protected Material.Builder
destroyOnPush()
protected Material.Builder
flammable()
Material.Builder
liquid()
Material.Builder
noCollider()
Material.Builder
nonSolid()
protected Material.Builder
notPushable()
private Material.Builder
notSolidBlocking()
Material.Builder
replaceable()
-
-
-
Field Detail
-
pushReaction
private PushReaction pushReaction
-
blocksMotion
private boolean blocksMotion
-
flammable
private boolean flammable
-
liquid
private boolean liquid
-
replaceable
private boolean replaceable
-
solid
private boolean solid
-
color
private final MaterialColor color
-
solidBlocking
private boolean solidBlocking
-
-
Constructor Detail
-
Builder
public Builder(MaterialColor p_i48270_1_)
-
-
Method Detail
-
liquid
public Material.Builder liquid()
-
nonSolid
public Material.Builder nonSolid()
-
noCollider
public Material.Builder noCollider()
-
notSolidBlocking
private Material.Builder notSolidBlocking()
-
flammable
protected Material.Builder flammable()
-
replaceable
public Material.Builder replaceable()
-
destroyOnPush
protected Material.Builder destroyOnPush()
-
notPushable
protected Material.Builder notPushable()
-
build
public Material build()
-
-