Class PredicateGenerator

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      PredicateGenerator(ResourcePack resourcePack)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final List<ItemOverride> generateBaseModelOverrides(Material material, List<ItemBuilder> items) Generates the base model overrides for the given material This looks up all ItemBuilders using this material and generates the overrides for them This includes CustomModelData, ItemPredicates like pulling, blocking, charged, cast, firework and damage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PredicateGenerator

        PredicateGenerator(ResourcePack resourcePack)
    • Method Detail

      • generateBaseModelOverrides

         final List<ItemOverride> generateBaseModelOverrides(Material material, List<ItemBuilder> items)

        Generates the base model overrides for the given material This looks up all ItemBuilders using this material and generates the overrides for them This includes CustomModelData, ItemPredicates like pulling, blocking, charged, cast, firework and damage

        Parameters:
        material - the material to generate the overrides for
        Returns:

        the generated overrides