Commit graph

331 commits

Author SHA1 Message Date
sylvessa 18a673bd46 blockstate, more block events, command preprocess event. 2026-04-06 01:52:58 -05:00
DrPerkyLegit 21b5accc69
Feature/plugin api experimental (#12)
* added a null check to fix crash, expose internal latency value (its buggy)

* fix latency calculations

* sending packets from c#

* world save event, move shutdown def, move called location of shutdown, expose FourKit.FireEvent

* add docs

---------

Co-authored-by: sylvessa <225480449+sylvessa@users.noreply.github.com>
2026-04-05 21:21:22 -05:00
sylvessa 7251a8419f Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-04-05 12:59:27 -05:00
Sylvessa c2ea1fa62b
optimization: remove redundant lastTime setter (#1479) 2026-04-05 12:51:37 -05:00
Sylvessa a4e689095c
fix: wither and ender dragon custom names (#1472) 2026-04-04 22:04:02 -05:00
sylvessa 1782f7c0d5 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-04-03 17:45:38 -05:00
DrPerkyLegit 08a88fed6e
optimizations (#10)
* optimize item data communication, options for future item flags

* lighten load on gc from inventory apis

* dont allocate for SyncPlayerFromNative

* fix blocklag
2026-04-03 17:08:59 -05:00
DrPerkyLegit ebc1d4c640
Events, minor apis, stubs for future pr (#9)
* StructureGrowEvent, expose internal dimension id

* Update StructureGrowEvent.cs

* PlayerLoginEvent, ability to change xuids, get xuids, stub for experimental player connection api

* add docs, fix up to use cmake

---------

Co-authored-by: sylvessa <225480449+sylvessa@users.noreply.github.com>
2026-04-02 17:22:07 -05:00
Sylvessa 8bf0343544
fix: boat plr height & sneak height (#1459) 2026-04-02 17:16:31 -05:00
sylvessa 9f013dbb7f Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-04-02 15:41:52 -05:00
blongm d3412aaae7
Fixed issue with world seeds not saving correctly (#1119)
Some checks failed
Nightly Server Release / build (Windows64) (push) Has been cancelled
Nightly Release / build (Windows64) (push) Has been cancelled
Nightly Server Release / release (push) Has been cancelled
Nightly Server Release / Build and Push Docker Image (push) Has been cancelled
Nightly Server Release / cleanup (push) Has been cancelled
Nightly Release / release (push) Has been cancelled
Nightly Release / cleanup (push) Has been cancelled
## Description
Fix issue where typing in a short seed on world creation doesn't save the seed correctly

## Changes

### Previous Behavior
Typing in a seed on the world creation menu that's less than 8 characters long will result in garbage data being saved as the seed. Happens with controller and KBM.
You can see this in-game - if you exit the world options menu and go back in, the seed will show up as boxes □□□.
Weirdly, if you type a seed again, it behaves as expected.

### Root Cause
For some reason, assigning `m_params->seed` to the seed text points it to garbage data, when it's 7 characters or less.

### New Behavior
Seed entry behaves as expected.

### Fix Implementation
- Added `static_cast<wstring>` before assignment to `m_params->seed`.
- Also replaced `(wchar_t *)` with `reinterpret_cast<wchar_t*>` in the functions.

### AI Use Disclosure
No AI was used
2026-03-30 06:05:32 -05:00
DrPerkyLegit da2aaf1247
Add PlayerPreLoginEvent (#8)
* PlayerPreLoginEvent, comments for more events

* basic plugin events

* plugin failed to load event

* add docs

---------

Co-authored-by: sylvessa <225480449+sylvessa@users.noreply.github.com>
2026-03-29 12:56:24 -05:00
sylvessa abbe007492 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-29 00:55:46 -05:00
Botch 277d74716e
Render custom skin boxes on viewmodel (#1415)
* Update PlayerRenderer.cpp

* Fix fatal bug where skins with no additional boxes would crash the game
2026-03-28 14:44:27 -05:00
Sestain 7447fabe0d
Fix game crashing if DLC has XMLVERSION paramater (#1285)
* Fix game crashing if DLC has XMLVERSION paramater

* Better implementation of XMLVersion check

* Forgot to add type name to the list

* Removed extra newline
2026-03-27 15:11:27 -05:00
Sestain 3c1166c45e
Added support for Big-Endian DLCs (#1291)
* Added support for Big-Endian DLCs

* Remove unused variable

* Remove the things made for other PR
2026-03-27 15:59:35 -04:00
sylvessa fea50d33e2 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-26 17:06:59 -05:00
666uvu 73d713878c
fix redstone tick persistence on chunk unload (#1423) 2026-03-26 16:55:56 -05:00
sylvessa 5a6bf5e733 fix enchants disappearing when dropped 2026-03-26 16:16:22 -05:00
Sylvessa c96a8ee524
fix splitscreen xuids (#1413) 2026-03-26 10:19:20 -04:00
Sylvessa 1a50770647
Add asynchronous server joining (#1408) 2026-03-26 10:15:11 -04:00
sylvessa 4a220faebe Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-26 06:19:12 -05:00
Loki Rautio dee559bd16 Revert "Memory leak fix: Make chunks unload properly (#1406)"
This reverts commit a24318eedc.
This fix introduces broken behavior for dedicated servers. It will be
merged back in once the related issue is fixed
2026-03-26 01:37:23 -05:00
sylvessa ff4debf6a9 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-25 17:19:41 -05:00
ModMaker101 a24318eedc
Memory leak fix: Make chunks unload properly (#1406)
* Fix chunk unload and cleanup logic, fixes #1347

* Applying formatting to code I edited 😝
2026-03-24 23:25:18 -05:00
sylvessa fb3a65ac10 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-24 21:20:23 -05:00
sylvessa 06aef8ddaf reference ME in some todos 2026-03-24 21:19:42 -05:00
sylvessa def50adfcc cleanup 2026-03-24 21:13:15 -05:00
Sylvessa 993052409a
Fix XUID logging (#1395)
* pass invalid_xuid to other players

* actually more simple fix
2026-03-24 05:04:07 -04:00
sylvessa 61d027badf Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-23 22:34:14 -05:00
Ayush Thoren ed9cbae3f7
Fix initial cursor position for in-game UI elements (#1120)
Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
2026-03-23 21:06:20 -05:00
Sylvessa daed75b8a1
make handleParticleEvent actually parse the particle type instead of hardcoding hearts (#1399) 2026-03-23 20:11:37 -05:00
sylvessa f60d75dabb add xuid log fix (temp, will remove when actual auth impl) 2026-03-23 18:01:43 -05:00
rtm516 9e715cb3bc
Fix render order of F3 debug screen (#1239) 2026-03-23 18:01:40 -05:00
Sylvessa 127465b0eb
add advanced tooltips, F3+H combo, and handle settings (#1389) 2026-03-23 17:54:46 -05:00
sylvessa a0be612f48 playsound, sleep ignoring 2026-03-23 17:25:46 -05:00
sylvessa fac8269fed Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-22 22:43:16 -05:00
Lord Cambion 9a6d126ae1
Stained Glass Survival Integration & Crafting UI Fix (#1195)
* Added Stained Glass

i found out that stained glass  was not accessible in survival, then i  saw they disabled it in the code

* Grouping glass correctly in crafting table

I removed the #if/endif from the ClothDyeRecipes.cpp and added a different one in StructureRecipies.cpp
also changed the Tile definition giving it the same
setBaseItemTypeAndMaterial of stained glass to group it correctly inside the crafting table UI.
also aincremented the Vertical Slot for crafting table to include many more craftings in the same group
2026-03-22 21:15:02 -05:00
Revela 39e46751bf
Add clipboard paste support to UIControl_TextInput and UIScene_Keyboard (#1298)
Previously paste only worked in the chat screen. Wire Screen::getClipboard() into the two remaining text input paths so Ctrl+V works for sign editing, seed entry, server IP/port, and world name fields.
2026-03-22 21:09:10 -05:00
Iruka Wolf 603c6ba7cb
Fix missing trapped chest textures in Natural Texture Pack (#1381)
Co-authored-by: Iruka-Wolf <17684713+Iruka-Wolf@users.noreply.github.com>
2026-03-22 20:49:14 -05:00
Sylvessa b6e25415ca
Remove redundant buffer in UIScene_SettingsGraphicsMenu.cpp (#1348) (#1380) 2026-03-22 18:37:59 -04:00
sylvessa aca05bad7b fix a bug with playerjoinevent (temporary fix) 2026-03-22 15:52:48 -05:00
sylvessa 9cbc9aca28 add PlayerBedEnterEvent and PlayerBedLeaveEvent + 2 new HumanEntity funcs 2026-03-22 15:48:51 -05:00
sylvessa 6847af62e1 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-22 12:40:10 -05:00
Sylvessa dac073605f
add ifdef debug around handle debug options (#1382) 2026-03-22 13:38:35 -04:00
sylvessa 54d4ad1ce0 add missing block.getData() (oops) and use string localization 2026-03-22 02:37:45 -05:00
Ayush Thoren be7e2ca91d
Fix font rendering for color and formatting codes (#1017)
* Fix "Colormatic" splash text rendering as single color

Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>

* Use per-vertex coloring in a single batch

Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>

* Fix font rendering for color and formatting codes

Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>

---------

Signed-off-by: Ayush Thoren <ayushthoren@gmail.com>
2026-03-22 00:33:35 -04:00
sylvessa 0d1e0177e5 fix sign change event not letting you set lines properly 2026-03-21 19:25:15 -05:00
sylvessa 5bac176cf5 Merge remote-tracking branch 'smartcmd/main' into feature/plugin-api 2026-03-21 17:13:50 -05:00
GabsPuNs 250accd40b
Fix Sign (#1369)
fix for the sign's interface.

SignEntryMenu720 was being replaced by an older version of SkinWinHD.

SignEntryMenu720 was is now replaced with it's original version.
2026-03-21 17:49:21 -04:00