I haven't updated my tutorial code dealing with this exact thing, but the gist of it is you need to copy your IEEP during PlayerEvent.Clone, and then make sure whatever values you need client side are synced (this is easiest to do with EntityJoinWorldEvent, but if that's not working for you then you can sync on PlayerLoggedInEvent, PlayerRespawnEvent, and possibly PlayerChangedDimensionEvent).
EDIT: Oh, and remove that code about storing IEEP data in some obscure place (iExtendedPlayerManager or CommonProxy or whatever else you may use) - it was always a hacky solution and although it's how I used to do it as well, PlayerEvent.Clone renders it obsolete.
- _Dark_Dragoon_
- Registered Member
-
Member for 9 years, 8 months, and 28 days
Last active Thu, May, 11 2017 10:16:28
- 1 Follower
- 85 Total Posts
- 8 Thanks
-
1
coolAlias posted a message on Really need help getting custom NBT data to persist through death and logout/inPosted in: Modification Development -
1
wildbill22 posted a message on Really need help getting custom NBT data to persist through death and logout/inWow, honestly I did try and figure this out, but with so much code and this forum formatting the code to make it so hard to read, I couldn't make sense of it. I did see that the way you are saving and reading the NBT isn't exactly the way I've seen it done elsewhere. There is a good tutorial on the forge website at : http://www.minecraftforge.net/wiki/How_to_use_NBT_Tag_CompoundPosted in: Modification Development
The first time I read the tutorial, it didn't make sense. I then wrote some code using NBT saving and reading, then slept on it. It all started making sense. What I still don't know, is what event in Minecraft triggers reading and writing the cached NBT data to disk. What most of these tutorials don't explain is some background on how it works. I always like to know the why and how, and then with a better understanding, I tend to make less mistakes when I use it
The standard methods like readFromNBT and writeToNBT are not reading and writing the data to disk. They are reading and writing to a NBT data cache (a data structure in memory). When you do a read, this is data that was previously read from disk. When you do the write, it is data that will later be written to disk (unless of course Minecraft or you mod crashes before that happens). - To post a comment, please login.
1
--Welcome To Sky Den 2.5--
This is an updated version of the very popular Sky Den map created by ChocolateySyrup.
I have packaged it in a modpack for Technic for easy installation.
The original Sky Den can be seen here --
http://www.minecraftforum.net/forums/mapping-and-modding/maps/1528487-sky-den-a-modded-sky-survival-map-with-npcs-and
--Story--
You are standed on a desolate island in the sky and you have very few things to help you survive.
They send you on quests to gather resources for their tribe, and reward you with scarce resources that will prove useful.
allowing you to transmute materials into other useful materials that you have obtained.
After mastering Alchemy and proving you are a skilled warrior and Alchemist they tell you
they have been training you for a purpose,
to defeat the evil king who uprooted their society and cast them away to this Skyland,
but defeating this king will require you to be extremely powerful and have the absolute best supplies you can create,
and even then it will be a challenge.
Defeat this evil king and you will forever be the saviour of the Gnolls.
Do you have what it takes do defeat the evil king?
--Overview--
This map was created from the original Sky Den, made by ChocolateySyrup. I
tried to keep it as similar as possible while adding new content
but because of the drastic changes in some of the mods used I had to change quite a bit from the original however it still plays
through mostly the same. Nearly every block and item, both from vanilla Minecraft
some of the basic rules here.
1. No Cheating -- Cheat's are enabled on the map encase you somehow lose an important item that you can't back,
but do not use them unless absolutely necessary. All items are obtainable through quests, trading, and being found/farmed.
2. Do Not Break Pre-Made Structures -- Structures like the Sky Den itself are not to be destroyed in any way. You can take the dirt from
the other floating islands, but the Sky Den, and the island with a Nether and End portal are not to be altered in any way.
3. Don't Use Other Mods -- As stated before the map was designed so that you will be able to get every block and item
by the end of the game. Using other mods to get items is considered cheating and shouldn't be done.
4. Don't Use Not Enough Items Cheat Mode -- Pretty simple, don't use it. It will ruin the map. Magnet mode is fine though.
5. Don't Use The Anvil, Enchanting Table, or Aether Machines Until Given Permission -- These blocks are designed
to be used only after a certain point. You will be given permission to use them when the time comes.
But using them beforehand will ruin the experience.
Baubles -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1294623-baubles-1-2-1-0-updated-2016-5-19
Bibliocraft -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1287834-bibliocraft-v1-11-5-bookcases-armor-stands-shelves
Carpenter's Blocks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288875-carpenters-blocks
ChickenChunks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
Chisel -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2254671-chisel-3-the-dev-releases
CodeChickenCore -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
CodeChickenLib -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
CoFHCore -- http://teamcofh.com/
Colorful Blocks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2430535-colorful-blocks-color-any-block-in-any-color-now
CustomNPCs -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1278956-custom-npcs
DaVincing -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/2342160-davincing-minepainter-continued
Enchanting Plus -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1286469-enchanting-plus
Ender Storage -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
ExCore -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2484951-elixx-mods-hub-excore
Extra Utilities -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1443963-extra-utilities-v1-1-0k
FastLeafDecay -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2196219-fastleafdecay-leaves-be-gone
Immibis Core -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1281065-immibiss-mods-now-with-85-7-less-version-numbers
Immibis Macro Blocks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1281065-immibiss-mods-now-with-85-7-less-version-numbers
Immibis Micro Blocks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1281065-immibiss-mods-now-with-85-7-less-version-numbers
Inventory Tweaks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288184-inventory-tweaks-1-60-march-17
MineTweaker -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290366-1-6-4-1-7-x-minetweaker-3-customize-your
MineTweaker Recipe Maker -- http://minecraft.curseforge.com/projects/minetweaker-recipemaker
Not Enough Items -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
OpenBlocks -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1291207-openblocks-1-2-8
OpenModsLib -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1291207-openblocks-1-2-8
ProjectE -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2326684-projecte-equivalent-exchange-2-ee2-for-modern
Thaumcraft -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1292130-thaumcraft-5-2-4-updated-2016-3-17
Thermal Foundation -- http://teamcofh.com/
Thermal Expansion -- http://teamcofh.com/
The Colored Blocks Mod -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2440439-1-7-10-the-colored-blocks-mod
Waila -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1289765-waila-1-5-7-for-1-7-10-1-6-0-for-1-8-1
Wailia Harvestability -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1295067-waila-harvestability-how-can-i-harvest-what-im
Wawla -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2169830-wawla-what-are-we-looking-at
Xaero's Minimap -- http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2379024-xaeros-minimap-forge-1-10-1-9-4-1-9-1-8-9-1-8-1-7
YUNoMakeGoodMap -- https://github.com/LexManos/YUNoMakeGoodMap
Also thank you to the creators of all the mods used, without them this map would not be possible.
And thank you for downloading this map.
I updated this previously from the original version to 1.7.2, this latest update does bring new content and a change in some of the mods being used, however the main goals and story progression is primarily the same so I opted to keep the format of this thread the same as my previous version with some necessary changes.
There are a lot of optional mods in this pack, most are included for decoration purposes, like DaVincing for example, however some do have other functionality such as Thaumcraft.
There are a few mods that aren't covered in the story progression but can be used to help progress faster by making tasks such as automation easier. I chose to leave these mods out of the story progression to save time and to give the players of this map a bit more freedom on how they choose to go about automating there farms.
If you choose to update to the latest version back-up your world first, most updates will be compatible with worlds from previous versions as they will only be adding new mods or changes in config files, but the way technic modpacks are setup it will delete your world when you update. To back-up your previous world follow the instructions below.
Some updated may require you to go into creative mode to obtain an item that was added in an update, check below if this is necessary for your update.
1. Navigate to C:\Users\<YOURUSERACCOUNTNAMEHERE>\AppData\Roaming\.technic\modpacks\sky-den-25\saves
or wherever you installed the pack if you choose a different directory.
2. Copy the "Sky Den 2_5" folder somewhere else like your desktop.
3. Update the pack using technic launcher by clicking the little gear icon next to modpack options and make sure "recommended version" is selected then choose "reinstall pack"
4 After the pack is reinstalled it will be updated to the latest version, copy the "Sky Den 2_5" folder back into the saves folder of the pack.
Following these steps will allow you to update to the latest version and keep your progress on your world.
1. -- Run Technic Launcher and click Add New Pack.
2. -- Copy the Platform URL from this link -- http://api.technicpack.net/modpack/sky-den-25
3. -- Paste it into Technic and click Add Modpack.
4. -- Select Sky Den 2 in the Modpacks on the left side.
5. -- Click Play.
1
1
I completely missed that line, i've gotten that error myself from my modpack i made for my survival world, add the Jvm argument I posted below to your Jvm arguments in the launcher , this should fix it, I know it did for me, I actually have very similar specs Intel 6420 Dual Core 2.13GHz rated at 3.68GHz, 4gb ram, GeForce 8800GTX 768Mb, and I have a modpack that says 95 mods in minecraft start screen with 65 actual mods in the folder, also with a lot of terrain generating mods which its what seems to cause that error since it takes so much to generate chunks
-- Jvm Argument --
-XX:PermSize=256m -XX:MaxPermSize=512m
5
--Welcome To Sky Den 2--
This is an updated version of the very popular Sky Den map created by ChocolateySyrup.
I have packaged it in a modpack for Technic for easy installation.
The original Sky Den can be seen here --
http://www.minecraftforum.net/forums/mapping-and-modding/maps/1528487-sky-den-a-modded-sky-survival-map-with-npcs-and
--Story--
You are standed on a desolate island in the sky and you have very few things to help you survive.
They send you on quests to gather resources for their tribe, and reward you with scarce resources that will prove useful.
allowing you to transmute materials into other useful materials that you have obtained.
After mastering Alchemy and proving you are a skilled warrior and Alchemist they tell you
they have been training you for a purpose,
to defeat the evil king who uprooted their society and cast them away to this Skyland,
but defeating this king will require you to be extremely powerful and have the absolute best supplies you can create,
and even then it will be a challenge.
Defeat this evil king and you will forever be the saviour of the Gnolls.
Do you have what it takes do defeat the evil king?
--Overview--
This map was created from the original Sky Den, made by ChocolateySyrup. I tried to keep it as similar as possible while adding new content
but because of the drastic changes in some of the mods used I had to change quite a bit from the original however it still
plays through mostly the same. Every vanilla block aside from the ores will be obtainable/creatable by the end of the story, and even
a lot of new items from the various mods used will also be obtainable.
If you downloaded the map before the date and time on the Update Log below
then you must download and install the patch by following
the instructions on the "Patching An Old Version Of The Map" section below
or you will find some bugs that I recently fixed
The patch is similar to the Cosmic Patch from the original
it will not delete you character or anything you've done
except an area between the main island and the Sky Den, so you will lose a part
of your bridge to the Sky Den if you've already made it, but that shouldn't matter to much.
--Rules--
some of the basic rules here.
1. No Cheating -- Cheat's are enabled on the map encase you somehow lose an important item that you can't back,
but do not use them unless absolutely necessary. All items are obtainable through quests, trading, and being found/farmed.
2. Do Not Break Pre-Made Structures -- Structures like the Sky Den itself are not to be destroyed in any way. You can take the dirt from
the other floating islands, but the Sky Den, and the island with a Nether and End portal are not to be altered in any way.
3. Don't Use Other Mods -- As stated before the map was designed so that you will be able to get every block and item
by the end of the game. Using other mods to get items is considered cheating and shouldn't be done.
4. Don't Use Not Enough Items Cheat Mode -- Pretty simple, don't use it. It will ruin the map.
5. Don't Use The Anvil, Enchanting Table, or Aether Machines Until Given Permission -- These blocks are designed
to be used only after a certain point. You will be given permission to use them when the time comes.
But using them beforehand will ruin the experience.
--List Of Mods Used--
AdvancedDispensers - Created By - Manitu - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1289980-advanced-dispensers-mod
Aethercraft - Created By - Iconmaster - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1293204-aethercraft-1-4-4-aetheral-alchemy-turn-matter
BetterSprinting - Created by - Chylez - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1285563-better-sprinting-570-000-dls-enhanced-sprinting
CustomNPC's - Created by - Noppes - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1278956-custom-npcs
Enchantplus - Created by - Freyjadono - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1286469-enchanting-plus-v2-1-v1-16-v1-15-v1-14
Mob Spawn Controls - Created by - Davidee - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290704-mob-spawn-controls-2-back-better-than-ever-updated
Moreswords - Created by - Darkhax - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1282601-more-swords-mod
Not Enough Items - Created by - Chickenbones - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1279956-chickenbones-mods
Projectred - Created by - Mr_TJP and Chickenbones - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1290357-forge-multipart-projectred-v4-4-5-44-7-8-2014
Thaumcraft 4 - Created by - Azanor - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1292130-thaumcraft-4-1-1-14-updated-20-5-2014
VanillaFeatures - Created by - Twinklez - http://www.planetminecraft.com/mod/172-vanilla-features-v01-bring-old-features-back-to-life/
Voxelmap - Created by - Zaneris and Lahwran - http://www.6minecraft.net/zans-minimap/
What Am I Looking At - Created by - ProfMobius - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1289765-waila-1-5-2
Yet Another Leather Smelting Mod - Created by - AiryBreath - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1291947-1-7-10-1-7-2-1-6-4-forge-yalsm-yet-another
--Mod Descriptions/Reasons They Where Used--
Treecapitator --- **Used in original map** -- Extremely helpful mod, allows you to cut one log to bring the whole tree down.
AdvancedDispensers --- Adds in Block Breakers which where used in the original map, very helpful for collecting resources.
Aethercraft --- The original map used Thaumcraft and Equivalent Exchange 3 to "transmute" materials, but they've changed far to much, this mod allows the same thing in a much simpler fashion, similar to how Equivalent Exchange 3 was.
BetterSprinting --- Allows you to toggle sprint on/off. Very helpful when your running back and forth a lot.
CustomNPC's --- **Used in original map** -- This map wouldn't be possible without it. It's an ingenious mod that allows so much customization it's unbelievable. It really brings Minecraft to life.
Enchantplus --- **Used in original map** -- Add's a new Enchanting Table that allows you to select the enchants you want instead of guessing and hoping for a good one.
Mob Spawn Controls --- Very cool mod, it increases the mob cap, so more mobs can spawn, and allowed me to increase the Enderman spawn rate since it seemed severely nerfed and enderpearls are a necessity.
Moreswords --- Add's in new swords and enchantments, the enchantments are fully compatible with Enchantplus, so it is a complimentary mod.
Not Enough Items --- **Used in original map** -- Extremely helpful mod, allows you to check the recipes and usage of nearly any item.
Projectred --- **Used in original map** -- It's predecessor RedPower was used in the original, it adds new gems which can be used to craft new tools, and a plethora of machinery, as well as backpacks which are very useful.
Thaumcraft 4 --- **Used in original map** -- The original map was designed using the alchemy from this to transmute materials into other materials, but it's changed so much and is so complicated I found it easier to implement Aethercraft, however I kept this in because it adds a lot of new blocks and items that are still very useful.
VanillaFeatures --- Allows you to use 1 bonemeal to grow things like trees and crops instead of a bunch. Very helpful, especially at the start.
Voxelmap --- Who doesn't love having a minimap? Simple but very useful mod especially for checking on your mob farms without having to run to them constantly.
What Am I Looking At --- Very cool and helpful mod that tells you what block your looking at, aswell as what mod it's from.
Yet Another Leather Smelting Mod --- A simple but almost necessary mod that allows you to turn 5 rotten flesh into 1 leather. Extremely helpful when cows are so rare but zombies are plentiful.
--Changelog--
The questline has been changed so that Thaumcraft is no longer a necessity, as it has gotten even more confusing, however some of the items from it are still used as their very useful. I've changed the map to work with Aethercraft instead, still allowing you to "transmute" materials into other materials, but in a much simpler and easier to grasp way.
Mystcraft has been removed completely. It was an end-game perk and also rather confusing and I found it to be unnecessary.
Equivalent Exchange has also been removed completely. It has changed so much that it really served no purpose in the map anymore, Aethercraft also replaced it.
The Four Trials quest has been changed to the Six Trials quest and two new trials have been made for it the Trial of Light, and the Trial of Darkness, to go along with the change from Thaumcraft to Aethercraft.
I created a new end-game quest with a very powerful boss that will greatly test your fighting skills.
---Minor Changes---
A new NPC has been added to trade you some newer items from the CustomNPC's mod. This NPC will only trade you after the Final Rite quest however since the items can only be used after that quest.
Because of the change from Thaumcraft's alchemy to Aethercraft I had to make more materials available through quests, trades, and being found, i've tested it and checked quite a bit and every vanilla block should be obtainable aside from the ores, as well as a multitute of items added in from mods are also available.
I created a "tribute" to ChocolateySyrup for creating the original map, his tribute now overlooks the Sky Den as it's Founding Father.
I added two secret areas as well as an encoded hint book to help find them.
I also added 4 new small islands with non-essential resources on them.
--Bugs/Glitches--
--Questions/Problems/Feedback--
--Thank You--
Also thank you to the creators of all the mods used, without them this map would not be possible.
And thank you for downloading this map.
--Update Log --Updated 8/21/2014 7:37AM E.S.T--
Fixed bug where Gnollboss wouldn't take potion for Final Rite because of changed id
Fixed a minor spelling error in a quest
Fixed some of Hennepin's dialog
8/16/2014 12:06AM -- Fixed bug in Trial of Light, where I forgot to put in ladders
8/16/2014 2:10AM -- Fixed bug where Pup wouldn't trade after Six Trials quest
8/16/2015 6:56AM -- Fixed a bug where you can get gravel before the Rite Of Fire quest
8/16/2014 2:11PM -- Changed First Rite quest requirements from Bones to Bonemeal, since Bones are renamed to Bone Sword because of glitch in More Swords Mod
8/19/2014 3:36PM -- Fixed bug in Six Trials quest where items needed to complete aren't in chests -- Thank you Bworms1980 for being such a great tester and finding these bugs so I can fix them
8/21/2014 7:37AM -- Fixed bug where bow and arrows aren't in chest for Trial of Light
--Patching Bugs On Old Version Of Map--
To do this, follow these steps.
1. Download the Bug Fixes.zip from here -- https://www.dropbox.com/s/jwbxrk9bfqyageq/Bug Fixes.zip?dl=1
2. Open the Bug Fixes.zip you just downloaded.
3. Navigate to your Sky Den 2 modpack folder, usually located in -- C:\Users\(USERNAME HERE)\AppData\Roaming\.technic\modpacks\sky-den-2\
4. Drag the contents of the Bug Fixes.zip to this folder, overwriting the previous files/folders when asked.
5. The bugs should now be fixed in your map, without changing anything you've done.
--Installation Instructions And Links--
1. -- Run Technic Launcher and click Add New Pack.
2. -- Copy the Platform URL from this link -- http://www.technicpack.net/modpack/details/sky-den-2.454529
3. -- Paste it into Technic and click Add Modpack.
4. -- Select Sky Den 2 in the Modpacks on the left side.
5. -- Click Play.