Commit Graph
979 Commits
Author SHA1 Message Date
DrPerkyLegit dd3d2f2c15 fix pgo error on msvc 2026-10-26 12:00:18 -04:00
DrPerkyLegit 748c959a88 fix banner patterns rendering improperly in guis 2026-10-26 11:52:38 -04:00
Anaël e7d819bd00 fix(render): fix item shadow caused by undefined behavior
* Replace byte cast with int8_t in Tesselator::normal()
* 4J calls this function with -1.0f as the first parameter sometimes, the previous cast caused it to become 0x00 and broke the shading in the inventory
* It was done a similar way on Vita, i just kanged it and made it more C++
2026-10-26 13:39:18 +01:00
Anaël cc19b00ce8 build: add initial PGO support and compile an initial profile
* When running with PGO enabled, the end dimension seems to crash for some reason
2026-10-26 13:39:17 +01:00
DrPerkyLegit c929dbb44a fix banner items not rendering alpha 2026-10-25 16:57:32 -04:00
Anaël 37e09526e5 bugfix (autosave): Fix autosaving
* The thread is created but Run() is never called
* Use the IUI version instead, the UI version is for Xbox 360
2026-10-25 14:54:52 +01:00
DrPerkyLegit 2ccaaa9efa backup point for new crafting table implementation 2026-10-23 23:00:51 -04:00
DrPerkyLegit e13a3b7478 updated brewing stand to require fuel, crafting broken till next commit cause of skin swap 2026-10-22 22:25:37 -04:00
DrPerkyLegit b3ac7b25be remove potion level bar 2026-10-22 21:58:13 -04:00
DrPerkyLegit 22b4c44699 update panorama 2026-10-22 21:30:44 -04:00
DrPerkyLegit c6ca1fb026 updated tutorial world, missing updated tooltips and such 2026-10-22 21:17:37 -04:00
DrPerkyLegit a61130d32c using latest dynamic buffer commit 2026-10-22 20:21:26 -04:00
DrPerkyLegit 7b817484aa optimization (renderer): apply frustum culling to an entity
based on existing patch: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/commit/784e7943ef0fe2ba1a2860a764ac0b7bfd42ef47
2026-10-22 19:43:56 -04:00
Anaël b780f4b5fd commands: Fix permissions and add op/deop commands
* tested against two clients on the same world
2026-10-23 01:08:47 +02:00
Anaël e3f9d90c5d QoL: port many commands from Java
setblock
fill
seed
xp
gamemode spectator
summon
effect
difficulty
spawnpoint
setworldspawn
kick
enchant
2026-10-23 01:08:47 +02:00
Anaël b3e518a78e MainMenu: Add build number to neoLegacy name 2026-10-23 01:08:47 +02:00
Anaël af1e7f4380 LevelRenderer: Rewrite the frustum culling algorithm
* Overhall the culling algorithm entirely
* Instead of testing the AABB's 8 vertices against each of the 6 frustum planes, the new implementation will select the AABB corner most likely to be outside of the plane using the plane's sign
* the selected corner is determined using the lookup table (K_CORNER_LUT) to avoid the 8 explicit plane evaluations
* Plane sign masks are pre-computed once per frame and reused when testing AABB
* And it is mostly useful by reducing the worst case number of plane evaluation from 48 per AABB to just 6 !
2026-10-23 01:08:47 +02:00
Anaël 99b4c7247b TileEntityRender: Apply culling to tile entities 2026-10-23 01:08:47 +02:00
DrPerkyLegit e4139dd5aa switch 4jlibs to new branch 2026-10-22 14:25:51 -04:00
DrPerkyLegit ef1845a987 missed crash patch, fixed compile error, misc
visual studio applied formatting to the cmake file, something about different line endings
2026-10-22 14:25:18 -04:00
Tranqlmao ff562d1644 TU46 Test content and patches
TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
2026-10-22 13:55:39 -04:00
DrPerkyLegit fe38de5404 fix ender dragon hit overlay, couldnt find another way 2026-10-08 09:56:26 -04:00
DrPerkyLegit 6dd5e86d0a tu44 parity: potion effects dont clear after leaving the end 2026-10-07 20:56:40 -04:00
DrPerkyLegit 6964afad9a fix world save options always using the first save for renaming, copying, and deleting 2026-10-07 20:04:46 -04:00
DrPerkyLegit 09b9bce14d attempt to fix crash during saving on world exit 2026-10-07 18:28:37 -04:00
Joud Kandeel 129a4b180f forcing the game to use the highest GPU perfrence 2026-09-29 20:29:29 +02:00
anael.rstandAnaël 5e43b64e1e fix: Set correct visual position for gamemode slider on load (#4186)
# What changed ?
Fix a bug where the visual position of the gamemode slider when loading an already existing world would always be '0' even if the gamemode string is correct and the in-game behaviour is correct too

# What was added ?
Someone most likely forgot a "SetSliderValue()" inside of the gamemode switch cases in UIScene_LoadMenu::tick()
Adding it fixes the bug.

---------

Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com>
Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4186
Co-authored-by: anael.rst <144+vistaslayer@noreply.neolegacy.dev>
Co-committed-by: anael.rst <144+vistaslayer@noreply.neolegacy.dev>
2026-08-24 20:35:44 +01:00
anael.rstandAnaël 7653ebd454 Tooltips: fix parity bug with elytra tooltip (#4183)
Fix a very small parity bug i encountered with the elytras.

# What changed ?
Add the 'Equip' tooltip on the elytras which seems to have been forgotten about

# What was added ?
Add the elytra_id to the big switch case in Minecraft.Client/Minecraft.cpp along with the armor pieces, refer to this issue: #4182 for future updates as a big refactoring is needed in this place.

---------

Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com>
Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4183
Co-authored-by: anael.rst <144+vistaslayer@noreply.neolegacy.dev>
Co-committed-by: anael.rst <144+vistaslayer@noreply.neolegacy.dev>
2026-08-24 20:34:50 +01:00
ACL c85b2a8740 fix: Armor swapping executed even when interacting with a block (#168)
(This PR fixes [this issue](https://discord.com/channels/1482443865754701868/1534141325904183336) from the Discord server: )

Previously, when holding a piece of armor and right-clicking an interactable block (furnance, crafting table, levers, etc.) the armor would be equipped to the player.
This isn't the expected behavior. The interacted block should suppress any held item functionality (if not crouched)

This PR adds the "bool blockHandled" variable to the "handleUseItem" function. If the player interact with an interactable block, the variable is set to true.
This variable can be used for future packets added in this function

Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/168
Co-authored-by: ACL <puffymono@gmail.com>
Co-committed-by: ACL <puffymono@gmail.com>
2026-08-08 16:58:45 +01:00
ACL a809e71d58 fix: Thrown eggs use snowball particles when hitting a block (#167)
Thrown eggs used snowball particles when hitting a block, there wasn't any code for the correct particles either.
I added the new egg particles and assigned them to the thrown egg entity.

Before:
![2026-08-07_20.09.22.png](/attachments/2d55ef32-3750-4825-b884-9a39a50e9bd8)

Now:
![2026-08-07_20.18.59.png](/attachments/d2b5571e-c121-44e2-a412-12d2a460f8d7)

Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/167
Co-authored-by: ACL <puffymono@gmail.com>
Co-committed-by: ACL <puffymono@gmail.com>
2026-08-08 16:56:00 +01:00
Fireblade 024e0ba28a feat: tu43 parity changes + fixes (#165)
Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/165
2026-08-03 01:08:51 +01:00
Fireblade 3ff2f52105 chore: bump version 2026-08-02 19:59:27 -04:00
Fireblade 518dd28029 fix: panorama path bug 2026-08-02 19:21:53 -04:00
Fireblade 69009916ef fix: dlc world music fading out to main menu 2026-08-02 19:08:14 -04:00
Fireblade 8d3e02bc1f feat: randomization-free landing particles 2026-08-02 18:11:23 -04:00
Fireblade f8a4de8afd fix: main menu music transition, tutorial keyboard images 2026-08-02 16:25:11 -04:00
Fireblade 432024f6ca fix: disable changing control presets when on keyboard and mouse 2026-08-02 15:34:42 -04:00
Fireblade a1eea81519 feat: creeper ignite tooltip 2026-08-02 15:11:42 -04:00
Fireblade 30d7291310 chore: update keyboard tooltips 2026-07-25 01:40:21 -04:00
Fireblade 306d1c9fb7 feat: new chunk load toggle
also fixes item frames / paintings in dlc worlds
2026-07-24 15:14:27 -04:00
Fireblade 261700ea8b feat: passive chunk loading 2026-07-24 03:25:30 -04:00
Fireblade 5a8b93829b feat: modern autosave 2026-07-23 22:22:43 -04:00
Fireblade a045d994fb feat: tu43 entity sounds, spawner fixes, and a 16x16 region toolset 2026-07-23 19:47:55 -04:00
Fireblade 1488469cb2 fix: translucent item rendering 2026-07-22 15:07:43 -04:00
Fireblade d41d82faa6 chore: finalize keyboard and mouse controls 2026-07-22 03:05:54 -04:00
Joud Kandeel b59e075247 fixed performance issue on debug builds by commenting out a commited code from the Smartcmd, I would assume that method worked fine on old update of LCE as it had a small amount of mobs in the game to save for every single tick, but as we introduce more mobs to neoLegacy that method becomes a bottle neck, and we dont really need it either in the game! 2026-07-21 13:26:06 +02:00
Fireblade 7baff55287 fix: key swap 2026-07-20 17:31:41 -04:00
Fireblade ca6e3585d0 chore: fix up keyboard tooltips 2026-07-20 17:23:25 -04:00
Fireblade cd64f5f52b feat: keyboard and mouse controls
fixes:
- unsafe string conversion
- fence gates not connecting to walls properly
2026-07-20 02:24:35 -04:00
DrPerkyLegitandDrPerkyLegit 18136070c1 Feat/gui enhancements (#54)
fix slider sounds
fix button sounds in settings page

---------

Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com>
Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/54
Co-authored-by: DrPerkyLegit <6+drperkylegit@noreply.neolegacy.dev>
Co-committed-by: DrPerkyLegit <6+drperkylegit@noreply.neolegacy.dev>
2026-07-19 15:42:27 +01:00