Jump to content

Honchkrow

Members
  • Posts

    2
  • Joined

  • Last visited

Honchkrow's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hello, im aware to an experience modder this is probably a simple question, but ive just started today so bear with me. Ive managed to create a tile entity that saves inventory data after accessing the inventory based on this tutorial by kaupenjoe this video Works great, works a treat, until you restart the server and all the contents of the inventory are gone. Ive got a bunch of years experience in spigot and bukkit development and to make data persistent through restarts there we usually just save to a MySQL or YML file. I think I could probably list through all the entities with item capibility on the server when it shuts down and then save them to a YML file, and then load them back in on startup, but i have a feeling thats a very inefficient way of doing things. Anyone have any advice? I tried looking at some other mods for an example, also tried reading the docs on this forum about capabilities and such, but couldnt quite wrap my head around it. If anyone could break it down for me real simple would be much appreciated!
  2. Hello, I recently started modding for minecraft, although i have about 7 years of spigt/bukkit plugin programming experience. Ive been following these tutorials and its mostly going great However, I recently got to the data generation section for generation of JSON files. Ive never worked with gradle before, but the video tells us to use the runData function which looks like its about to work but then send a "Connection reset by peer" error. No files are generated and no further information is given. Heres what the run looks like https://hastebin.com/share/rofuleqemi.makefile Anyone with any info would be much appreciated
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.