#A Mod that Displays Item Component Data Ingame!

1 messages · Page 1 of 1 (latest)

weak barn
#

I Finally figured i'd post this here. This mod simply lets you view any clientside component data that's is stored on the itemstack you are currently holding and puts it into a tree view when you press a hotkey. It is also split into "Modified" and "Default" components if you want to see the default components of any item for some reason.

gentle quail
#

Ooh I likey

#

Looks really clean

weak barn
#

if you dont see the code it is really clean!

onyx snow
#

Oh nice
Much better than my component view implementation
I might end up using this one instead, looks much better

minor hazel
#

Nicely done tiny_potato let me know when it is released

weak barn
#

I dont know when or even if ill release it (id have to split it off since its tied with a bunch of other random stuff atm) If demand is high ill be more than happy to do so once I get a bit of time. :)

#

Before the change to components, it functioned as an nbt viewer for items and even had (primitive) editing capabilities, but i have yet to reimplement that.

It works on entities and block entities as well

gentle quail
#

Well, I at least would love to see it released at some point but I do get it if it doesn't end up being released

sick tiger
#

i'd absolutely use this

echo depot
#

+1

#

if it isnt too much trouble, maybe a simple way to edit through this interface

weak barn
#

Ill get working on a potential release of this, but I cannot promise anything at this time. Lots of other stuff going on atm.

elfin estuary
weak barn
#

Little update: Nothing to release yet but plans are
update to 1.21.4, clean up project structure and code
make mod more user friendly, its all over the place
add config for the extra random features because i dont feel like splitting them off into separate mods atm lol

echo depot
#

release source too?

weak barn
#

Yes

weak barn
#

Update:

  • Mod version updated to 1.21.4, which of course this broke one of my GUI widget things, working to recode that entirely (Minecraft's Scrolling Entry List Widgets are literally a nightmare to work with imo. If there's a better, more simpler way PLEASE let me know lol)

  • Started code cleanup

weak barn
#

Still plenty of polishing to do but I finally added a scrollbar to the data viewer Screen. The little "Edit Tag" window existed before, which as the name suggests, lets you edit the data. Currently unable to save though. I still need to update the code to handle component data instead of NBT data. This feature will not be complete when I do eventually release it though.

gentle quail
#

Peak, i like the unused button and debug scrolling info 😂

weak barn
#

scrollbars are a pain in the ass lmao, had to do it from scratch since that tree view is independent of MC's "Widget" code. (ChatGPT helps as a starting point if you know how to fix the code lol, and of course learn from it)

weak barn
weak barn
#

Added some more nice features and polishing. Once I feel it is ready for release I will make a new post with all the details!

gentle quail
#

Poggers

weak barn
#

UPDATE:

Config made for optional features (additional hud elements such as coords FPS and entity health, etc)
New gui for inspecting entity data is basically complete!
Abiility to view both clientside and serverside data for entities (serverside requires OP, the code that runs is similar to what happens when you press F3 + I)
Other random enhancements (Tooltips on gui buttons, etc)

I will also say thank you all for the support, I probably would have never enhanced this without it!

echo depot
#

bump

weak barn
#

AH Hi! I have alot going on atm so apologies for going a bit silent. I think the mod is tecnically ready, for a beta or whatever. Just have to review the code again!

weak barn
#

At this point i really just need to make the readme.md explain features and just add a release to github repo (and make it public ofc!) Still busy with other things so I will be conservative and say ill put a release here by the end of the week

gentle quail
#

!!! Can’t wait 🥰

lucid roseBOT
#

@gentle quail: Unknown tag, use !tag to see all available tags

gentle quail
#

The teleport feature might not let you get approved on modrinth....

onyx snow
#

Teleport feature??

sick tiger
#

Z key teleports you to the location you are looking at (Singleplayer only, using on multiplayer may get you banned!!)

#

that feels like a really random inclusion for a data viewer

gentle quail
#

There are definitely quite a few random inclusions in here, feels more like a misc multitool than a data viewer (hud w/ coord, fps, held item, visual of player, clientside block breaking, triggering the spectator entity shadow feature, etc.)

onyx snow
gentle quail
#

ihaveconcerns indeed

weak barn
weak barn
onyx snow
#

No, but the user is getting more than they wanted

#

Which is not always good

weak barn
#

Yeah I can understand that. For now tho, the extra HUD stuff can be disabled via config. The other random stuff probably should be split into a separate mod, or at the very least a separate menu. I don't really plan on adding other random features anyways so ill probably end up doing the latter. There were actually quite a few more random features that I removed entirely, since they had no clear goal in mind. (One of them being an ImGUI implementation, which I hope to add back at a later date, with actual interesting features!)

onyx snow
#

I would recommend you just remove them entirelu

#

*entirely

#

Put them in a separate playground mod