Created
May 29, 2014 19:13
-
-
Save theresajayne/9fdb8d4c600ac68d3f4a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package com.github.facman.blocks; | |
import net.minecraft.block.Block; | |
import net.minecraft.block.material.Material; | |
import net.minecraft.creativetab.CreativeTabs; | |
/** | |
* Created by Theresa on 28/05/2014. | |
*/ | |
public class ClaimBlock extends Block { | |
public ClaimBlock(int id, Material material){ | |
super(id,material); | |
setHardness(-1); //Make it unbreakable like bedrock | |
setStepSound(Block.soundMetalFootstep); | |
setUnlocalizedName("chunkClaimBlock"); | |
setCreativeTab(CreativeTabs.tabBlock); | |
setLightOpacity(1); | |
setTextureName("facman:claimblock"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment