mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-17 03:05:03 +00:00
forestry update
This commit is contained in:
1 parent
df7c625652
commit
fb585819e0
20 files changed
+114
-432
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package modtweaker.util;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class ArrayUtils {
|
||||
|
||||
|
||||
public static ArrayList<ItemStack> toArrayList(ItemStack[] array){
|
||||
ArrayList<ItemStack> stacks = new ArrayList<ItemStack>();
|
||||
for(ItemStack stack : array){
|
||||
stacks.add(stack);
|
||||
}
|
||||
return stacks;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user