Commit Graph
101 Commits
Author SHA1 Message Date
Caedis 3f218a0bbe Expose SyncedKeybind keyCode (#155) 2025-07-04 19:39:13 +02:00
Caedis 46e4202479 Add support for mouse buttons in SyncedKeybinds (#154) 2025-07-02 11:07:09 -06:00
楓 275552fe04 Added hasValue function for Lazy (#148) 2025-06-19 11:10:01 +02:00
Alexdoru a68624401a add VolumeMembershipCheck (#146) 2025-06-10 22:07:43 -05:00
Caedis a28572fd53 Add contains method to SpatialHashGrid (#145) 2025-06-05 16:01:39 -05:00
Anonymagpieandah-OOG-ah fb238daf78 Add Z axis rotation to Variant & fix swapped XY axes (#141)
Co-authored-by: ah-OOG-ah <[email protected]>
2025-06-05 13:10:14 -04:00
kurrycat 6cb707ac25 Rework spatial hash grid (#143) 2025-06-05 09:28:44 -05:00
Caedis 6f99b32a0b Iterator impl + findFirst + findClosest (#139) 2025-06-03 17:50:57 +00:00
梅天佑 bc954a45b9 add close() to ShaderProgram to free resources (#140) 2025-06-01 01:20:11 +00:00
Caedis ec4d30f63e Update SpatialHashGrid findNearby (#138) 2025-05-26 12:29:40 -04:00
Caedis ff93dfa471 Extract out the distance methods to a static util class (#137) 2025-05-25 17:46:13 +00:00
Caedisandah-OOG-ah fe83032a2d Add Spatial Hash Grid Data Structure (#135)
Co-authored-by: ah-OOG-ah <[email protected]>
2025-05-25 15:49:54 +00:00
ah-OOG-ah af04614d26 Add convenience method to ObjectPooler (#130) 2025-05-12 10:29:12 -05:00
Raven Szewczyk 92afa3a1e0 Add 32-bit and 64-bit FNV-1a hash function utilities (#128) 2025-04-26 18:01:43 +01:00
6aa98f9891 Add functionality to fake blockId for shaders (#114)
Co-authored-by: Martin Robertz <[email protected]>
Co-authored-by: RecursivePineapple <[email protected]>
2025-04-21 19:34:32 +02:00
楓 631fe5d878 Backport callFromMainThread() and addScheduledTask() (#126) 2025-04-06 20:45:55 +02:00
Darren Eberly cbc77c890f New mixin infrastructure (#127) 2025-04-02 13:57:28 +02:00
楓 e64b7b0ab5 Added offset(int, int, int) and copy() for BlockPos (#125) 2025-03-27 13:58:39 -05:00
楓 2d24790c3e Make BlockPos modifications return BlockPos instead of IBlockPos (#124) 2025-03-20 11:44:54 +01:00
Raven Szewczyk 0e6c9590ea Add VAO utilities for easier core profile compatibility (#123) 2025-03-14 22:06:22 +00:00
Jason Mitchell 1181fcedde Updates for IStateStack (#120) 2025-03-11 15:19:26 -05:00
LyftandMaya 1c66f22a4b Move LoreHolder registration to a later init stage (#118)
Co-authored-by: Maya <[email protected]>
2025-03-05 15:47:22 +00:00
LyftandMaya ec37b0068e Notify client of servers view distance (#116)
Co-authored-by: Maya <[email protected]>
2025-03-05 15:43:44 +00:00
Mary ef32d751fd Add mixin to register LivingEquipmentChangeEvent (#117) 2025-03-05 01:29:26 -06:00
miozuneandRaven Szewczyk c70e7b9121 Introduce Capability system (#112)
Co-authored-by: Raven Szewczyk <[email protected]>
2025-02-16 14:03:02 +09:00
ah-OOG-ahandMaya 192b7c86ad Update the constant pool parser for Java 25 (#110)
Co-authored-by: Maya <[email protected]>
2025-02-04 23:24:33 -06:00
glowredman 5628efe9ab Add NEI Version Check (#109) 2025-02-04 23:18:19 -06:00
Maya 1e5903b6a1 Amend previous commit, don't set keyCode to -1 (#108) 2025-01-27 20:06:27 -06:00
Maya 1c4c92e5f0 Fix MC keybinding-backed synced keybind listeners (#107) 2025-01-27 19:30:41 -06:00
Raven Szewczyk 39d1bed635 Backport LWJGL3 memory utilities to enable more efficient ByteBuffer usage (#105) 2025-01-26 18:38:48 +00:00
Maya 656c98d84d Synced Keybinds API (#104) 2025-01-25 09:31:38 -06:00
Lyft 6af1528b03 Register config sync event bus in init (#103) 2025-01-19 18:40:46 +00:00
Lyft 2752dc6b1a Easily sync config values between server & client (#102) 2025-01-19 12:06:17 -06:00
glowredman 3fb62c5292 Automatic LoreHolder Discovery (#101) 2025-01-13 22:42:09 -06:00
RecursivePineapple 3580876f40 Add block/meta and item/meta pair classes (#98) 2025-01-09 14:58:06 +01:00
glowredman bdf4234b84 Add RenderTooltipEvent (#81) 2024-12-20 14:24:03 +01:00
Lyft 632c5a1419 Allow non-public subscribed methods in @EventBusSubscriber classes (#97) 2024-12-19 20:34:53 +01:00
Raven Szewczyk a97a445607 Add an interface for meta- and nbt-aware music disks to fix modded disk support in electric jukeboxes (#96) 2024-12-09 18:54:34 +00:00
Maya 0c6a16439f Move lore handler from intergalactic to gtnhlib (#92) 2024-11-28 15:23:20 -06:00
ah-OOG-ah e6e2f86005 Disable thread safety checks with FalseTweaks (#88)
Also adds an API to detect if the thread's tesselator is being captured.
2024-11-11 09:41:26 -08:00
Alexdoru b077a12f1e Add texture debug feature (#86)
enabled by using -Dgtnhlib.debugtextures=true
2024-10-27 14:15:48 +01:00
Alexdoru 21e7a5bf5d merge iih + mt hand command in one (#84)
* merge iih + mt hand command in one

* remove the nbt tag, it's included in the mt hand line below

* address review
2024-10-22 09:32:29 +02:00
LyftandMartin Robertz 3d6099bffd auto create config gui if no gui factory is registered (#79)
Co-authored-by: Martin Robertz <[email protected]>
2024-10-21 16:00:45 +00:00
Lyft 4ddb3e81e5 auto remove dead config categories/values from file (#78) 2024-10-21 17:37:56 +02:00
Alexdoru e12a874a96 add util to open files / urls on every OS (#83) 2024-10-18 00:45:00 +02:00
Lyft 28786c5f47 EventBusSubscriber improvements (#82)
* make @EventBusSubscriber able to work for earlier init phases & safe condition method invocation

* add some docs

* no need to sort this anymore
2024-10-12 19:29:59 +02:00
Lyft 2da1d6ff81 Backport @EventBusSubscriber annotation from 1.12.2 (#80)
* backport @EventBusSubscriber annotation from 1.12.2

* Cache events, safe method lookup, replace eventbus reflection with accessor

* ily spotless

* actual completely safe event registration this time with less reflection

* throw exception when encountering an unexpected non-static method

* oops that was too wide a net

* more logging for the transformer
2024-10-10 20:23:20 +02:00
Lyft 3bd8cb4c4b Add jvm flag to dump generated lang keys to file (#77)
* add jvm flag to dump generated lang keys to file

* where did the import go

* drop files in a folder instead
2024-10-03 19:51:18 +02:00
Lyft 96ce85fec0 make config enums ignore case (#76) 2024-10-03 18:11:20 +02:00
Glease ea50d8fa7f account for vanilla fluid blocks (#74) 2024-09-29 19:07:52 +00:00