The problem with creating a command

Started by Slaimhh on

Topic category: Troubleshooting, bugs, and solutions

Active 4 months ago
Joined Dec 2023
Points:
138

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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

Active 1 week ago
Joined Aug 2016
Points:
3304

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2927
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.

Active 4 months ago
Joined Dec 2023
Points:
138

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
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 :(

What are you trying to…
Sun, 12/17/2023 - 10:26

What are you trying to achieve that is not possible with the commands in MCreator?