Continue the great refactor of mid 2017 (A lot of stuff still broken, it's a WIP)

This commit is contained in:
Prospector 2017-06-14 08:56:09 -07:00
parent 1fa9f1cf52
commit 40e3062903
123 changed files with 1469 additions and 1486 deletions

View file

@ -40,13 +40,13 @@ import net.minecraftforge.fml.relauncher.Side;
import net.minecraftforge.fml.relauncher.SideOnly;
import reborncore.common.powerSystem.PowerSystem;
import techreborn.init.ModBlocks;
import techreborn.tiles.TileAesu;
import techreborn.tiles.TileAdjustableSU;
import java.util.List;
public class ItemBlockAesu extends ItemBlock {
public class ItemBlockAdjustableSU extends ItemBlock {
public ItemBlockAesu(Block p_i45328_1_) {
public ItemBlockAdjustableSU(Block p_i45328_1_) {
super(p_i45328_1_);
}
@ -73,7 +73,7 @@ public class ItemBlockAesu extends ItemBlock {
// y, z, metadata);
}
if (stack != ItemStack.EMPTY && stack.hasTagCompound()) {
((TileAesu) world.getTileEntity(pos))
((TileAdjustableSU) world.getTileEntity(pos))
.readFromNBTWithoutCoords(stack.getTagCompound().getCompoundTag("tileEntity"));
}
return true;

View file

@ -26,13 +26,13 @@ package techreborn.itemblocks;
import net.minecraft.block.Block;
import reborncore.common.itemblock.ItemBlockBase;
import techreborn.blocks.BlockMachineFrame;
import techreborn.blocks.BlockMachineFrames;
import techreborn.init.ModBlocks;
public class ItemBlockMachineFrame extends ItemBlockBase {
public class ItemBlockMachineFrames extends ItemBlockBase {
public ItemBlockMachineFrame(Block block) {
super(ModBlocks.MACHINE_FRAMES, ModBlocks.MACHINE_FRAMES, BlockMachineFrame.types);
public ItemBlockMachineFrames(Block block) {
super(ModBlocks.MACHINE_FRAMES, ModBlocks.MACHINE_FRAMES, BlockMachineFrames.types);
}
}