Class TemplateHelper

java.lang.Object
net.mcreator.generator.template.TemplateHelper

public class TemplateHelper extends Object
  • Constructor Details

    • TemplateHelper

      public TemplateHelper()
  • Method Details

    • mapToString

      public String mapToString(double val, double min, double max, String... values)
    • random

      public double random(String seed)
    • randomlong

      public long randomlong(String seed)
    • randompositiveint

      public int randompositiveint(String seed)
    • colorToHexString

      public String colorToHexString(Color color)
    • obj2str

      public String obj2str(Object object)
    • removeDuplicates

      public <T> List<T> removeDuplicates(List<T> original)