Started by
MCGODOJVll
on
Topic category: Advanced modding
I want to create a whole new chest that is like an enderchest I can put itoms in it and gain accses to it ANYWHERE from any chest like it but yet can be seen by other players like if I put my dimonds into it and they put there emeralds into it we can see it from any similar chest. so basicly a chest half way between a regular chest and an enderchest me and my friends want it becouse we are 1000 blocks away from eachother and want to traid eachother with out traviling soooo far!
if we can make a non-block spacific and non player spacific but rather server spacific chest-like block please let me know I do want to finnish this off I have it mostly sone just want to know how to finnish this off!
here is a link to the video I used:
https://www.youtube.com/watch?v=PXQUX7EHZtU
I have a complicated idea:
When a player place the chest for the first time the position of the chest will save to 3 player values x, y and z coordinate. This coordinate is now saved in the player and can be used at any time. When he place another chest and use it the chest will get the x, y and z values stocked in the player to find the already placed chest and will copy the items in this chest.
Sorry if you don't understand im really bad at explaining and this is advanced mcreator.
thank you I am new here but It seemed simple enough from what I understood in my video but how I am ever so thankful for this. I may not 100% understand it but I think I now understand more and might be able to do it. thank you soo much for the help.
now with this I go in to my workspace to try my best to copy this writen code into the actural code.
I now have here every possible part of code I think I need i just have to put them together sometime it is saved tho. this was alot harder then I thought becouse the video make it look like a simple o off switch...
Happy to help! You offered me your help for my project: https://mcreator.net/modification/64952/village-system-really-basic. Are you still in?
Use global itemstack variables. When you take or add to the gui slot run a procedure that changes the global variable to match what is now in the slot. Make it so when you right click on the chest block it runs a procedure to place the proper itemstacks in the proper slots. (Don't let the block drop its items when destroyed)
(If you wanted to just link two chests, not connect all of the chests together, use scorpion981's solution though).
thankyou for this idea this sounds alot like what I want now that I have more of an idea I can put this in to make it make more sence thankyou this will be perfict for my building idea.
Howdy,
I tried to use the Itemstack but for whatever reason its not working. Any guide on using itemstacks, I have found nada out there!
TIA
MCGODOJVll, did you find any solution for this project? If you can share your code or mcreator file it will be really helpful! Thank you
I could plan something like this out will take some time tho