Infusion enchantment books

This commit is contained in:
Aleksey 2021-01-03 16:04:58 +03:00
parent 2e56feec93
commit 479f506ca8
9 changed files with 586 additions and 12 deletions

View file

@ -0,0 +1,23 @@
package ru.betterend.item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.Rarity;
import ru.betterend.patterns.Patterns;
import ru.betterend.registry.EndItems;
public class EnchantedPetal extends PatternedItem {
public EnchantedPetal() {
super(EndItems.makeItemSettings().rarity(Rarity.RARE).maxCount(16));
}
@Override
public boolean hasGlint(ItemStack stack) {
return true;
}
@Override
public String getModelPattern(String name) {
return Patterns.createJson(Patterns.ITEM_GENERATED, "item/hydralux_petal");
}
}