Pokechu22
Pokechu22
It's a more general thing. MC itself defines more specific versions to work around that and statically imports those instead: ``` public static LiteralArgumentBuilder literal(String name) { return LiteralArgumentBuilder.literal(name); }...
https://wiki.vg/Command_Data says: > When including redirects, this structure is a directed graph that may include cycles (e.g. consider `/execute run execute run execute ...`). When excluding redirects, the structure no...
Good idea, though if I recall correctly the main Minecraft codebase uses `Locale.ROOT` instead of `Locale.ENGLISH` for this purpose.
Saying "the API is bad. Make a new API." is not in any way specific or constructive. > Just because it's done often doesn't mean it's good practice, or convenient...
According to [this random article I found](https://www.baeldung.com/junit-assert-exception), JUnit 5 has an `assertThrows` that returns the exception if a matching one is found (and fails otherwise), which is probably the ideal...
I feel like it might be better to use something like [`Character.isAlphabetic`](https://docs.oracle.com/javase/8/docs/api/java/lang/Character.html#isAlphabetic-int-) (or `isLetter` or `isLetterOrDigit`, or one of the identifier-related methods). Hardcoding individual languages seems like it might get...
I feel like `isAt` isn't the best name for this (`at` makes me think of an index, not a character); maybe `nextIs` or something like that would be better?
I think this is intended. The intention of changing the cursor position is so that the cursor is at the position where the issue is; for e.g. the case where...
Yes; look into the schematica plugin (I don't remember the exact name of it). There's a plugin message system you can use to enable/disable the printer, among other things.
You can specify the state; it should be visible in F3. Try `/schematicaReplace wool[color=red] wool[color=blue]` and similar.