This was to complicated, going to make it simpler
This commit is contained in:
parent
314a9637b7
commit
bb58ae8632
12 changed files with 4 additions and 219 deletions
|
@ -1,32 +0,0 @@
|
|||
package techreborn.multiblocks;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import techreborn.api.multiblock.BaseMultiBlock;
|
||||
import techreborn.init.ModBlocks;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class MultiBlastfurnace extends BaseMultiBlock {
|
||||
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return "BlastFurnaceMultiBlock";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean checkIfComplete() {
|
||||
return getController().getWorldObj().getBlock(getController().xCoord, getController().yCoord + 1, getController().zCoord) == ModBlocks.MachineCasing;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public List<TileEntity> getTiles() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void recompute() {
|
||||
setIsComplete(checkIfComplete());
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue