Add a checkbox to make item look as if enchanted

Published by FlashFyre on
Status
Fixed
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