Class TextureMappingTool

java.lang.Object
com.supermartijn642.rechiseled.texture.TextureMappingTool

public class TextureMappingTool extends Object
Created 24/01/2022 by SuperMartijn642
  • Constructor Details

    • TextureMappingTool

      public TextureMappingTool()
  • Method Details

    • createPaletteMap

      public static Map<Integer,Integer> createPaletteMap(BufferedImage from, BufferedImage to)
    • applyPaletteMap

      public static void applyPaletteMap(BufferedImage image, Map<Integer,Integer> palette, boolean ignoreMissingColors, String name)
    • getSuffixes

      public static List<String> getSuffixes(String name, net.neoforged.neoforge.common.data.ExistingFileHelper existingFileHelper)
      Finds the suffixes of all rechiseled textures whose names start with name