Ok. I updated again to Version 2.1.1. This should fix that "A TileEntity type com.someguyssoftware.treasure.tileentity.SkeletonPlaceholderTileEntity has throw an exception trying to write state." error.
Updated all chest, ship, well, wither tree, and building generation to use BiomeDictionary and TreasureBiomeDictionary instead of interrogating the biome name.
Added configurable (config file) white/black lists for biome Types for chests, ships, wells, wither tree, and buildings.
Re-organized config file in more logical categories, hopefully making it more user-friendly and easier to understand configuration settings.
Added many comments to config categories and properties.
Fixed PaintingPlacholderTileEntity is missing a mapping error.
Added a medieval townhouse Plan to the forest buildings.
Fixed Wither Spawner Log name to display correctly.
When playing with Tinker's Construct mod, if a Tinker's Crafting Station (or vanilla chest) is placed beside a Treasure chest,
the Treasure chest will "pop/break" to item form with all items intact. By default, that means it will be locked again. The opposite is also true -
if a Treasure chest is placed beside a Crafting Station, the chest will "pop/break".
Added a config property (true/false) to test for Tinker's Construct, so Treasure mod will work even if you don't have Tinker's Construct mod.
Added a series of white/black list config properties for which Biome Types a Treasure Ship can generate in.
(v2.1.1) Actually Fixed SkeletonPlaceholder is missing a mapping error this time.
The error you showed, is suggesting that Primitive Mobs is the culprit. Mine would have "com.someguyssoftware.treasure. ..." in the error stack. The newest forge releases have weird stuff in the BiomeDictionary.
Do you have version Treasure 2.3 or an earlier version?
The Meaning of Life, the Universe, and Everything.
Join Date:
1/24/2015
Posts:
75
Minecraft:
RoyalGSC
Member Details
Really like the mod, is now a super OP mod and really stimulates people to get out of home, because normally in modded minecraft you get in to a point were everything you do is normally really close to your house. Great mod =D
The Meaning of Life, the Universe, and Everything.
Location:
North Carolina
Join Date:
3/20/2012
Posts:
56
Location:
NC, USA
Minecraft:
NeonSunset
Member Details
There's definitely some sort of conflicting problem between the Treasure mod here and Primitive Mobs. It's very weird... I can install Treasure and Primitive Mobs both and the game will load with no problem. HOWEVER, if I add Thaumcraft or the Witchery mod, both of them will cause this error to pop up. I'm sure that it might be Primitive Mobs' fault, as daveyx0's name appears first, but it does seem to involve the biome dictionary entries.
So, in summary, Primitive Mobs with just Treasure = works fine. Primitive Mobs with Thaumcraft/Witchery WITHOUT Treasure = works fine. Installing Primitive Mobs, Treasure, AND/OR Thaumcraft/Witchery (either one) = crashes and throws this error:
--- Minecraft Crash Report ----
// Hi. I'm Minecraft, and I'm a crashaholic.
Time: 2/1/15 5:59 PM
Description: Initializing game
java.lang.ArrayIndexOutOfBoundsException: 31
at net.minecraftforge.common.BiomeDictionary.getBiomesForType(BiomeDictionary.java:186)
at net.daveyx0.primitivemobs.lib.BiomeDictionarySpawnHelper.addToAllSurfaceBiomes(BiomeDictionarySpawnHelper.java:107)
at net.daveyx0.primitivemobs.core.PrimitiveMobsEntitySpawning.addRegularMobSpawns(PrimitiveMobsEntitySpawning.java:81)
at net.daveyx0.primitivemobs.core.PrimitiveMobsEntitySpawning.postInit(PrimitiveMobsEntitySpawning.java:43)
at net.daveyx0.primitivemobs.common.PrimitiveMobs.postInit(PrimitiveMobs.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541)
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Stacktrace:
at net.minecraftforge.common.BiomeDictionary.getBiomesForType(BiomeDictionary.java:186)
at net.daveyx0.primitivemobs.lib.BiomeDictionarySpawnHelper.addToAllSurfaceBiomes(BiomeDictionarySpawnHelper.java:107)
at net.daveyx0.primitivemobs.core.PrimitiveMobsEntitySpawning.addRegularMobSpawns(PrimitiveMobsEntitySpawning.java:81)
at net.daveyx0.primitivemobs.core.PrimitiveMobsEntitySpawning.postInit(PrimitiveMobsEntitySpawning.java:43)
at net.daveyx0.primitivemobs.common.PrimitiveMobs.postInit(PrimitiveMobs.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:513)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:208)
at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74)
at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47)
at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322)
at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304)
at com.google.common.eventbus.EventBus.post(EventBus.java:275)
at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:118)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:694)
at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:288)
at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:541)
-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:867)
at net.minecraft.client.main.Main.main(SourceFile:148)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_31, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 84919848 bytes (80 MB) / 338227200 bytes (322 MB) up to 2134114304 bytes (2035 MB)
JVM Flags: 6 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP v9.05 FML v7.10.85.1240 Minecraft Forge 10.13.2.1240 10 mods loaded, 10 mods active
mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
FML{7.10.85.1240} [Forge Mod Loader] (forge-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Forge{10.13.2.1240} [Minecraft Forge] (forge-1.7.10-10.13.2.1240.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
primitivemobs{1.0} [Primitive Mobs] (primitivemobs-1.0c-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Errored
Baubles{1.0.1.10} [Baubles] (Baubles-1.7.10-1.0.1.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Thaumcraft{4.2.3.4} [Thaumcraft] (Thaumcraft-1.7.10-4.2.3.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
sgs_treasure{2.4} [SGS Treasure!] (Treasure-1.7.10-2.4.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
AS_UpdateCheck{1.1.6} [AtomicStryker Update Check Mod] (UpdateCheckerMod-1.7.10.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
witchery{0.22.0} [Witchery] (witchery-1.7.10-0.22.0.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
bspkrsCore{6.15} [bspkrsCore] ([1.7.10]bspkrsCore-universal-6.15.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized
Launched Version: 1.7.10
LWJGL: 2.9.1
OpenGL: ATI Radeon HD 4200 GL version 3.3.11653 Compatibility Profile Context, ATI Technologies Inc.
GL Caps: Using GL 1.3 multitexturing.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Anisotropic filtering is supported and maximum anisotropy is 16.
Shaders are available because OpenGL 2.1 is supported.
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs: [Coterie Craft V5s.36 4th Anniversary.zip, Custom Music Pack.zip]
Current Language: English (US)
Profiler Position: N/A (disabled)
Vec3 Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
Anisotropic Filtering: Off (1)
I'll post this over in Primitive Mobs' thread too... Hopefully we can get this problem sorted out, because I enjoy both of these mods greatly.
There's definitely some sort of conflicting problem between the Treasure mod here and Primitive Mobs. It's very weird... I can install Treasure and Primitive Mobs both and the game will load with no problem. HOWEVER, if I add Thaumcraft or the Witchery mod, both of them will cause this error to pop up. I'm sure that it might be Primitive Mobs' fault, as daveyx0's name appears first, but it does seem to involve the biome dictionary entries.
So, in summary, Primitive Mobs with just Treasure = works fine. Primitive Mobs with Thaumcraft/Witchery WITHOUT Treasure = works fine. Installing Primitive Mobs, Treasure, AND/OR Thaumcraft/Witchery (either one) = crashes and throws this error:
I'll post this over in Primitive Mobs' thread too... Hopefully we can get this problem sorted out, because I enjoy both of these mods greatly.
l'll have to research this some more. That java.lang.ArrayIndexOutOfBoundsException: 31 for BiomeDictionary is a common issue with the newer forge versions when more than one mod is adding biomes. I had to use custom code to re-route how new Biome Types where registered, so it might not be playing nice with other mods.
I'm sorry to say, that this is indeed SGS Treasure's issue. I added a new BiomeDictionary.Type for the generation of deep ocean ships. I had created a work-around to the bug that is currently present in Forge BiomeDictionary. However, it is not working as planned.
Primitive Mobs is simply iterating through all the Biome Types and registering the custom mobs to the biomes associated with the type. This is where the error is thrown, because the array that holds the Biome Types isn't being resized after I added the new Type and throw the index out of bounds.
As of right now, I don't see anyway around this issue. The only thing I can think of right now is to remove deep ocean generating code. Not fun.
The Meaning of Life, the Universe, and Everything.
Location:
Friendship, NY
Join Date:
12/26/2010
Posts:
639
Minecraft:
LunariusH
Member Details
I'm a little lost, what are the plans and schematics referred to in the API? Are they other mods or?
I'd love to add my own custom mods to this and use its generation methods, and if I'm understanding correctly, this mod is capable of that. Clarification?
Also, is there a wiki for this mod? The home page seems to have a distinct lack of information.
Rollback Post to RevisionRollBack
"Compatability is King, but configuratiblity is Queen" - InfinityRaider
There currently isn't a wiki for this mod or the supporting APIs/mods. I haven't gotten around to that yet.
The Plans API (plans-format-x.x.jar) is a tool I developed originally for SGS Treasure! to generate structures in game. The structures are saved in a rules-based JSON file (a Plans file ex. castle.plans.json). If you are familiar with the Ruins mod, this file is similar in concept if not in format.
So Treasure! reads these plans files in to generate all the structures (ships, wells, dungeons).
SchToPlans is a little tool used to convert .schematic files to .plans.json files. Treasure! mod only uses .plans.json files in-game.
Plans Placer is a small mod used to generate a .plans.json file in-game using a command. I just made this to help test out structures I was developing.
I'd love to add my own custom mods to this and use its generation methods, and if I'm understanding correctly, this mod is capable of that. Clarification?
Now, I'm a little confused Do you want to add your own custom structures\schematics to Treasure! or you want to use the Plans API in your own mod?
The Meaning of Life, the Universe, and Everything.
Location:
Friendship, NY
Join Date:
12/26/2010
Posts:
639
Minecraft:
LunariusH
Member Details
Add Structures/Schematics to Treasure!, sorry about the confusion there.
Also: What are .schematics files?
Also Also: I think what I was engrishing the hell out of in that last question was: "Is it possible to set rules on when and how structures generate using Treasure!?"
The error is gone... .very nice work !!!
Thank you
DeletedSGS Treasure! 2.3 Released 1/4/2015
What's New!
if a Treasure chest is placed beside a Crafting Station, the chest will "pop/break".
Downloads:
Download Version 2.3 for 1.7.10Download Version 2.3 for 1.7.2
Do you have version Treasure 2.3 or an earlier version?
1. if you remove Treasure, it works fine with Primitive mobs
2. if you remove Primitive mobs, it works fine with Treasure
3. it doesn't work with both
What version of Forge are you running? I'll try and recreate on my box and see what I can find out.
So, in summary, Primitive Mobs with just Treasure = works fine. Primitive Mobs with Thaumcraft/Witchery WITHOUT Treasure = works fine. Installing Primitive Mobs, Treasure, AND/OR Thaumcraft/Witchery (either one) = crashes and throws this error:
I'll post this over in Primitive Mobs' thread too... Hopefully we can get this problem sorted out, because I enjoy both of these mods greatly.
l'll have to research this some more. That java.lang.ArrayIndexOutOfBoundsException: 31 for BiomeDictionary is a common issue with the newer forge versions when more than one mod is adding biomes. I had to use custom code to re-route how new Biome Types where registered, so it might not be playing nice with other mods.
Primitive Mobs is simply iterating through all the Biome Types and registering the custom mobs to the biomes associated with the type. This is where the error is thrown, because the array that holds the Biome Types isn't being resized after I added the new Type and throw the index out of bounds.
As of right now, I don't see anyway around this issue. The only thing I can think of right now is to remove deep ocean generating code. Not fun.
Sorry for the inconveniences
I'd love to add my own custom mods to this and use its generation methods, and if I'm understanding correctly, this mod is capable of that. Clarification?
Also, is there a wiki for this mod? The home page seems to have a distinct lack of information.
The Plans API (plans-format-x.x.jar) is a tool I developed originally for SGS Treasure! to generate structures in game. The structures are saved in a rules-based JSON file (a Plans file ex. castle.plans.json). If you are familiar with the Ruins mod, this file is similar in concept if not in format.
So Treasure! reads these plans files in to generate all the structures (ships, wells, dungeons).
SchToPlans is a little tool used to convert .schematic files to .plans.json files. Treasure! mod only uses .plans.json files in-game.
Plans Placer is a small mod used to generate a .plans.json file in-game using a command. I just made this to help test out structures I was developing.
Now, I'm a little confused Do you want to add your own custom structures\schematics to Treasure! or you want to use the Plans API in your own mod?
Also: What are .schematics files?
Also Also: I think what I was engrishing the hell out of in that last question was: "Is it possible to set rules on when and how structures generate using Treasure!?"