The problem with creating a command

Started by Slaimhh on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 09:33, 14. Jun 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem with creating a command

An error occurs when running the code. I did it using chatgpt. Help me find the error in the code and fix it, please!

Code: https://pastebin.com/KW36eQ8g

Last seen on 22:44, 24. Jul 2024
Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error in your code is…
Fri, 12/15/2023 - 18:35

The error in your code is you used ChatGPT so almost the entire code is wrong. It's Java code and it looks like and real code, but it's Java code and not a usable code... all the names are wrong, the structure is wrong, the way of creating the command is wrong. Nothing is good.

Last seen on 09:33, 14. Jun 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's very sad. After all, I…
Fri, 12/15/2023 - 18:43

It's very sad. After all, I do not know Java. And not smart enough to do it using the constructor in MCreator :(