public final class Material
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Material.Builder |
Constructor and Description |
---|
Material(MaterialColor materialMapColorIn,
boolean liquid,
boolean solid,
boolean doesBlockMovement,
boolean opaque,
boolean requiresNoToolIn,
boolean canBurnIn,
boolean replaceableIn,
PushReaction mobilityFlag) |
Modifier and Type | Method and Description |
---|---|
boolean |
blocksMovement() |
MaterialColor |
getColor() |
PushReaction |
getPushReaction() |
boolean |
isFlammable() |
boolean |
isLiquid() |
boolean |
isOpaque() |
boolean |
isReplaceable() |
boolean |
isSolid() |
boolean |
isToolNotRequired() |
public static final Material AIR
public static final Material STRUCTURE_VOID
public static final Material PORTAL
public static final Material CARPET
public static final Material PLANTS
public static final Material OCEAN_PLANT
public static final Material TALL_PLANTS
public static final Material SEA_GRASS
public static final Material WATER
public static final Material BUBBLE_COLUMN
public static final Material LAVA
public static final Material SNOW
public static final Material FIRE
public static final Material MISCELLANEOUS
public static final Material WEB
public static final Material REDSTONE_LIGHT
public static final Material CLAY
public static final Material EARTH
public static final Material ORGANIC
public static final Material PACKED_ICE
public static final Material SAND
public static final Material SPONGE
public static final Material SHULKER
public static final Material WOOD
public static final Material BAMBOO_SAPLING
public static final Material BAMBOO
public static final Material WOOL
public static final Material TNT
public static final Material LEAVES
public static final Material GLASS
public static final Material ICE
public static final Material CACTUS
public static final Material ROCK
public static final Material IRON
public static final Material SNOW_BLOCK
public static final Material ANVIL
public static final Material BARRIER
public static final Material PISTON
public static final Material CORAL
public static final Material GOURD
public static final Material DRAGON_EGG
public static final Material CAKE
private final MaterialColor color
private final PushReaction pushReaction
private final boolean blocksMovement
private final boolean flammable
private final boolean requiresNoTool
private final boolean isLiquid
private final boolean isOpaque
private final boolean replaceable
private final boolean isSolid
public Material(MaterialColor materialMapColorIn, boolean liquid, boolean solid, boolean doesBlockMovement, boolean opaque, boolean requiresNoToolIn, boolean canBurnIn, boolean replaceableIn, PushReaction mobilityFlag)
public boolean isLiquid()
public boolean isSolid()
public boolean blocksMovement()
public boolean isFlammable()
public boolean isReplaceable()
public boolean isOpaque()
public boolean isToolNotRequired()
public PushReaction getPushReaction()
public MaterialColor getColor()