Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable item glow when enchanted #115

Closed
KlemenDEV opened this issue Sep 9, 2020 · 1 comment · Fixed by #162
Closed

Disable item glow when enchanted #115

KlemenDEV opened this issue Sep 9, 2020 · 1 comment · Fixed by #162
Labels
new feature New feature or request

Comments

@KlemenDEV
Copy link
Contributor

Migrated from: https://mcreator.net/tracker/issue/60749

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 ?

@KlemenDEV KlemenDEV added the new feature New feature or request label Sep 9, 2020
@userofbricks
Copy link
Contributor

userofbricks commented Sep 10, 2020

This could be done but I doubt through a singular procedure block. There is a specific Method used for an Items enchantment glint. and it returns true or false. You could create a procedure event for items that works in this Method and must return true or false otherwise this system will fail. Also this will most likely have to override the previous method making the item glint not work with any pre-existing vanilla behaviors. (unless a "super(...)"(coding term) procedure block is added that works with overridden Methods. This Block could theoretically work except its variables change greatly depending on what method is it being used in.

also I am thinking about taking this on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants