mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
removed libraries
This commit is contained in:
parent
bdc0cd4292
commit
cbaf096edb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14
src/main/java/api/hbm/energy/IBatteryItem.java
Normal file
14
src/main/java/api/hbm/energy/IBatteryItem.java
Normal file
@ -0,0 +1,14 @@
|
||||
package api.hbm.energy;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IBatteryItem {
|
||||
|
||||
public void chargeBattery(ItemStack stack, long i);
|
||||
public void setCharge(ItemStack stack, long i);
|
||||
public void dischargeBattery(ItemStack stack, long i);
|
||||
public long getCharge(ItemStack stack);
|
||||
public long getMaxCharge();
|
||||
public long getChargeRate();
|
||||
public long getDischargeRate();
|
||||
}
|
||||
5
src/main/java/api/hbm/energy/IEnergyConsumer.java
Normal file
5
src/main/java/api/hbm/energy/IEnergyConsumer.java
Normal file
@ -0,0 +1,5 @@
|
||||
package api.hbm.energy;
|
||||
|
||||
public interface IEnergyConsumer {
|
||||
|
||||
}
|
||||
5
src/main/java/api/hbm/energy/IEnergySource.java
Normal file
5
src/main/java/api/hbm/energy/IEnergySource.java
Normal file
@ -0,0 +1,5 @@
|
||||
package api.hbm.energy;
|
||||
|
||||
public interface IEnergySource {
|
||||
|
||||
}
|
||||
@ -5,4 +5,4 @@ package com.hbm.interfaces;
|
||||
public @interface Spaghetti {
|
||||
|
||||
public String value();
|
||||
}
|
||||
}
|
||||
@ -440,13 +440,14 @@ public class Library {
|
||||
return power;
|
||||
}
|
||||
|
||||
//TODO: jesus christ kill it
|
||||
//TODO: jesus christ
|
||||
//Flut-Füll gesteuerter Energieübertragungsalgorithmus
|
||||
//Flood fill controlled energy transmission algorithm
|
||||
public static void ffgeua(int x, int y, int z, boolean newTact, ISource that, World worldObj) {
|
||||
Block block = worldObj.getBlock(x, y, z);
|
||||
TileEntity tileentity = worldObj.getTileEntity(x, y, z);
|
||||
|
||||
//TODO: transition multiblocks to use the XR mutliblock handler so this spaghetti trash becomes obsolete
|
||||
//Factories
|
||||
if(block == ModBlocks.factory_titanium_conductor && worldObj.getBlock(x, y + 1, z) == ModBlocks.factory_titanium_core)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user