- Import `Commands.literal`
- Use more readable syntax for Brigadier command
- Use `DyeColor` directly instead of toString -> fromString everywhere
- Also updates `WoolTool` to use the new `HopperCounter` getter that supports it
- Split `resetCounter` in two, one for single and one for all
Also: HopperCounter now uses `.overworld()` and its `//OW` comments are removed
- Use `overworld()` instead of `getLevel(Level.OVERWORLD)` when convenient
- Remove now unnecessary `// OW` comments, from when it had no mappings
- Make spawn chunk size and light batches not depend on global server instance
- Merge all spawn chunk size logic into SpawnChunks instead of methods in the validator
- Remove unneeded `withWorld(OVERWORLD)` with just-created server `CommandSource`s
- Use enhanced for in light batch application
* Small cleanup to `/player` command
There should be no changes to users
* Use extracted `source` variable
* Inline another single-use small function
* Inline another trivial helper
* Import inner classes of the ActionPack
* Rename `literalargumentbuilder` variable
* Compact unnecessary three lines into one
* Inline `source.getServer` and pass `Vec3` to `createFake`
This gets outside of "just" the command, but it's fine
* Unpick name length constant
* Pass `Vec3` directly to `BlockPos.containing`
* shadow-single-player-owner-fix:
* Disallow shadowing a single player server owner. Fixes#1442
* shadow-single-player-owner-fix:
* Remove some redundant calls
* fake-players-teleporting-fix:
* Fix fake players not being moved on the chunkmap when teleporting
* Fixes#1190 (Player bots cannot be teleported to unloaded chunks)
* fake-players-teleporting-fix:
* add missing access widener
* Revert "fake-players-teleporting-fix:"
This reverts commit 617702fca14035913103140d2e04fa33065bf628.
* fake-players-teleporting-fix:
* access awaitingTeleport in a nicer way
* fake-players-teleporting-fix: * access awaitingTeleport in a nicer way