mirror of
https://github.com/GTNewHorizons/AE2FluidCraft-Rework.git
synced 2026-11-16 01:54:59 +00:00
add infinity water cell (#212)
* add infinity water cell * code improvement for water cell * code improvement for water cell 2 * changed Integer.MAX_VALUE to Integer.MAX_VALUE * 1000L for creative cells * code improvement for water cell 3 * changed value to Integer.MAX_VALUE * 1_000_000L for creative cells --------- Co-authored-by: Zereff06 <[email protected]>
This commit is contained in:
1 parent
402fdedf07
commit
5d2b8eec85
13 files changed
+212
-86
No files matched your search
@@ -11,6 +11,7 @@ import java.util.Map;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -431,6 +432,8 @@ public final class Util {
|
||||
|
||||
public static class FluidUtil {
|
||||
|
||||
public static final ItemStack water_bucket = new ItemStack(Items.water_bucket, 1);
|
||||
|
||||
public static void fluidTankInfoWriteToNBT(FluidTankInfo[] infos, NBTTagCompound data) {
|
||||
int i = 0;
|
||||
for (FluidTankInfo info : infos) {
|
||||
|
||||
Reference in new issue
Block a user