Commit Graph

5906 Commits

Author SHA1 Message Date
TheMode
c24f3a5d99
Remove caffeine dependency from EventNode (#2375) 2024-09-05 00:15:56 +02:00
themode
4553d3c574 update dependencies 2024-09-04 02:13:47 +02:00
Kerman
f591566407
Implement Graph Cache in CommandManager (#2360) 2024-09-03 23:54:33 +00:00
themode
2d92fa6657 unused cache 2024-09-04 01:46:33 +02:00
TogAr2
61f7b61fa9
Add EquipmentSlot.BODY (#2325)
* Add EquipmentSlot.BODY

* EntityEquipmentPacket should now have 7 entries

* Simplify isHand check

* Fix tests

---------

Co-authored-by: Matt Worzala <35708499+mworzala@users.noreply.github.com>
2024-09-03 23:46:04 +00:00
TheMode
b1c34cc9d7
record namespace (#2374) 2024-09-04 01:09:35 +02:00
TheMode
5ec42c6ba9
Light cleanup (#2372) 2024-09-04 01:05:43 +02:00
TheMode
a3dec124aa
Use a single int for all block states (#2373) 2024-09-04 00:52:01 +02:00
TheMode
b1ad94cd1b
Make BoundingBox/ShapeImpl records (#2371) 2024-09-03 11:01:34 +02:00
themode
65f75bb059 clear remaining hephaistos usage 2024-08-28 21:01:41 +02:00
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