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
altrisi and manyrandomthings
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
gnembon
85f7c64847
fixed use of client side classes in shape dispatcher
2023-01-31 21:54:34 +01:00
vlad2305m
d49be89e23
Do not load clientside-only classes in serverside ShapeDispatcher code ( #1642 )
...
fixed use of client side classes in shape dispatcher
2023-01-31 21:39:37 +01:00
gnembon
2133675ac7
renamed sample_density with 'sample_noise'. sample noise values directly from the local router if possible.
2023-01-30 18:02:08 +01:00
gnembon
659f0106e3
renamed compute_density_function with 'sample_density' and tweaked its use
2023-01-28 19:51:13 +01:00
gnembon
ea88c09c42
cached access to worldgen noise functions
2023-01-28 19:20:44 +01:00
Crec0
f2c658bf03
Add compute_density_function to replace removed `sample_noise ( #1591 )
2023-01-25 17:08:36 +01:00
gnembon
a95622e749
22w04a
2023-01-24 21:52:01 +01:00
altrisi
889e3b6999
Replace usages of j.u.Stack with fastutil's
...
Java's is synchronized everywhere, reducing performance given we don't need it to be. It's recommended to use `Deque` as a replacement, but given we have fastutil's, we use those
Closes #1640
2023-01-24 13:46:53 +01:00
altrisi
fb7b1f79a5
Fix unchecked removal of commands by app name
2023-01-23 22:19:07 +01:00
altrisi
1eb25ba1b5
Improve unexpected java exception in scarpet error slightly
2023-01-20 18:53:26 +01:00
altrisi
583a372ba4
Migrate Context usage from recently merged PR
2023-01-20 18:09:15 +01:00
Ghoulboy
811b330446
Adding system_info('world_min_spawning_light') ( #1475 )
2023-01-20 14:01:37 +01:00
altrisi
914e129f6e
Merge particle caches ( #1528 )
...
* Merge particle caches
* Reset this cache on world reload
2023-01-20 13:56:16 +01:00
altrisi
3050a82b96
Replace one missed usage
...
It was also using the copy-constructor, so this way it should also be more efficient
2023-01-19 01:47:33 +01:00