Commit Graph
2938 Commits
Author SHA1 Message Date
altrisi 5374d5b5ab Don't check writable in CarpetRulePrinter
Turns out that means the file has to exist, and messes with Carpet Extra's printer
2023-07-25 21:17:05 +02:00
Calvineries 4c134cc88a Create fr_fr.json (#1741) 2023-07-07 12:10:02 +02:00
altrisi db2023f5b9 Move app store validator to CarpetSettings 2023-06-26 18:44:15 +02:00
altrisi 177179b70a Don't use getPlayerOrException in CarpetScriptHost 2023-06-26 18:33:20 +02:00
altrisi a8fedc37e4 Refactor unnecessary Stream->List in /track suggestions 2023-06-26 18:19:43 +02:00
altrisi cce52f3ed1 Include app name in deprecation warnings (#1750) 2023-06-26 17:59:57 +02:00
altrisi 22f31a7b51 Clean up translation file loading 2023-06-22 16:20:43 +02:00
altrisi 01bec472ea Fix syntax error in pt_br language file 2023-06-22 16:12:59 +02:00
altrisi 7f6f92d0ee Add note about non-api field being used in Carpet Extra 2023-06-19 20:41:27 +02:00
James McCulloch 9ca4e9538f shadow-player-reconnect-fix (#1686)
* if a bot is kill()ed for a duplicate login, handle the disconnect immediately, Fixes #1468
2023-05-24 14:38:48 +02:00
James McCulloch aeb68e9ba0 Fake player portal fix (#1724)
* fake-player-portal-fix:
* Fix the teleport fix, so it doesn't crash when bots go through nether portals (Fixes #1712)

* fake-player-portal-fix:
* Re-implement fix for #1190
* Without causing #1712
* Just move the bot on the chunkmap directly.
2023-05-24 14:24:03 +02:00
gnembon e28f52171f 1.20-pre5 2023-05-23 18:25:09 +02:00
gnembon f15a0eabf7 null level fixes #1703 2023-05-19 08:01:07 +02:00
gnembon e140a5ddb0 send tick info with client level data 2023-05-19 00:45:27 +02:00
gnembon b744956777 fixed server only issues, properly separated client / server logic in common class. 2023-05-18 14:19:26 +02:00
gnembon c6f52b3293 retire static TickSpeed. Use Server and Client synchronization agents. 2023-05-17 21:20:00 +02:00
gnembon 044c66388a 1.20-pre2 2023-05-16 21:16:09 +02:00
gnembon 344b0a5b7c /info command now requires gamemasters permissions to request info from unloaded chunks. 2023-05-16 21:03:59 +02:00
gnembon df786605c2 moar client-server tick speed separation 2023-05-16 10:35:40 +02:00
gnembon e0a3060339 tickspeed server - client separation. 2023-05-14 23:36:55 +02:00
gnembon 755ec1daa8 relight cleanup - think it works now. Little higher level, but that's what's needed. 2023-05-12 22:04:19 +02:00
gnembon fa0200c137 1.20-pre1 2023-05-10 21:12:15 +02:00
altrisiandmanyrandomthings 5759e23794 Fix integers operation results being downcasted to floating point
Co-authored-by: manyrandomthings <42223559+manyrandomthings@users.noreply.github.com>
2023-05-05 00:14:28 +02:00
gnembon cac97b5127 23w18a 2023-05-03 22:09:14 +02:00
gnembon 9cae675ede attempt to make the game no crash when resetting chunks. Lighting gonna get fixed later I presume 2023-05-03 21:50:37 +02:00
altrisiandmanyrandomthings 334f1060a5 Fix wrong zero padding of hex color in #1709
Found by manyrandomthings on #1715

Co-authored-by: manyrandomthings <42223559+manyrandomthings@users.noreply.github.com>
2023-05-01 14:45:12 +02:00
altrisi 773e8722ca Reuse Mojang's floor function in noise samplers 2023-05-01 14:04:49 +02:00
altrisi 68a447daf9 Don't use map color to check for wool color (#1708) 2023-04-27 18:07:23 +02:00
altrisi 1c4bcd682d Use DyeColor's textColor for hopper counters (#1709)
* Use `DyeColor`'s `textColor` for hopper counters

* Remove now unused `Material2DyeName` map in `WoolTool`
2023-04-27 18:06:57 +02:00
gnembon 07033af7dd 23w17a 2023-04-26 22:58:59 +02:00
altrisi 15b120f729 Encapsulate COUNTERS field in HopperCounter 2023-04-22 20:45:29 +02:00
altrisi f1205a4251 Make hoppers use the getter for HopperCounter in their mixin
And very minor cleanup in it
2023-04-22 20:41:12 +02:00
gnembon d68c252180 23w16a 2023-04-20 22:13:32 +02:00
gnembon 51fae27708 single argument print(foo) in player scoped apps will always target the player instance for chat message output. 2023-04-20 20:46:33 +02:00
gnembon c9b93e598a added two argument while loop because duh? 2023-04-20 14:26:40 +02:00
Ghoulboy 598ec82d02 Replace deprecated world_time() with system_info('world_time') (#1702) 2023-04-15 21:33:54 +02:00
altrisi 384bd37159 Remove unnecessary getPlayerOrException in TickCommand 2023-04-13 20:27:20 +02:00
altrisi 51f213fa15 Cleanup counter command (#1695)
- 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
2023-04-08 20:14:26 +02:00
altrisi 8cd60db5e4 Random cleanups to users of Level.OVERWORLD and reduce minecraft_server usage (#1697)
- 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
2023-04-08 20:01:30 +02:00
altrisi 17c2d601d2 Remove global server reference from Player_antiCheatDisabledMixin 2023-04-08 19:48:52 +02:00
altrisi 6b9e7aff3e Use List.of in EquipmentInventory
`Arrays.asList` isn't immutable, and `List.of` can be optimized slightly better, is more readable and also removes an import
2023-04-08 16:14:47 +02:00
altrisi a3762584f3 Use for loop for hopper counter info in HUDController 2023-04-08 16:12:38 +02:00
gnembon 1751f103f9 23w14a 2023-04-05 20:12:21 +02:00
gnembon 9a5c2d5fc3 deprecation of material(...), fix map_colour(...) 2023-04-05 20:09:52 +02:00
altrisi fdb0936df7 Remove deprecated log4j dependent methods in c.s.SettingsManager
And another one that is normally a bug to use, and a field that is
broken.

Enables `runtimeOnlyLog4j` in loom
2023-04-04 15:57:59 +02:00
altrisi cda7f791b7 Prioritize new Rule annotation when parsing if both are present 2023-04-03 21:58:16 +02:00
altrisi 50c22b6fe2 Log exceptions in notifyPlayersCommandsChanged
I want to remove this try-catch if possible, but don't know why it's
triggered
2023-04-03 21:47:30 +02:00
altrisi 3ae913c3e6 Use enhanced switch in CommandHelper 2023-04-03 21:42:44 +02:00
altrisi d85c23125f Add explicit deprecation SuppressWarnings for Gradle 2023-04-03 19:40:33 +02:00
altrisi 56e25a780c Missed call in 5fcfc7a 2023-04-03 19:19:31 +02:00