End Portal Recipe (Fabric)

End Portal Recipe (Fabric)

35.8k Downloads

Command blocks give error when trying to enchant!

AustinBryant opened this issue ยท 6 comments

commented

Information

Minecraft version: 1.16.3
Forge version: 1.16.3-34.1.0
Environment: Singleplayer / Multiplayer (Both)

Mod name: Enchanting Commands
Mod version: 1.3

Description

The commands work fine when executed by a player. However command block and command computers(CC tweaked) can't execute /ec enchant or /ec list.

Crash report

Does not crash, just returns invalid command. It appears in the auto fill. I have not made a mod in a while but it appears that it might not be added to a register for command blocks or it is not being passed through command blocks properly.

commented

If you need help managing mods I would not mind some extra work. I am a CS Major and I work part time R&D languages.

commented

Thanks for the report and the proposition, I'll keep it in mind! Do you have your debug log file? Does it show more information on the error?

commented
commented

Screenshot (4)
Screenshot (5)

The same command works when I run it from chat.

commented

Maybe the permission level for the /ec command is set to 3 or 4, whereas command blocks only get permission level 2, meaning that the command is unusable in command blocks due to insufficient permission.

commented

Version 1.5 makes the enchanting command compatible with command blocks. Thanks for opening the issue and using the mod!

https://www.curseforge.com/minecraft/mc-mods/enchanting-commands