Added wind and water mill
This commit is contained in:
parent
efbf4c59bb
commit
d0392dabb8
7 changed files with 179 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
package techreborn.blocks.generator;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import reborncore.common.BaseTileBlock;
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.tiles.generator.TileWaterMill;
|
||||
|
||||
/**
|
||||
* Created by mark on 25/02/2016.
|
||||
*/
|
||||
public class BlockWaterMill extends BaseTileBlock {
|
||||
|
||||
public BlockWaterMill() {
|
||||
super(Material.iron);
|
||||
setUnlocalizedName("techreborn.watermill");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World worldIn, int meta) {
|
||||
return new TileWaterMill();
|
||||
}
|
||||
}
|
25
src/main/java/techreborn/blocks/generator/BlockWindMill.java
Normal file
25
src/main/java/techreborn/blocks/generator/BlockWindMill.java
Normal file
|
@ -0,0 +1,25 @@
|
|||
package techreborn.blocks.generator;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import reborncore.common.BaseTileBlock;
|
||||
import techreborn.client.TechRebornCreativeTab;
|
||||
import techreborn.tiles.generator.TileWindMill;
|
||||
|
||||
/**
|
||||
* Created by mark on 25/02/2016.
|
||||
*/
|
||||
public class BlockWindMill extends BaseTileBlock {
|
||||
|
||||
public BlockWindMill() {
|
||||
super(Material.iron);
|
||||
setUnlocalizedName("techreborn.windmill");
|
||||
setCreativeTab(TechRebornCreativeTab.instance);
|
||||
}
|
||||
|
||||
@Override
|
||||
public TileEntity createNewTileEntity(World worldIn, int meta) {
|
||||
return new TileWindMill();
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue