Nourish tags
This commit is contained in:
parent
155b2b2b21
commit
5f20079a30
4 changed files with 49 additions and 1 deletions
|
@ -0,0 +1,28 @@
|
|||
package ru.betterend.integration;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.tag.Tag;
|
||||
import ru.betterend.registry.EndItems;
|
||||
import ru.betterend.util.TagHelper;
|
||||
|
||||
public class NourishIntegration extends ModIntegration {
|
||||
public NourishIntegration() {
|
||||
super("nourish");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void register() {
|
||||
Tag.Identified<Item> fats = getItemTag("fats");
|
||||
Tag.Identified<Item> fruit = getItemTag("fruit");
|
||||
Tag.Identified<Item> protein = getItemTag("protein");
|
||||
Tag.Identified<Item> sweets = getItemTag("sweets");
|
||||
|
||||
TagHelper.addTag(fats, EndItems.END_FISH_RAW, EndItems.END_FISH_COOKED);
|
||||
TagHelper.addTag(fruit, EndItems.SHADOW_BERRY_RAW, EndItems.SHADOW_BERRY_COOKED, EndItems.BLOSSOM_BERRY, EndItems.SHADOW_BERRY_JELLY, EndItems.SWEET_BERRY_JELLY);
|
||||
TagHelper.addTag(protein, EndItems.END_FISH_RAW, EndItems.END_FISH_COOKED);
|
||||
TagHelper.addTag(sweets, EndItems.SHADOW_BERRY_JELLY, EndItems.SWEET_BERRY_JELLY);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addBiomes() {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue