mirror of
https://github.com/GTNewHorizons/ThaumicTinkerer.git
synced 2026-10-25 20:32:29 +00:00
Co-authored-by: Martin Robertz <dream-master@gmx.net> Co-authored-by: boubou19 <miisterunknown@gmail.com>
52 lines
1.3 KiB
Java
52 lines
1.3 KiB
Java
package thaumic.tinkerer.common.item;
|
|
|
|
import net.minecraft.block.Block;
|
|
import net.minecraft.block.BlockSlab;
|
|
import net.minecraft.item.ItemSlab;
|
|
|
|
import thaumic.tinkerer.common.ThaumicTinkerer;
|
|
import thaumic.tinkerer.common.block.BlockWardSlab;
|
|
import thaumic.tinkerer.common.lib.LibBlockNames;
|
|
import thaumic.tinkerer.common.registry.ITTinkererItem;
|
|
import thaumic.tinkerer.common.registry.ThaumicTinkererRecipe;
|
|
import thaumic.tinkerer.common.research.IRegisterableResearch;
|
|
|
|
/**
|
|
* Created by Katrina on 14/04/2015.
|
|
*/
|
|
public class ItemWardSlab extends ItemSlab implements ITTinkererItem {
|
|
|
|
public ItemWardSlab(Block par1) {
|
|
super(
|
|
par1,
|
|
(BlockSlab) ThaumicTinkerer.registry.getFirstBlockFromClass(BlockWardSlab.class),
|
|
(BlockSlab) ThaumicTinkerer.registry.getBlockFromClass(BlockWardSlab.class, 1),
|
|
false);
|
|
}
|
|
|
|
@Override
|
|
public String getItemName() {
|
|
return LibBlockNames.WARD_SLAB;
|
|
}
|
|
|
|
@Override
|
|
public boolean shouldRegister() {
|
|
return false;
|
|
}
|
|
|
|
@Override
|
|
public boolean shouldDisplayInTab() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
public IRegisterableResearch getResearchItem() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public ThaumicTinkererRecipe getRecipeItem() {
|
|
return null;
|
|
}
|
|
}
|