Fix compile
This commit is contained in:
parent
2d5d60be6b
commit
81f701477c
4 changed files with 7 additions and 6 deletions
|
@ -68,8 +68,8 @@ public class ContainerIDSU extends RebornContainer {
|
||||||
super.detectAndSendChanges();
|
super.detectAndSendChanges();
|
||||||
for (int i = 0; i < this.listeners.size(); i++) {
|
for (int i = 0; i < this.listeners.size(); i++) {
|
||||||
IContainerListener IContainerListener = this.listeners.get(i);
|
IContainerListener IContainerListener = this.listeners.get(i);
|
||||||
if (this.euOut != tile.output) {
|
if (this.euOut != tile.maxEnergy) {
|
||||||
IContainerListener.sendProgressBarUpdate(this, 0, tile.output);
|
IContainerListener.sendProgressBarUpdate(this, 0, tile.maxEnergy);
|
||||||
}
|
}
|
||||||
if (this.storedEu != (int) tile.getEnergy()) {
|
if (this.storedEu != (int) tile.getEnergy()) {
|
||||||
IContainerListener.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
IContainerListener.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
||||||
|
@ -83,7 +83,7 @@ public class ContainerIDSU extends RebornContainer {
|
||||||
@Override
|
@Override
|
||||||
public void addListener(IContainerListener crafting) {
|
public void addListener(IContainerListener crafting) {
|
||||||
super.addListener(crafting);
|
super.addListener(crafting);
|
||||||
crafting.sendProgressBarUpdate(this, 0, tile.output);
|
crafting.sendProgressBarUpdate(this, 0, tile.maxEnergy);
|
||||||
crafting.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
crafting.sendProgressBarUpdate(this, 1, (int) tile.getEnergy());
|
||||||
crafting.sendProgressBarUpdate(this, 2, (int) tile.getEuChange());
|
crafting.sendProgressBarUpdate(this, 2, (int) tile.getEuChange());
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,8 +2,9 @@ package techreborn.compat;
|
||||||
|
|
||||||
import reborncore.common.registration.RebornRegistry;
|
import reborncore.common.registration.RebornRegistry;
|
||||||
import reborncore.common.registration.impl.ConfigRegistry;
|
import reborncore.common.registration.impl.ConfigRegistry;
|
||||||
|
import techreborn.lib.ModInfo;
|
||||||
|
|
||||||
@RebornRegistry
|
@RebornRegistry(modID = ModInfo.MOD_ID)
|
||||||
public class CompatConfigs {
|
public class CompatConfigs {
|
||||||
@ConfigRegistry(config = "compat", category = "buildcraft", key = "ExpensiveQuarryRecipe", comment = "Buildcraft's quarry will require an advanced circuit and diamond drill if enabled")
|
@ConfigRegistry(config = "compat", category = "buildcraft", key = "ExpensiveQuarryRecipe", comment = "Buildcraft's quarry will require an advanced circuit and diamond drill if enabled")
|
||||||
public static boolean expensiveQuarry = true;
|
public static boolean expensiveQuarry = true;
|
||||||
|
|
|
@ -58,7 +58,7 @@ public class PacketIdsu extends SimplePacket {
|
||||||
@Override
|
@Override
|
||||||
public void execute() {
|
public void execute() {
|
||||||
if (!idsu.getWorld().isRemote) {
|
if (!idsu.getWorld().isRemote) {
|
||||||
idsu.handleGuiInputFromClient(buttonID);
|
// idsu.handleGuiInputFromClient(buttonID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,7 +53,7 @@ import java.util.List;
|
||||||
public class TileQuantumTank extends TileLegacyMachineBase
|
public class TileQuantumTank extends TileLegacyMachineBase
|
||||||
implements IInventoryProvider, IWrenchable, IListInfoProvider, IContainerProvider {
|
implements IInventoryProvider, IWrenchable, IListInfoProvider, IContainerProvider {
|
||||||
|
|
||||||
@ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankMaxStorage", comment = "Maximum amount of millibuckets a Quantum Tankcan store")
|
@ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankMaxStorage", comment = "Maximum amount of millibuckets a Quantum Tank can store")
|
||||||
public static int maxStorage = Integer.MAX_VALUE;
|
public static int maxStorage = Integer.MAX_VALUE;
|
||||||
// @ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankWrenchDropRate", comment = "Quantum Tank Wrench Drop Rate")
|
// @ConfigRegistry(config = "machines", category = "quantum_tank", key = "QuantumTankWrenchDropRate", comment = "Quantum Tank Wrench Drop Rate")
|
||||||
public static float wrenchDropRate = 1.0F;
|
public static float wrenchDropRate = 1.0F;
|
||||||
|
|
Loading…
Add table
Reference in a new issue