Skip to content

Commit

Permalink
Increase battery capacity for MEGA portable cells again
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Oct 16, 2022
1 parent e75144f commit 744f9a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/gripe/_90/megacells/item/MEGAPortableCell.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.Objects;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;

import appeng.items.tools.powered.PortableCellItem;

Expand Down Expand Up @@ -30,4 +31,14 @@ private static StorageTier makePortableTier(MEGATier tier) {
public ResourceLocation getRecipeId() {
return MEGACells.makeId("cells/portable/" + Objects.requireNonNull(getRegistryName()).getPath());
}

@Override
public double getChargeRate(ItemStack stack) {
return super.getChargeRate(stack) * 2;
}

@Override
public double getAEMaxPower(ItemStack stack) {
return super.getAEMaxPower(stack) * 8;
}
}

0 comments on commit 744f9a1

Please sign in to comment.