Skip to content

Instantly share code, notes, and snippets.

@theresajayne
Created May 29, 2014 19:13
Show Gist options
  • Save theresajayne/9fdb8d4c600ac68d3f4a to your computer and use it in GitHub Desktop.
Save theresajayne/9fdb8d4c600ac68d3f4a to your computer and use it in GitHub Desktop.
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