Disable item glow when enchanted

Published by La Geneze on Sun, 05/10/2020 - 11:47
Upvotes: 2
Issue description

Hello. I have a problem. I would like to create Platinium object (weapons, armor, tools, etc) and Supreme Platinium object (weapons, Armor, tools etc). The differences of this two type is the craft (Platinium object is made with ingots of Platinium and stick and the Supreme Platinium object is made with Block Of Platinium and Platinium stick), the effect (little enchantment like Sharpness III in the Platinium object and Big enchantment like Sharpness V in the Supreme Platinium object) and the glow enchantment effect (Platinium object is not glowing but Supreme Platinium is glowing (like enchantment)).

To put directly the Enchantment in the object, I use procedural : "If the object is in the hand, put some Enchantment on the object and put some potion effect". Or, automatically, if there are enchantment in an object, Minecraft put a glowing enchantment effect on the object. Or I would'nt like, for a Platinium object, a glowing enchantment effect but I would like a glowing enchantment effect for the Supreme Platinium object.

If you have the solution for my problem, Can you help me ? But if you don't have a solution, Can you put in procedural the option "Desactivate/activate glowing enchantment effect" please ?

 

Thank you very mush to reading this message,

Have a nice day.

PS : Platinium object and Supreme Platinium object can not be enchanted with Enchantment Table.

Issue comments

To put directly the Enchantment in the object, I use procedural : "If the object is in the hand, put some Enchantment on the object and put some potion effect". Or, automatically, if there are enchantment in an object, Minecraft put a glowing enchantment effect on the object. 

So this works or not? I am a bit confused about how I should assist you.

For the object in Platinium, I would like to put an enchantment (that work) but I would'nt like a glowing enchantment effect.

So, what I would like to do : delete the glowing enchantment effect while maintaining the enchantments on the object.

Is that possible ?

Sorry for my english ^^' : I'm French.

Have a nice day :)

Not in MCreator yet. Reopening as a feature request.

@Override public boolean hasEffect(ItemStack stack) {
    return false;
}

This is the method needed to be overridden in Item class to do this.

Sorry but I'm new in MCreator si where can I put this line code precisely please ?

If you do not know Java, I suggest to wait until this is added.

This is the method needed to be overridden in Item class to do this.

Ok thank you.  I think I found where I put the line code. I have an other question. How Can I create a Platinium Fishing Rod, who grab an ennemys (player, mob or creatures) and, instantly, bring towards itself please ?

How Can I create a Platinium Fishing Rod, who grab an ennemys (player, mob or creatures) and, instantly, bring towards itself please ?

That is support request and belongs on forums

Ok. And is it possible to make an emote system (like Fortnite x) ) ?



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.