Started by
R_XclusiveNL
on
Topic category: Help with Minecraft modding (Java Edition)
Is there a way to Turn on and off a abillity? Lets say i have a tool that breaks a 3x3 area, on the trigger
''When block destroyed with tool'' and i want to turn that off or on. Can that be done with a ''when right clicked in air'' trigger procedure?
I would love to get some help with this.
yes, make it with Item NBT Logic Tags True/False
and when right clicked in air it turns to False
etc etc
Finally works tysm
When i try to add a send message to player, it just makes the whole procedure not work anymore.. any reason for this to happen?
the procedure's dependencies might not work with entity. can you show us the procedure with a screenshot?
I made a bit of a diffrent version than logic nbt tags
I wanted this procedure to work also like this: If there is feather falling 4 on diamond boots, and you upgrade to netherite boots with the abillity feather falling X ( No fall dmg ) (on boots tick) it would remove the feather falling 4 enchantment itself and leave you with the feather falling X
This also works with right click to enable/disable an enchantment.
But yeah this is the procedure i used https://prnt.sc/1uwwnaz
your basically telling minecraft: if my item has enchantment TYPE = false, add it to it. but if it has enchantment TYPE = true, remove it
Yeah thats for the on/off thing. I'd have to remove the top (if - do) and then a message ''saying ''removed FF4 because you have this as boots abillity'' i mean it would be pointless to have 2x feather falling 4
https://i.gyazo.com/069068aa64ec18ac5871059110f0e4ec.mp4 this basically
so you want to remove/add when right clicked?
Yeah and it works fine, but once i add a send message block like this https://prnt.sc/1uwzhe3
It just makes the whole procedure not work at all wich makes me confused as hell
could you send a screenshot of the triggers? on the procedure and on the armor editor
I mean dependencies
Screenshots of the message that i had for boots? im confused lol
no like, screenshot of the dependencies. basically take a full screenshot of the procedure