前提Mod: Minecraft1.7.10 IC2Exp
リビジョン | 747dacafa620a240f1611380180d23618edb9f71 (tree) |
---|---|
日時 | 2015-08-06 12:54:45 |
作者 | MirrgieRiana |
コミッター | MirrgieRiana |
add: mirrg/minecraft/itemstack/mir60
@@ -0,0 +1,15 @@ | ||
1 | +package mirrg.minecraft.itemstack.mir60; | |
2 | + | |
3 | +import net.minecraft.item.ItemStack; | |
4 | + | |
5 | +public class HItemStack | |
6 | +{ | |
7 | + | |
8 | + public static ItemStack copy(ItemStack src, int count) | |
9 | + { | |
10 | + ItemStack dest = src.copy(); | |
11 | + dest.stackSize = count; | |
12 | + return dest; | |
13 | + } | |
14 | + | |
15 | +} |