add infinity water cell

add infinity lava cell
This commit is contained in:
zy committed 2024-01-04 18:21:46 +08:00
1 parent d2c645524b
commit 2c005e13d6
11 files changed
+225 -86

No files matched your search

@@ -10,6 +10,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.ItemPotion;
@@ -499,7 +500,9 @@ public final class Util {
public static class FluidUtil {
private static final ItemStack glassBottle = new ItemStack(glass_bottle, 1);
public static final ItemStack glassBottle = new ItemStack(glass_bottle, 1);
public static final ItemStack water_bucket = new ItemStack(Items.water_bucket, 1);
public static final ItemStack lava_bucket = new ItemStack(Items.lava_bucket, 1);
public static ItemStack getPotion(FluidStack fs) {
if (fs == null) return null;