Commit Graph

5896 Commits

Author SHA1 Message Date
themode
8f46913486 fix some jcstress files 2024-08-28 20:56:13 +02:00
themode
789befee31 Coordinate limit to prevent potential overflow 2024-08-26 06:12:50 +02:00
Lorenz Wrobel
b832db7764
Ability to get collision shape position from PhysicsResult (#2355)
* ability to get collision shape position from PhysicsResult
2024-08-26 00:11:29 +00:00
Lorenz Wrobel
a521c4e7cd
fix entity collisions (#2348) 2024-08-22 01:15:19 +00:00
iam
6b660a4e6a
Return directional information from entity collision (#2346) 2024-08-21 23:52:56 +00:00
iam
b05bfd9689
Move EntityCollisionResult to its own class (#2345)
* Move EntityCollisionResult to its own class
2024-08-21 22:08:03 +00:00
iam
b0b31d4664
Update API for swept entity <-> entity collisions (#2343)
* Update API for swept entity <-> entity collisions
2024-08-21 17:13:48 -04:00
Am Gone
480a7dcaa2
Fix entity position desync when spawned in an 8 block radius from world center (0,0,0) (#2299)
* fix: entity spawn pos desync

* Fix tests
2024-08-20 14:40:53 +00:00
themode
dd96c907d9 Convenient SECTION vec 2024-08-18 18:07:56 +02:00
Lorenz Wrobel
78f7cffbb3
fix bounding box intersection (#2335) 2024-08-18 11:49:17 +00:00
Lorenz Wrobel
29ad2b65c3
Generator fix #setRelative (#2336) 2024-08-18 13:46:31 +02:00
mworzala
f8b6eb0d0b
fix: banner pattern item nbt deserialization fails 2024-08-17 08:23:43 -04:00
themode
f3cc64032f Constant size packet queue 2024-08-17 12:35:00 +02:00
themode
4ef51eeed3 Reduce default keep alive kick to 15 seconds 2024-08-17 12:06:15 +02:00
themode
19c4b5d598 I love generators 2024-08-16 23:17:14 +02:00
GoldenStack
6c5cd6544e
Refactor EquipmentHandler (#2331) 2024-08-14 09:19:15 +02:00
iam
0651c4e401
fix pathfinding repathNode issue (#2330) 2024-08-14 04:28:25 +00:00
themode
d47db68950 Add nagle flag 2024-08-13 17:17:23 +02:00
AidanMars2
461c56e749
Revert "Improve collision performance (#2321)" (#2322)
This reverts commit f917ba1b9f.
2024-08-05 13:03:38 -04:00
xZeGoe
f917ba1b9f
Improve collision performance (#2321)
* Improve fastPhysics perfomance

* Re-add final to Vec
2024-08-05 05:21:28 -04:00
mworzala
7b180172ce
fix: send attribute base value not computed. 2024-08-01 11:19:25 -04:00
Aeltumn
96dbad809f fix: Round up total sectors in region file 2024-08-01 12:22:11 +02:00
mworzala
a1e1dbd8fe
fix: lower case click/hover action types 2024-07-28 17:50:47 -04:00
Matt Worzala
3f60070d56
Direct writer for Adventure components (#2306)
* feat: direct writer for adventure components

* chore: tests and fixes to score & translatable

* chore: explicitly use nbt serializer for reading so the dependency is obvious
2024-07-28 10:29:26 -04:00
mworzala
12794d4263
chore: Remove a bunch of Experimental annotations 2024-07-26 01:37:00 -04:00
mworzala
35e395e9b7
chore: bump data gen to fix light[level=0] emission value 2024-07-25 23:26:00 -04:00
TheMode
f53625f35b
fix attribute packet (#2305) 2024-07-25 16:46:56 -04:00
themode
7c121eee21 Remove static biome registry, simplify unit generation 2024-07-25 13:42:18 +02:00
TogAr2
247db8c0c6
Make loyalty level a byte (#2300) 2024-07-24 17:56:47 +00:00
Steank
1ef0e26da8
feat: add ability to clear modifiers from an AttributeInstance (#2296)
* feat: add ability to clear modifiers from an AttributeInstance, as well as get all AttributeInstances from LivingEntity

* chore: getAttributeInstances -> getAttributes, protect certain modifiers from being cleared by AttributeInstance#clearModifiers

* fix: call refreshCachedValue properly
2024-07-24 17:54:25 +00:00
GoldenStack
6406b369f5
Remove cursor items from individual inventories (#2294)
* Remove cursor items from individual inventories

* Remove unused method and re-add but deprecate old cursor methods

* Fix links and remove unused import
2024-07-24 13:51:16 -04:00
Steank
99ca16e263
feat: thread safety for AttributeInstance (#2297)
* feat: thread safety for AttributeInstance

* fix: refreshCachedValue now takes the new baseValue rather than reading from the field internally
2024-07-24 14:09:18 +00:00
AmGone_
9c8593d79c fix: node followers using the speed attribute base value instead of value + modifiers 2024-07-23 22:59:54 -04:00
mworzala
1f34e60ea6
chore: add cursor position to PlayerBlockPlaceEvent 2024-07-17 21:02:49 -04:00
mworzala
e5372fd779
fix: optional world pos in lodestone tracker item component (fixes #2270) 2024-07-16 20:07:21 -04:00
Steank
60a83fd39b
feat: allow changing the number of threads used by the server process ThreadDispatcher (#2268) 2024-07-16 08:23:14 -04:00
TogAr2
6fc64e3a5d
Call ItemUpdateStateEvent before clearing item use (#2258) 2024-07-15 13:52:11 -04:00
iam
7dd1792096
Fix biome sounds + particles (#2265)
* fix biome sounds + particles

* Fix tests
2024-07-13 12:23:32 -04:00
themode
6932647e24 Move entity meta map to MetadataHolder 2024-07-13 10:04:44 +02:00
TheMode
e4267c796d
MetadataHolder (#2263) 2024-07-13 05:34:29 +02:00
themode
7d43da919d Move all flags to ServerFlag 2024-07-12 16:18:30 +02:00
themode
345451f397 Remove Instance/PlayerUtils 2024-07-12 15:42:38 +02:00
themode
591d161821 Add getAndSetTag to TagWritable 2024-07-12 15:35:19 +02:00
themode
a68d13a995 get back jmh/jcstress 2024-07-12 15:23:07 +02:00
GreatWyrm
79716ab749 Fix NullPointer when changing equipment before checking attributes 2024-07-11 15:29:56 -04:00
mworzala
2be6f9c507
fix: geyser keepalive incompatibility 2024-07-10 16:18:30 -04:00
Samuel
40517df02f
Add Block::original so it's easier to compare by block type (#2255)
* Add Block::original so it's easier to compare by block type

* Requested changes
2024-07-10 14:20:44 +00:00
Samuel
c7efa827a5
Add a few useful methods to Direction (#2254) 2024-07-10 10:14:14 -04:00
Am Gone
fda23e4ea1
Fix chunk lighting optimization (#2244)
* Fix chunk lighting optimization

* Apply requested changes
2024-07-09 18:50:32 +00:00
mworzala
1903e8dff2
chore: enforce and document notnull chunk loader, add noop impl 2024-07-08 11:58:15 -04:00