Posted December 5, 20213 yr public class SkyFire extends SwordItem { public SkyFire() { super(ModItemTier.LEGENDBLOCK, 10, -2.4F, new Item.Properties().tab(ModGroup.legendGroup).fireResistant()); ItemStack skyfire = new ItemStack(getSkyFire); CompoundNBT tag = new CompoundNBT(); tag.putString("lory","1"); skyfire.setTag(tag); }
December 5, 20213 yr Author Then how to do ? public void appendHoverText(ItemStack p_77624_1_, @Nullable World p_77624_2_, List<ITextComponent> p_77624_3_, ITooltipFlag p_77624_4_){ }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.