Started by
4nrMike
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to make a lightsaber mod, so my idea is when you right-click with the lightsaber in your hand it alternates to its other texture (either the activated texture or the deactivated one). Any idea on how to do this? Thanks!
It's really easy
just add an event so when you right click with the deactivated saber in hand, this will be removed from invetory and the activated one will be added (create a stack event)
The same when you have the activated one in hand
Thank you, this really helped!
just a little problem that's bothering me, Kane
the item is removed, but the item you receive is moved to the first empty space in your inventory, as if it was given to you (because it is)
do you know some way to create to states to an item, like metadatas?
set <item input> entities main hand
entities procedure tab
What do I do if I want the item to be spent?