This commit is contained in:
GlodBlock committed 2022-05-11 21:38:30 +08:00
1 parent 19232b92e5
commit 226e977e85
9 files changed
+119 -4

No files matched your search

@@ -96,6 +96,10 @@ public class ItemBasicFluidStorageCell extends AEBaseItem implements IStorageFlu
}
}
public ItemStack getComponent() {
return component.stack(1);
}
@Override
public String getItemStackDisplayName(ItemStack stack) {
return I18n.format("item.fluid_storage." + this.totalBytes / 1024 + ".name");
@@ -323,4 +327,12 @@ public class ItemBasicFluidStorageCell extends AEBaseItem implements IStorageFlu
return this;
}
public ItemStack stack(int size) {
return new ItemStack(this, size);
}
public ItemStack stack() {
return new ItemStack(this, 1);
}
}
@@ -50,4 +50,12 @@ public class ItemPartFluidInterface extends Item implements IPartItem {
return 0;
}
public ItemStack stack(int size) {
return new ItemStack(this, size);
}
public ItemStack stack() {
return new ItemStack(this, 1);
}
}
@@ -50,4 +50,12 @@ public class ItemPartFluidPatternTerminal extends Item implements IPartItem {
return 0;
}
public ItemStack stack(int size) {
return new ItemStack(this, size);
}
public ItemStack stack() {
return new ItemStack(this, 1);
}
}