Class SchemAnalyzerUtil

java.lang.Object
com.minecolonies.core.util.SchemAnalyzerUtil

public class SchemAnalyzerUtil extends Object
  • Constructor Details

    • SchemAnalyzerUtil

      public SchemAnalyzerUtil()
  • Method Details

    • getBlockTier

      public static int getBlockTier(net.minecraft.world.level.block.Block block)
      Gets the tier for a given block
      Parameters:
      block - the block to analyze.
      Returns:
      true if is so.
    • getScoreFor

      public static double getScoreFor(net.minecraft.world.level.block.Block block)
      Block cost calculation
      Parameters:
      block -
      Returns:
    • analyzeSchematic

      public static SchemAnalyzerUtil.SchematicAnalyzationResult analyzeSchematic(com.ldtteam.structurize.blueprints.v1.Blueprint blueprint, @NotNull net.minecraft.core.HolderLookup.Provider provider)
      Analyzes the given blueprint, calculating statistics like block cost, included buildings etc.
      Parameters:
      blueprint -
      Returns: