Class Material

java.lang.Object
net.minecraft.world.level.material.Material

public final class Material extends Object
  • Field Details

    • AIR

      public static final Material AIR
    • STRUCTURAL_AIR

      public static final Material STRUCTURAL_AIR
    • PORTAL

      public static final Material PORTAL
    • CLOTH_DECORATION

      public static final Material CLOTH_DECORATION
    • PLANT

      public static final Material PLANT
    • WATER_PLANT

      public static final Material WATER_PLANT
    • REPLACEABLE_PLANT

      public static final Material REPLACEABLE_PLANT
    • REPLACEABLE_FIREPROOF_PLANT

      public static final Material REPLACEABLE_FIREPROOF_PLANT
    • REPLACEABLE_WATER_PLANT

      public static final Material REPLACEABLE_WATER_PLANT
    • WATER

      public static final Material WATER
    • BUBBLE_COLUMN

      public static final Material BUBBLE_COLUMN
    • LAVA

      public static final Material LAVA
    • TOP_SNOW

      public static final Material TOP_SNOW
    • FIRE

      public static final Material FIRE
    • DECORATION

      public static final Material DECORATION
    • WEB

      public static final Material WEB
    • SCULK

      public static final Material SCULK
    • BUILDABLE_GLASS

      public static final Material BUILDABLE_GLASS
    • CLAY

      public static final Material CLAY
    • DIRT

      public static final Material DIRT
    • GRASS

      public static final Material GRASS
    • ICE_SOLID

      public static final Material ICE_SOLID
    • SAND

      public static final Material SAND
    • SPONGE

      public static final Material SPONGE
    • SHULKER_SHELL

      public static final Material SHULKER_SHELL
    • WOOD

      public static final Material WOOD
    • NETHER_WOOD

      public static final Material NETHER_WOOD
    • BAMBOO_SAPLING

      public static final Material BAMBOO_SAPLING
    • BAMBOO

      public static final Material BAMBOO
    • WOOL

      public static final Material WOOL
    • EXPLOSIVE

      public static final Material EXPLOSIVE
    • LEAVES

      public static final Material LEAVES
    • GLASS

      public static final Material GLASS
    • ICE

      public static final Material ICE
    • CACTUS

      public static final Material CACTUS
    • STONE

      public static final Material STONE
    • METAL

      public static final Material METAL
    • SNOW

      public static final Material SNOW
    • HEAVY_METAL

      public static final Material HEAVY_METAL
    • BARRIER

      public static final Material BARRIER
    • PISTON

      public static final Material PISTON
    • MOSS

      public static final Material MOSS
    • VEGETABLE

      public static final Material VEGETABLE
    • EGG

      public static final Material EGG
    • CAKE

      public static final Material CAKE
    • AMETHYST

      public static final Material AMETHYST
    • POWDER_SNOW

      public static final Material POWDER_SNOW
    • FROGSPAWN

      public static final Material FROGSPAWN
    • FROGLIGHT

      public static final Material FROGLIGHT
    • DECORATED_POT

      public static final Material DECORATED_POT
    • color

      private final MaterialColor color
    • pushReaction

      private final PushReaction pushReaction
    • blocksMotion

      private final boolean blocksMotion
    • flammable

      private final boolean flammable
    • liquid

      private final boolean liquid
    • solidBlocking

      private final boolean solidBlocking
    • replaceable

      private final boolean replaceable
    • solid

      private final boolean solid
  • Constructor Details

    • Material

      public Material(MaterialColor p_76324_, boolean p_76325_, boolean p_76326_, boolean p_76327_, boolean p_76328_, boolean p_76329_, boolean p_76330_, PushReaction p_76331_)
  • Method Details

    • isLiquid

      public boolean isLiquid()
    • isSolid

      public boolean isSolid()
    • blocksMotion

      public boolean blocksMotion()
    • isFlammable

      public boolean isFlammable()
    • isReplaceable

      public boolean isReplaceable()
    • isSolidBlocking

      public boolean isSolidBlocking()
    • getPushReaction

      public PushReaction getPushReaction()
    • getColor

      public MaterialColor getColor()