-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from TheIcyOne/master
update
- Loading branch information
Showing
20 changed files
with
183 additions
and
30 deletions.
There are no files selected for viewing
20 changes: 0 additions & 20 deletions
20
src/main/java/headfishindustries/civilisedideas/BlockOre1.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
src/main/java/headfishindustries/civilisedideas/block/BlockBonerock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
package headfishindustries.civilisedideas.block; | ||
|
||
import java.util.ArrayList; | ||
import java.util.Random; | ||
|
||
import cpw.mods.fml.common.Mod; | ||
import cpw.mods.fml.common.Mod.Instance; | ||
import headfishindustries.civilisedideas.CivilisedIdeas; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.BlockOre; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.init.Items; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockBonerock extends BlockOre{ | ||
|
||
public BlockBonerock() { | ||
super(); | ||
this.setHarvestLevel("pickaxe", 1); | ||
setBlockName("ci_rockBone"); | ||
this.setHardness(1.75F); | ||
this.setResistance(12.5F); | ||
setBlockTextureName("ci:rockBone"); | ||
} | ||
|
||
|
||
@Override | ||
public ArrayList<ItemStack> getDrops(World world, int x, int y, int z, int meta, int fortune){ | ||
ArrayList<ItemStack> drop = new ArrayList<ItemStack>(); | ||
drop.add(new ItemStack(Items.skull, world.rand.nextInt(2) + 1 + fortune, 0)); | ||
drop.add(new ItemStack(Items.bone, world.rand.nextInt(4) + 2 + fortune)); | ||
return drop; | ||
} | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
src/main/java/headfishindustries/civilisedideas/block/BlockRedrock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package headfishindustries.civilisedideas.block; | ||
|
||
import cpw.mods.fml.common.Mod; | ||
import cpw.mods.fml.common.Mod.Instance; | ||
import headfishindustries.civilisedideas.CivilisedIdeas; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.material.Material; | ||
|
||
public class BlockRedrock extends Block{ | ||
|
||
public BlockRedrock() { | ||
super(Material.rock); | ||
setBlockName("ci_rockRed"); | ||
setBlockTextureName("ci:rockRed"); | ||
this.setHarvestLevel("pickaxe", 1); | ||
this.setHardness(1.5F); | ||
this.setResistance(10.0F); | ||
this.setStepSound(soundTypeStone); | ||
} | ||
|
||
} |
46 changes: 46 additions & 0 deletions
46
src/main/java/headfishindustries/civilisedideas/block/BlockSlindWeed.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package headfishindustries.civilisedideas.block; | ||
|
||
import cpw.mods.fml.relauncher.Side; | ||
import cpw.mods.fml.relauncher.SideOnly; | ||
import headfishindustries.civilisedideas.CivilisedIdeas; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.BlockBush; | ||
import net.minecraft.block.BlockFlower; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.client.renderer.texture.IIconRegister; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.util.AxisAlignedBB; | ||
import net.minecraft.util.IIcon; | ||
import net.minecraft.world.World; | ||
|
||
public class BlockSlindWeed extends BlockBush { | ||
|
||
private IIcon icon; | ||
|
||
public BlockSlindWeed() { | ||
super(Material.plants); | ||
setBlockName("ci_flowerSlindWeed"); | ||
setHardness(0.2F); | ||
setStepSound(soundTypeGrass); | ||
setTickRandomly(false); | ||
setBlockBounds(0.05F, 0.0F, 0.1F, 1.0F, 0.3F, 1.0F); | ||
setBlockTextureName("ci:SlindWeed"); | ||
} | ||
|
||
@SideOnly(Side.CLIENT) | ||
public IIcon getIcon(int par1, int par2){ | ||
return this.icon; | ||
} | ||
|
||
@SideOnly(Side.CLIENT) | ||
public void registerBlockIcons(IIconRegister par1){ | ||
this.icon = par1.registerIcon("ci:slindWeed"); | ||
|
||
} | ||
|
||
@Override | ||
protected boolean canPlaceBlockOn(Block block){ | ||
return block == CivilisedIdeas.blockRedrock || block == CivilisedIdeas.blockBonerock || block == Blocks.grass || block == Blocks.dirt || block == Blocks.farmland; | ||
} | ||
|
||
} |
45 changes: 45 additions & 0 deletions
45
src/main/java/headfishindustries/civilisedideas/block/BlockWilliWeed.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
package headfishindustries.civilisedideas.block; | ||
|
||
import cpw.mods.fml.relauncher.Side; | ||
import cpw.mods.fml.relauncher.SideOnly; | ||
import headfishindustries.civilisedideas.CivilisedIdeas; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.block.BlockBush; | ||
import net.minecraft.block.BlockFlower; | ||
import net.minecraft.block.material.Material; | ||
import net.minecraft.client.renderer.texture.IIconRegister; | ||
import net.minecraft.creativetab.CreativeTabs; | ||
import net.minecraft.init.Blocks; | ||
import net.minecraft.util.IIcon; | ||
|
||
public class BlockWilliWeed extends BlockBush { | ||
|
||
private IIcon icon; | ||
|
||
public BlockWilliWeed() { | ||
super(Material.plants); | ||
setBlockName("ci_flowerWilliWeed"); | ||
setHardness(0.2F); | ||
setStepSound(soundTypeGrass); | ||
setTickRandomly(false); | ||
setBlockBounds(0.1F, 0.0F, 0.1F, 0.9F, 0.8F, 0.9F); | ||
setBlockTextureName("ci:WilliWeed"); | ||
} | ||
|
||
@SideOnly(Side.CLIENT) | ||
public IIcon getIcon(int par1, int par2){ | ||
return this.icon; | ||
} | ||
|
||
@SideOnly(Side.CLIENT) | ||
public void registerBlockIcons(IIconRegister par1){ | ||
this.icon = par1.registerIcon("ci:williWeed"); | ||
|
||
} | ||
|
||
@Override | ||
protected boolean canPlaceBlockOn(Block block){ | ||
return block == CivilisedIdeas.blockRedrock || block == CivilisedIdeas.blockBonerock || block == Blocks.grass || block == Blocks.dirt || block == Blocks.farmland; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
tile.ci_rockRed.name=Red Rock | ||
tile.ci_rockBone.name=Bone Rock | ||
tile.ci_flowerWilliWeed.name=Williweed | ||
tile.ci_flowerSlindWeed.name=Slindweed | ||
itemGroup.Hypovolemia=Hypovolemia |
Binary file added
BIN
+754 Bytes
src/main/resources/assets/ci/textures/blocks/Pizza_Blocks/rockBone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+598 Bytes
src/main/resources/assets/ci/textures/blocks/Pizza_Blocks/rockRed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+262 Bytes
src/main/resources/assets/ci/textures/blocks/Pizza_Blocks/slindWeed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+343 Bytes
src/main/resources/assets/ci/textures/blocks/Pizza_Blocks/williWeed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file renamed
BIN
+3.22 KB
...esources/textures/blocks/martianshiny.png → ...es/assets/ci/textures/blocks/rockBone.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.