fix extreme cell was stackable

This commit is contained in:
lc-1337 committed 2025-11-06 22:09:04 +02:00
1 parent f876fe9ede
commit a900afc9fe
1 file changed
+5
@@ -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<ItemFluidExtremeStorageCell> {
@@ -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());