Welcome on MasterOf13FPS! MasterOf13FPS

Register today or sign up if you are already a member and never miss any cool content again :)

Chest look?

MasterOf13FPS

Administrator
Staff member
Administrator
MasterOf13FPS
Joined
Jul 11, 2020
Messages
0
Reaction score
25
Points
0
Hello!

I am wondering if anyone know how to make a module, where you can see the items inside a chest, above it without opening it?

Is this even possible? some people say yes, and other people say no. I know how to load the chests within a certain area, but im not sure how to display the items above the chest without opening it?
 
Like this?
ZvYQWbu.png

6z9jugO.png
 
omg how XD
Kiste öffnen, duch slots iterieren und die ganzen Item ids wenn sie nicht null sind in eine Liste packen und anschließend über der Kiste anzeigen lassen. Funktioniert allerdings nur wenn du die Kiste schon mal geöffnet hast. Ist wohl dafür da um nicht unnötige Packets zu senden.
 
Kiste öffnen, duch slots iterieren und die ganzen Item ids wenn sie nicht null sind in eine Liste packen und anschließend über der Kiste anzeigen lassen. Funktioniert allerdings nur wenn du die Kiste schon mal geöffnet hast. Ist wohl dafür da um nicht unnötige Packets zu senden.
So, im not to sure. But is there a way to send the openchest packet, before actually opening it on distance? so you can see the items inside the chests without having to be withing reach of it?
 
So, im not to sure. But is there a way to send the openchest packet, before actually opening it on distance? so you can see the items inside the chests without having to be withing reach of it?
To be honest I'm not sure. There is no "openchest packet". When opening a chest, the client sends a C08PlayerBlockPlacement Packet. So it seems like that the server actually handles everything. But you can indeed send a C08PlayerBlockPlacement Packet with a custom block location. You can try to iterate through every block in view distance (You should probably do this in a different thread with a small delay) and check if the block is a chest and if so, send a C08PlayerBlockPlacement Packet. It's probably a waste of time but you might want to try it.
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top