mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 16:58:34 +01:00
Changed some energy item values around
This commit is contained in:
parent
dd7e522605
commit
309733f096
7 changed files with 13 additions and 13 deletions
|
@ -238,11 +238,11 @@ public final class InitItems{
|
|||
itemTeleStaff = new ItemTeleStaff("item_tele_staff");
|
||||
itemWingsOfTheBats = new ItemWingsOfTheBats("item_wings_of_the_bats");
|
||||
itemDrill = new ItemDrill("item_drill");
|
||||
itemBattery = new ItemBattery("item_battery", 1000000, 5000);
|
||||
itemBatteryDouble = new ItemBattery("item_battery_double", 2000000, 10000);
|
||||
itemBatteryTriple = new ItemBattery("item_battery_triple", 4000000, 15000);
|
||||
itemBatteryQuadruple = new ItemBattery("item_battery_quadruple", 8000000, 20000);
|
||||
itemBatteryQuintuple = new ItemBattery("item_battery_quintuple", 16000000, 25000);
|
||||
itemBattery = new ItemBattery("item_battery", 200000, 500);
|
||||
itemBatteryDouble = new ItemBattery("item_battery_double", 350000, 1000);
|
||||
itemBatteryTriple = new ItemBattery("item_battery_triple", 600000, 2000);
|
||||
itemBatteryQuadruple = new ItemBattery("item_battery_quadruple", 1000000, 4000);
|
||||
itemBatteryQuintuple = new ItemBattery("item_battery_quintuple", 2000000, 8000);
|
||||
itemDrillUpgradeSpeed = new ItemDrillUpgrade(ItemDrillUpgrade.UpgradeType.SPEED, "item_drill_upgrade_speed");
|
||||
itemDrillUpgradeSpeedII = new ItemDrillUpgrade(ItemDrillUpgrade.UpgradeType.SPEED_II, "item_drill_upgrade_speed_ii");
|
||||
itemDrillUpgradeSpeedIII = new ItemDrillUpgrade(ItemDrillUpgrade.UpgradeType.SPEED_III, "item_drill_upgrade_speed_iii");
|
||||
|
|
|
@ -61,7 +61,7 @@ public class ItemDrill extends ItemEnergy{
|
|||
private static final int ENERGY_USE = 100;
|
||||
|
||||
public ItemDrill(String name){
|
||||
super(500000, 5000, name);
|
||||
super(250000, 1000, name);
|
||||
this.setMaxDamage(0);
|
||||
this.setHasSubtypes(true);
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ import java.util.List;
|
|||
public class ItemFillingWand extends ItemEnergy{
|
||||
|
||||
public ItemFillingWand(String name){
|
||||
super(800000, 2000, name);
|
||||
super(500000, 1000, name);
|
||||
}
|
||||
|
||||
private static boolean removeFittingItem(IBlockState state, EntityPlayer player){
|
||||
|
|
|
@ -31,7 +31,7 @@ import java.util.List;
|
|||
public class ItemGrowthRing extends ItemEnergy{
|
||||
|
||||
public ItemGrowthRing(String name){
|
||||
super(1000000, 5000, name);
|
||||
super(1000000, 2000, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -25,7 +25,7 @@ import java.util.ArrayList;
|
|||
public class ItemMagnetRing extends ItemEnergy{
|
||||
|
||||
public ItemMagnetRing(String name){
|
||||
super(3000000, 5000, name);
|
||||
super(200000, 1000, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -40,7 +40,7 @@ public class ItemMagnetRing extends ItemEnergy{
|
|||
if(!items.isEmpty()){
|
||||
for(EntityItem item : items){
|
||||
if(!item.isDead && !item.cannotPickup()){
|
||||
int energyForItem = 350*StackUtil.getStackSize(item.getEntityItem());
|
||||
int energyForItem = 50*StackUtil.getStackSize(item.getEntityItem());
|
||||
|
||||
if(this.getEnergyStored(stack) >= energyForItem){
|
||||
item.onCollideWithPlayer(player);
|
||||
|
|
|
@ -28,7 +28,7 @@ import net.minecraft.world.World;
|
|||
public class ItemTeleStaff extends ItemEnergy{
|
||||
|
||||
public ItemTeleStaff(String name){
|
||||
super(500000, 10000, name);
|
||||
super(250000, 1000, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -26,7 +26,7 @@ import net.minecraft.world.World;
|
|||
public class ItemWaterRemovalRing extends ItemEnergy{
|
||||
|
||||
public ItemWaterRemovalRing(String name){
|
||||
super(1000000, 5000, name);
|
||||
super(800000, 1000, name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -38,7 +38,7 @@ public class ItemWaterRemovalRing extends ItemEnergy{
|
|||
EntityPlayer player = (EntityPlayer)entity;
|
||||
ItemStack equipped = player.getHeldItemMainhand();
|
||||
|
||||
int energyUse = 350;
|
||||
int energyUse = 150;
|
||||
if(StackUtil.isValid(equipped) && equipped == stack && this.getEnergyStored(stack) >= energyUse){
|
||||
|
||||
//Setting everything to air
|
||||
|
|
Loading…
Reference in a new issue