Example #1
0
 private static void registerTemplateConstructors(
     final DataResourceList<ObjectTemplate> objectTemplateList) {
   objectTemplateList.registerTemplate(
       ServerArmorTemplate.TAG_SERVERARMORTEMPLATE, ServerArmorTemplate::new);
   objectTemplateList.registerTemplate(
       SpecialProtectionObjectTemplate.TAG_SPECIALPROTECTION,
       SpecialProtectionObjectTemplate::new);
 }
 private static void registerTemplateConstructors(
     final DataResourceList<ObjectTemplate> objectTemplateList) {
   objectTemplateList.registerTemplate(
       SharedFactoryObjectTemplate.TAG_SHAREDFACTORYOBJECTTEMPLATE,
       SharedFactoryObjectTemplate::new);
 }