From a900afc9fe72ca066be2de575102b7b81be28dd2 Mon Sep 17 00:00:00 2001 From: lc-1337 Date: Thu, 6 Nov 2025 22:09:04 +0200 Subject: [PATCH] fix extreme cell was stackable --- .../github/common/item/ItemFluidExtremeStorageCell.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/glodblock/github/common/item/ItemFluidExtremeStorageCell.java b/src/main/java/com/glodblock/github/common/item/ItemFluidExtremeStorageCell.java index e2329a10..f96487b9 100644 --- a/src/main/java/com/glodblock/github/common/item/ItemFluidExtremeStorageCell.java +++ b/src/main/java/com/glodblock/github/common/item/ItemFluidExtremeStorageCell.java @@ -1,5 +1,7 @@ package com.glodblock.github.common.item; +import java.util.EnumSet; + import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.world.World; @@ -9,6 +11,7 @@ import com.glodblock.github.common.Config; import com.glodblock.github.common.tabs.FluidCraftingTabs; import com.glodblock.github.loader.IRegister; +import appeng.core.features.AEFeature; import cpw.mods.fml.common.registry.GameRegistry; public class ItemFluidExtremeStorageCell extends FCBaseItemCell implements IRegister { @@ -17,6 +20,8 @@ public class ItemFluidExtremeStorageCell extends FCBaseItemCell implements IRegi public ItemFluidExtremeStorageCell(String name, long bytes, int perType, int totalTypes, double drain) { super(bytes, perType, totalTypes, drain); + this.setFeature(EnumSet.of(AEFeature.StorageCells)); + this.setMaxStackSize(1); setUnlocalizedName(name); this.name = name; setTextureName(FluidCraft.resource(name).toString());