I just copied and adapted the examples on the forum page. Despite the documentation, I don't understand exactly how to tell the server that I have pressed the button and how the server can then call the function
I found the problem, it is a file from the forge libraries. Specifically, the file is found in the path of:
.minecraft / libraries / cpw / mods / bootstraplauncher / 0.1.17 / bootstraplauncher-0.1.17.jar
I don't have internet, so I haven't the resources to fix it, but if you could contact someone responsible for forge, comment that it is necessary to specify a module with the asm library that is included, precisely it does not recognize the module belonging to the library asm-commons-9.1.jar:
.minecraft / libraries / org / ow2 / asm / asm-commons / 9.1 /
I don't know if it has to do with adding the asm libraries to the ignore list or something else.
U can call me Nitro119