Class BlockAPI

java.lang.Object
com.prupe.mcpatcher.mal.block.BlockAPI

@Environment(CLIENT) public class BlockAPI extends Object
  • Constructor Details

    • BlockAPI

      public BlockAPI()
  • Method Details

    • getFixedBlock

      public static Block getFixedBlock(String name)
    • parseBlockName

      public static Block parseBlockName(String name)
    • getBlockName

      public static String getBlockName(Block block)
    • getAllBlocks

      public static List<Block> getAllBlocks()
    • getBlockAt

      public static Block getBlockAt(IBlockAccess blockAccess, int i, int j, int k)
    • getMetadataAt

      public static int getMetadataAt(IBlockAccess blockAccess, int i, int j, int k)
    • getBlockIcon

      public static Icon getBlockIcon(Block block, IBlockAccess blockAccess, int i, int j, int k, int face)
    • shouldSideBeRendered

      public static boolean shouldSideBeRendered(Block block, IBlockAccess blockAccess, int i, int j, int k, int face)
    • getBlockById

      public static Block getBlockById(int id)
    • getFullName

      public static String getFullName(String name)
    • getBlockLightValue

      public static int getBlockLightValue(Block block)
    • createMatcher

      public static BlockStateMatcher createMatcher(PropertiesFile source, String matchString)
    • expandTileName

      public static String expandTileName(String tileName)