Add a checkbox to make item look as if enchanted

Published by FlashFyre on Mon, 02/26/2018 - 18:03
Upvotes: 1
Issue description

The code for this one has been around for a while now, but it would still be better overall if this was added to MCreator.

Make sure to import this:
import net.minecraftforge.fml.relauncher.SideOnly;

Add this directly under the 3rd last curly bracket:
          @SideOnly(Side.CLIENT);
          public boolean hasEffect(ItemStack par1ItemStack)
          {
          return true;
          }

 

Issue comments

Thanks for this suggestion. We will consider adding this.