McJtyMods / InControl

Be In Control of Mob Spawns and others
MIT License
44 stars 16 forks source link

In Control/Fx Control Question #341

Open RoseRocketgit opened 1 year ago

RoseRocketgit commented 1 year ago

Version: 1.16.5 Forge

  1. Can In Control Use Mod Commands? In Control can use the /give and other vanilla commands but I wanted to use a command that came from a mod. For example Limited Lives /ll set @p 0 (that sets the number of deaths to 0). I wanted to use the Fx Control Right Click.json to set off the mod command. But hasnt been working I need help to see if I can get this to work for a revival system. Here's the code [ { "playerhelditem": "minecraft:nether_star", "block": "minecraft:player_head", "message": "You've Done Well Traveler", "ll set": "0", "count": ">1", "result": "allow" }, { "playerhelditem": "minecraft:netherite_apple", "block": "minecraft:player_head", "message": "Currently at 20 lives", "ll set": "0", "count": ">1", "result": "allow" } ]

  2. Also whenever I do the rightclick action it sends the messages TWICE. I tried to solve it using "count" but that didn't fix it either. How do I fix this problem? :)

McJty commented 1 year ago

To send a command you would need to use "command": "bla bla" but this is currently broken. I need to implement that in 1.18+

What is that "count" thing you're trying to do? Don't invent keywords. If it's not on the wiki then it doesn't exist. I need to check why the message appears twice though