java.lang.Object
com.blamejared.crafttweaker.natives.block.material.ExpandMaterial

@ZenRegister public class ExpandMaterial extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.google.common.collect.BiMap<String,net.minecraft.world.level.material.Material>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    blocksMotion(net.minecraft.world.level.material.Material internal)
     
    static net.minecraft.world.level.material.MaterialColor
    getColor(net.minecraft.world.level.material.Material internal)
     
    static String
    getCommandString(net.minecraft.world.level.material.Material internal)
    Gets the bracket syntax for this Material
    static Optional<net.minecraft.world.level.material.Material>
     
    static net.minecraft.world.level.material.PushReaction
    getPushReaction(net.minecraft.world.level.material.Material internal)
     
    static boolean
    isFlammable(net.minecraft.world.level.material.Material internal)
     
    static boolean
    isLiquid(net.minecraft.world.level.material.Material internal)
     
    static boolean
    isReplaceable(net.minecraft.world.level.material.Material internal)
     
    static boolean
    isSolid(net.minecraft.world.level.material.Material internal)
     
    static boolean
    isSolidBlocking(net.minecraft.world.level.material.Material internal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • VANILLA_MATERIALS

      public static final com.google.common.collect.BiMap<String,net.minecraft.world.level.material.Material> VANILLA_MATERIALS
  • Constructor Details

    • ExpandMaterial

      public ExpandMaterial()
  • Method Details

    • getOptionalMaterial

      public static Optional<net.minecraft.world.level.material.Material> getOptionalMaterial(String tokens)
    • isLiquid

      public static boolean isLiquid(net.minecraft.world.level.material.Material internal)
    • isSolid

      public static boolean isSolid(net.minecraft.world.level.material.Material internal)
    • blocksMotion

      public static boolean blocksMotion(net.minecraft.world.level.material.Material internal)
    • isFlammable

      public static boolean isFlammable(net.minecraft.world.level.material.Material internal)
    • isReplaceable

      public static boolean isReplaceable(net.minecraft.world.level.material.Material internal)
    • isSolidBlocking

      public static boolean isSolidBlocking(net.minecraft.world.level.material.Material internal)
    • getPushReaction

      public static net.minecraft.world.level.material.PushReaction getPushReaction(net.minecraft.world.level.material.Material internal)
    • getColor

      public static net.minecraft.world.level.material.MaterialColor getColor(net.minecraft.world.level.material.Material internal)
    • getCommandString

      public static String getCommandString(net.minecraft.world.level.material.Material internal)
      Gets the bracket syntax for this Material
      Returns:
      The <material> Bracket Syntax for this material