MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / makePropertyList

Method makePropertyList

src/main/java/net/optifine/CustomItems.java:470–491  ·  view source on GitHub ↗
(CustomItemProperties[][] propsArr)

Source from the content-addressed store, hash-verified

468 }
469
470 private static List makePropertyList(CustomItemProperties[][] propsArr)
471 {
472 List list = new ArrayList();
473
474 if (propsArr != null)
475 {
476 for (int i = 0; i < propsArr.length; ++i)
477 {
478 CustomItemProperties[] acustomitemproperties = propsArr[i];
479 List list1 = null;
480
481 if (acustomitemproperties != null)
482 {
483 list1 = new ArrayList(Arrays.asList(acustomitemproperties));
484 }
485
486 list.add(list1);
487 }
488 }
489
490 return list;
491 }
492
493 private static CustomItemProperties[][] propertyListToArray(List list)
494 {

Callers 1

updateMethod · 0.95

Calls 1

addMethod · 0.45

Tested by

no test coverage detected