not fully implemented yet. this is a solid start. i have to commit before i break something.
MojangsonParser: Parses strings in Mojangson format (the JSON variant Minecraft uses for commands) and converts them into NBT Tag objects.
PlayerSelector: Implements Minecraft selectors (@p, @a, @r, @e, @s) to filter entities based on criteria.
Supported clauses:
x,y,z - origin coordinates
r,rm - max/min radius (spherical distance)
dx,dy,dz - axis-aligned bounding box
c - number of entities to return
l,lm - player experience level
m - game mode (0=S,1=C,2=A,3=Spec)
name - exact entity name
type - entity type (with ! inversion support)
team - team (placeholder, not implemented)
rx,rxm,ry,rym - rotation (pitch/yaw)
nbt - NBT filter (first level only)
some of them not working yet. or have to be fixed, or misses something to implement.
* fix outdated fullscreenload & added a bool to check at startupfullscreen
* fix outdated methods & add back accidental deletes + debug things
* used old vars & added deleted showwindow & updatewindow
* added deleted few things
* fixed performance issue on getting texture height for rendering the player model as it loades the player texture on every frame
* updated the lifetime of the texture
* fixed 20 MB memory leak
* delay window display until engine init is done
* Fixed pistons not updating when they should
I removed the code that 4J added to make pistons ignore updates because it seems they removed it in later versions for parity with java edition! This allows for 0 tick piston interactions amount other things.
* Update PistonBaseTile.h
I forgot to update the header 🥹
before: player will tick if the game is paused allowing him to take damage from poison or lava.
now: player will not tick anymore if game is paused, so will not take damage anymore
* feat: rotation in 8 directions
i implemented rotation in 8 directions for the item frames using decompilation
* fix: map render + normal items
map renders only explorated zones.
also fixed the size of the item and place inside item frame
* feat: itemframe drops items when hurt
* feat: comparator detects itemframe
* it works kinda but its laggy
* attempt at making it faster
* Revert "attempt at making it faster"
This reverts commit 32a68ed3ae.
* Revert "it works kinda but its laggy"
This reverts commit 2830b973d4.
* round robin client chunk cache, expanded world type
* CustomPayloadPacket Changes
commented all code for old equip packets
cleaned up custom payload key creation
added 2 new payload packet definitions for upcoming changes
* server sided recipe list
* code cleanup for recipes
* add dtor for recipe classes to fix memory leak
* forgot this part to the dtor commit
* dtor changes tested and fixed
* server side creative menu list
* fix: unbroke import paths in EnchantmentMenu.cpp
* fix: patch nix flakes for new 4JLibs
* style: format nix flake
* refactor(nix): rely on build-linux.sh functions for nix builds
* fix(nix): patch dev shell for build-linux.sh
* feat(nix): derive package version from network version
* TU31 feature: Creepers can be ignited with flint and steel
* make mobInteract more accurate to decomp
---------
Co-authored-by: piebot <274605694+pieeebot@users.noreply.github.com>