How do you specify certain parameters in JAVA (Minecraft plugin development)?

package de.mateo161013.menuAPI; import de.mateo161013.menuAPI.listeners.InventoryListener; import org.bukkit.plugin.java.JavaPlugin; public final class MenuAPI extends JavaPlugin { @Override public void onEnable() { // Plugin startup logic getServer().getPluginManager().registerEvent(new InventoryListener(), ); } @Override public void onDisable() { // Plugin shutdown logic } } This was my code & after InventoryListener(), I want to specify this as parameter for plugin, but the…

Code with me client at IntelliJ IDEA Community is in Korean?

Hello, and good day. When I try to join a session using the Code with Me feature, the client starts in Korean. The problem is, I don't speak Korean, and I can't change it anywhere in the settings. According to Google, where people have a setting, I don't have it at all. I've tried navigating…

Why is the board displayed so strangely after the pawn movement?

I would be extremely grateful to each and every one of you if you could help me! Hello everyone, We've been tasked with implementing a very stripped-down version of the game of chess. That is, as my code currently stands, it's essentially complete in terms of functionality. However, two problems arise: First, in a JUnit…

Why does it only say "Symbol not found"?

Hello, I suddenly encountered a problem where I can no longer access any variables from the main class during compilation. The IDE still provides the usual suggestions and doesn't highlight anything in red. Only during compilation do the errors appear. The main class is located at scr/main/java/de/…/lobby/Lobby.java All other classes are located in ./lobby/…

Need help with functional and object-oriented programming?

As a CS student, I'm having a lot of trouble completing my weekly assignments. We've started learning Java and now Racket. I'd like to mention all my questions on this topic, since I don't have an admissions office at the university. What exactly is Racket? What do these if and for loops mean, and what…

Why does the IDE recognize some imports and not others?

Hello, I have the following problem. I'm importing the following (among other things) into my class: import javafx.scene.input.KeyEvent; import javafx.scene.input.KeyCode; And now my IDE tells me that KeyEvent works without issues, but KeyCode doesn't. It just can't find it. The strange thing is: When I run my code, KeyCode works, no errors appear, and the…

How can I adjust elements in my JavaFX program to the window size?

I want my labels to always be centered, regardless of the size of my window, and the left and right spacing to be the same. I'm using a BorderPane and an AnchorPane in the center? Should I use something else? I want my elements to constantly update/resize so they always adjust to the window size….