Additional Blocks and Items registry helpers
This commit is contained in:
parent
09f5cd60fa
commit
ee77b07561
7 changed files with 22 additions and 13 deletions
|
@ -39,6 +39,8 @@ import ru.betterend.item.material.EndToolMaterial;
|
|||
import ru.betterend.item.tool.EndHammerItem;
|
||||
import ru.betterend.tab.CreativeTabs;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class EndItems extends ItemsRegistry {
|
||||
// Materials //
|
||||
public final static Item ENDER_DUST = registerEndItem("ender_dust");
|
||||
|
@ -127,6 +129,10 @@ public class EndItems extends ItemsRegistry {
|
|||
super(creativeTab);
|
||||
}
|
||||
|
||||
public static List<Item> getModItems() {
|
||||
return getModItems(BetterEnd.MOD_ID);
|
||||
}
|
||||
|
||||
public static Item registerEndDisc(String name, int power, SoundEvent sound) {
|
||||
return getItemRegistry().registerDisc(name, power, sound);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue