Add some stuff, that does things
This commit is contained in:
parent
0ac86ff303
commit
1f59226e01
12 changed files with 102 additions and 13 deletions
|
@ -0,0 +1,30 @@
|
|||
package techreborn.itemblocks;
|
||||
|
||||
import me.modmuss50.jsonDestroyer.api.ITexturedItem;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import reborncore.RebornCore;
|
||||
import techreborn.client.TechRebornCreativeTabMisc;
|
||||
|
||||
/**
|
||||
* Created by Mark on 20/02/2016.
|
||||
*/
|
||||
public class ItemBlockRubberSapling extends ItemBlock implements ITexturedItem {
|
||||
|
||||
public ItemBlockRubberSapling(Block block) {
|
||||
super(block);
|
||||
setCreativeTab(TechRebornCreativeTabMisc.instance);
|
||||
setUnlocalizedName("techreborn.uuMatter");
|
||||
RebornCore.jsonDestroyer.registerObject(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureName(int damage) {
|
||||
return "techreborn:blocks/rubber_sapling";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxMeta() {
|
||||
return 1;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue