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