Added Distillation tower. Closes #884

This commit is contained in:
drcrazy 2017-10-16 15:52:10 +03:00
parent 4c8a9fb7e8
commit 7d7340111d
20 changed files with 826 additions and 14 deletions

View file

@ -24,12 +24,16 @@
package techreborn.blocks.advanced_machine;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World;
import prospector.shootingstar.ShootingStar;
import prospector.shootingstar.model.ModelCompound;
import reborncore.api.tile.IMachineGuiHandler;
import reborncore.common.blocks.BlockMachineBase;
import techreborn.client.EGui;
import techreborn.client.TechRebornCreativeTab;
import techreborn.lib.ModInfo;
import techreborn.tiles.multiblock.TileDistillationTower;
public class BlockDistillationTower extends BlockMachineBase {
@ -38,9 +42,19 @@ public class BlockDistillationTower extends BlockMachineBase {
setCreativeTab(TechRebornCreativeTab.instance);
ShootingStar.registerModel(new ModelCompound(ModInfo.MOD_ID, this, "machines/tier2_machines"));
}
@Override
public TileEntity createNewTileEntity(final World world, final int meta) {
return new TileDistillationTower();
}
@Override
public IMachineGuiHandler getGui() {
return null;
return EGui.DISTILLATION_TOWER;
}
@Override
public boolean isAdvanced() {
return true;
}
}