Commit Graph
1482 Commits
Author SHA1 Message Date
gnembon 5a77da26d4 1.20.2-pre1 2023-09-05 22:15:44 +02:00
gnembon ed91bfe95d 23w35a 2023-08-30 21:58:54 +02:00
gnembon b197c5ec99 oups 2023-08-09 19:12:30 +02:00
gnembon 7ff55b2373 23w32a 2023-08-09 17:50:16 +02:00
gnembon 4421967093 fixed scoreboard scarpet API 2023-08-09 00:55:00 +02:00
gnembon c5e1a5a09e fixed scoreboardslot argument 2023-08-09 00:32:54 +02:00
gnembon 55a88c6cdc 1.4.113 on 23w31a, many regressions including modded networking, fake players, scoreboard api and more. 2023-08-03 12:33:49 +02:00
manyrandomthings b1cc289a49 Fix registry lists being randomized (#1774) 2023-07-28 14:23:59 +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 cce52f3ed1 Include app name in deprecation warnings (#1750) 2023-06-26 17:59:57 +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 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 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
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
altrisi 773e8722ca Reuse Mojang's floor function in noise samplers 2023-05-01 14:04:49 +02:00
gnembon 07033af7dd 23w17a 2023-04-26 22:58:59 +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
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 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
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
gnembon 4171f9b784 23w13a 2023-03-29 18:44:12 +02:00
gnembon f1586b3809 23w12a 2023-03-22 18:27:44 +01:00
replaceitem 8aae23c983 Fixed AnnotationParser not detecting USE_METHOD_NAME (#1677) 2023-03-15 14:46:31 +01:00
altrisi 0869cbb81c Move rule change event into a rule observer and outside the Java api
* Move rule change event into a rule observer, without exposing it

* Fix comment

* Fix formatting changes added by my IDE

Still trying to configure it to force correctly the new style

Also remove some finals
2023-03-08 21:31:34 +01:00
altrisi 06bdbdaed2 Add arithmetic shift, use logic shift in current right shift (#1670)
* Add arithmetic shift, use logic shift in current

* State that the MSBs will be cleared to zero in logic right shift
2023-03-08 21:26:27 +01:00
altrisi cc24f79d47 Allow scarpet function name to be different to annotated method name 2023-03-08 20:53:35 +01:00
altrisi 13882146fc Simplify app store rule cleaning 2023-03-08 16:41:43 +01:00
altrisi 883d887e11 Make OutputConverter.convert return Value
This is a breaking change, but there's only one use of the function on all github

The refactor also makes `register` take a function to `Value`, no one uses the one to `LazyValue` anyway. `registerToValue` is now deprecated
2023-03-08 14:07:50 +01:00
altrisi 93bec37dac Simplify and optimize bit roll operations
Suggested in #1666, ran many testing to check it gives the same results
2023-03-08 13:24:37 +01:00
gnembon 4c8e477f4b 1.19.4-pre1 2023-02-22 20:22:02 +01:00
gnembon 4d842ae382 not needed 2023-02-22 11:24:41 +01:00
gnembon 146573803c scarpet corountines idea 2023-02-22 02:33:03 +01:00
gnembon a295f81fa9 23w07a 2023-02-15 20:10:24 +01:00
gnembon 86a123d2f1 store rate limit prevention 2023-02-15 12:57:53 +01:00
gnembon 2ff1f4fb71 refactored nonscarpet references yeet 2023-02-11 01:33:23 +01:00
gnembon 41e33503fb 23w06a 2023-02-08 21:44:15 +01:00
gnembon 277872b33c warning cleanup 2023-02-08 21:13:15 +01:00
altrisi 5ab4a9e442 Document new and deprecated methods, catch exceptions 2023-02-08 21:13:14 +01:00
gnembon aea76d9764 removed static reference to server in annotation parser 2023-02-08 21:13:14 +01:00
gnembon 75d94b0570 cleanup of scarpet dependencies 2023-02-08 21:13:14 +01:00
gnembon fd93785fec added nonnull assertions 2023-02-05 12:56:06 +01:00
gnembon 15f99b3389 fixing mahusive JVM crash 2023-02-04 23:48:55 +01:00
gnembon 8f61271606 semi-auto cleanup 2023-02-04 13:26:21 +01:00