예제 #1
0
 private static <T extends Item> T registerItem(String modId, T item) {
   return registerItem(modId, item, item.getClass().getSimpleName());
 }
예제 #2
0
 private static <T extends Item> T registerItem(T item) {
   return registerItem(item, item.getClass().getSimpleName());
 }