• 0

    posted a message on Spawning a Custom mob with a Custom weapon

    I am trying to spawn my custom mob with a spear I made. I tried using this, but it doesnt work.


    protected void addRandomArmor()
        {
            super.addRandomArmor();
    
            this.setCurrentItemOrArmor(0, new ItemStack(WheelOfTime.spear));
                        
        }

    Does it only spawn with the spear if it spawns naturally? I been using the spawn egg.

    Posted in: Modification Development
  • 0

    posted a message on WIP - Wheel of Time [1.7.10]

    Looking for anyone willing to do village type spawns. I need wagons that spawns with Tuatha'an that spawn inside. In the books, they travel the land searching for a song. They wear bright colored clothes, often mismatched, and their wagons are painted just as brightly in a wider variety of colors.


    They are very akin to gypsies. Here is a typical wagon. They would need stairs with door on the front of they can retreat at night, similar to villagers. If anyone is interested, send me a message. If you are interested in some other way, let me know.




    http://wot.wikia.com/wiki/Tuatha'an

    Posted in: WIP Mods
  • 0

    posted a message on Crafting Recipes causing a crash *solved*

    My issue is a lack of enough spaces between my empty " " isn't it? I think I hit space twice which to me, looks like enough room but I was suppose to hit it three times, correct? I redid the code again and it's working fine now. Thanks for the tip :)

    Posted in: Modification Development
  • 0

    posted a message on Crafting Recipes causing a crash *solved*

    Added some more crafting recipes to my mod and they are causing a crash. I can comment them out to get the game running fine, but looking at them for the last hour and a half, I can't find any issue with them.


    	GameRegistry.addRecipe(new ItemStack(aielgarbChest), new Object[]{"Q Q","QQQ","QQQ",'Q',WheelOfTime.itemGoathide});
    	GameRegistry.addRecipe(new ItemStack(aielgarbHelm), new Object[]{"  ","QQQ","QDQ",'Q',WheelOfTime.itemGoathide,'D',           new ItemStack(Items.dye,1,0)});
    	GameRegistry.addRecipe(new ItemStack(aielgarbLegs), new Object[]{"QQQ","Q Q","Q Q",'Q',WheelOfTime.itemGoathide});
    	GameRegistry.addRecipe(new ItemStack(aielgarbBoots), new Object[]{"  ","Q Q","Q Q",'Q',WheelOfTime.itemGoathide});

    Here is the GitHub link for the start of my repository.

    https://github.com/projectmayhem1983/WheelOfTimeMod/tree/master/Wheel%20Of%20Time/src/main/java/projectmayhem1983/wheeloftime


    Should be able to pull my latest crash log from there also, and here is what my console gave me...



    Details:
    	Minecraft Version: 1.7.10
    	Operating System: Windows 7 (amd64) version 6.1
    	Java Version: 1.8.0_66, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 778905672 bytes (742 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	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: 
    	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11472 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4550'
    [16:06:09] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization
    [16:06:09] [Client thread/INFO] [FML]: MinecraftForge v10.13.4.1558 Initialized
    [16:06:09] [Client thread/INFO] [FML]: Replaced 183 ore recipies
    [16:06:10] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization
    [16:06:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
    [16:06:10] [Client thread/INFO] [FML]: Searching C:\Users\Chris\Desktop\Wheel Of Time\eclipse\mods for mods
    [16:06:19] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
    [16:06:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wot] at CLIENT
    [16:06:19] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, wot] at SERVER
    [16:06:19] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Wheel of Time
    [16:06:19] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
    [16:06:19] [Client thread/INFO] [FML]: Found 341 ObjectHolder annotations
    [16:06:19] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
    [16:06:20] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
    [16:06:20] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
    [16:06:20] [Client thread/INFO] [FML]: Applying holder lookups
    [16:06:20] [Client thread/INFO] [FML]: Holder lookups applied
    [16:06:20] [Client thread/INFO] [FML]: Injecting itemstacks
    [16:06:20] [Client thread/INFO] [FML]: Itemstack injection complete
    [16:06:20] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [16:06:20] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
    [16:06:20] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
    [16:06:20] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
    AL lib: (EE) MMDevApiOpenPlayback: Device init failed: 0x80004005
    [16:06:21] [Thread-8/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
    [16:06:21] [Sound Library Loader/INFO] [STDOUT]: [paulscode.sound.SoundSystemLogger:message:69]: 
    [16:06:21] [Sound Library Loader/INFO]: Sound engine started
    [16:06:22] [Client thread/INFO]: Created: 16x16 textures/blocks-atlas
    [16:06:22] [Client thread/INFO]: Created: 16x16 textures/items-atlas
    [16:06:22] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue
    [16:06:22] [Client thread/ERROR] [FML]: 
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    	UCHI	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    	UCHI	FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
    	UCHI	Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
    	UCHE	wot{1.0} [Wheel of Time] (bin) 
    [16:06:22] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [16:06:22] [Client thread/ERROR] [FML]: Caught exception from wot
    java.lang.StringIndexOutOfBoundsException: String index out of range: 8
    	at java.lang.String.charAt(String.java:658) ~[?:1.8.0_66]
    	at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:232) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at projectmayhem1983.wheeloftime.WheelOfTime.init(WheelOfTime.java:306) ~[bin/:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
    	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
    	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
    	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    	at cpw.mods.fml.common.LoadController.sendEventToModContainer(LoadController.java:212) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190) ~[forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
    	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
    	at com.google.common.eventbus.EventSubscriber.handleEvent(EventSubscriber.java:74) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.SynchronizedEventSubscriber.handleEvent(SynchronizedEventSubscriber.java:47) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.dispatch(EventBus.java:322) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:304) ~[guava-17.0.jar:?]
    	at com.google.common.eventbus.EventBus.post(EventBus.java:275) ~[guava-17.0.jar:?]
    	at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:119) [LoadController.class:?]
    	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737) [Loader.class:?]
    	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311) [FMLClientHandler.class:?]
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:597) [Minecraft.class:?]
    	at net.minecraft.client.Minecraft.run(Minecraft.java:942) [Minecraft.class:?]
    	at net.minecraft.client.main.Main.main(Main.java:164) [Main.class:?]
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_66]
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_66]
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_66]
    	at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_66]
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
    	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source) [start/:?]
    	at GradleStart.main(Unknown Source) [start/:?]
    [16:06:22] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:388]: ---- Minecraft Crash Report ----
    // Ooh. Shiny.
    
    Time: 12/19/15 4:06 PM
    Description: Initializing game
    
    java.lang.StringIndexOutOfBoundsException: String index out of range: 8
    	at java.lang.String.charAt(String.java:658)
    	at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:232)
    	at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
    	at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
    	at projectmayhem1983.wheeloftime.WheelOfTime.init(WheelOfTime.java:306)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	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:212)
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	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:119)
    	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
    	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
    	at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    	at net.minecraft.client.main.Main.main(Main.java:164)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    	at GradleStart.main(Unknown Source)
    
    
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
    
    -- Head --
    Stacktrace:
    	at java.lang.String.charAt(String.java:658)
    	at net.minecraft.item.crafting.CraftingManager.addRecipe(CraftingManager.java:232)
    	at cpw.mods.fml.common.registry.GameRegistry.addShapedRecipe(GameRegistry.java:250)
    	at cpw.mods.fml.common.registry.GameRegistry.addRecipe(GameRegistry.java:245)
    	at projectmayhem1983.wheeloftime.WheelOfTime.init(WheelOfTime.java:306)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at cpw.mods.fml.common.FMLModContainer.handleModStateEvent(FMLModContainer.java:532)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	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:212)
    	at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:190)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	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:119)
    	at cpw.mods.fml.common.Loader.initializeMods(Loader.java:737)
    	at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:311)
    	at net.minecraft.client.Minecraft.startGame(Minecraft.java:597)
    
    -- Initialization --
    Details:
    Stacktrace:
    	at net.minecraft.client.Minecraft.run(Minecraft.java:942)
    	at net.minecraft.client.main.Main.main(Main.java:164)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:497)
    	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
    	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
    	at net.minecraftforge.gradle.GradleStartCommon.launch(Unknown Source)
    	at GradleStart.main(Unknown Source)
    
    -- System Details --
    Details:
    	Minecraft Version: 1.7.10
    	Operating System: Windows 7 (amd64) version 6.1
    	Java Version: 1.8.0_66, Oracle Corporation
    	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
    	Memory: 600612936 bytes (572 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
    	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
    	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.99.99 Minecraft Forge 10.13.4.1558 4 mods loaded, 4 mods active
    	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    	UCHI	mcp{9.05} [Minecraft Coder Pack] (minecraft.jar) 
    	UCHI	FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
    	UCHI	Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar) 
    	UCHE	wot{1.0} [Wheel of Time] (bin) 
    	GL info: ' Vendor: 'ATI Technologies Inc.' Version: '3.3.11472 Compatibility Profile Context' Renderer: 'ATI Radeon HD 4550'
    	Launched Version: 1.7.10
    	LWJGL: 2.9.1
    	OpenGL: ATI Radeon HD 4550 GL version 3.3.11472 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: []
    	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)
    [16:06:22] [Client thread/INFO] [STDOUT]: [net.minecraft.client.Minecraft:displayCrashReport:398]: #@[email protected]# Game crashed! Crash report saved to: #@[email protected]# C:\Users\Chris\Desktop\Wheel Of Time\eclipse\.\crash-reports\crash-2015-12-19_16.06.22-client.txt
    AL lib: (EE) alc_cleanup: 1 device not closed
    Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release


    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    Thank you, changing it to solved now :)


    And I haven't seen a tutorial on config files yet. Once I get ready to release my first version, I'll look for one and work on a config file. I know I much prefer having one when I download someone elses mod.

    Posted in: Modification Development
  • 0

    posted a message on Custom Mobs wont attack each other.

    Here is my AI coding for both mobs. They both attack their extra targets, like witches, sheep, pigs, whatever I had set. But they never attack each other.


    Trolloc:


    package projectmayhem1983.wheeloftime.entities.mobs;
    
    import net.minecraft.entity.SharedMonsterAttributes;
    import net.minecraft.entity.ai.EntityAIAttackOnCollide;
    import net.minecraft.entity.ai.EntityAIHurtByTarget;
    import net.minecraft.entity.ai.EntityAILookIdle;
    import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
    import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
    import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
    import net.minecraft.entity.ai.EntityAISwimming;
    import net.minecraft.entity.ai.EntityAIWander;
    import net.minecraft.entity.ai.EntityAIWatchClosest;
    import net.minecraft.entity.monster.EntityMob;
    import net.minecraft.entity.passive.EntityChicken;
    import net.minecraft.entity.passive.EntityCow;
    import net.minecraft.entity.passive.EntityPig;
    import net.minecraft.entity.passive.EntitySheep;
    import net.minecraft.entity.passive.EntityVillager;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.init.Items;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.MathHelper;
    import net.minecraft.world.EnumDifficulty;
    import net.minecraft.world.World;
    
    public class EntityTrollocMob extends EntityMob{
    
    	public EntityTrollocMob(World world) {
    		super(world);
    		this.getNavigator().setBreakDoors(true);
    		this.getNavigator().setAvoidsWater(true);
            this.tasks.addTask(0, new EntityAISwimming(this));
            this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.2D, false));
            this.tasks.addTask(3, new EntityAIAttackOnCollide(this, EntityAiel.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityVillager.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityCow.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityChicken.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityPig.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntitySheep.class, 1.2D, true));
            this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
            this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, false));
            this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
            this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
            this.tasks.addTask(8, new EntityAILookIdle(this));
            this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityAiel.class, 0, false));
            this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityVillager.class, 0, false));
            this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityCow.class, 0, false));
            this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityChicken.class, 0, false));
            this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityPig.class, 0, false));
            this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntitySheep.class, 0, false));
            this.setSize(0.6F, 1.8F);
    	}
    	protected void applyEntityAttributes()
        {
            super.applyEntityAttributes();
            this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(20.0D);
            this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D);
            this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(6.0D);
            this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
        }
    	public int getTotalArmorValue()
        {
            int i = super.getTotalArmorValue() + 5;
    
            if (i > 20)
            {
                i = 20;
            }
    
            return i;
        }
    	
    	 protected boolean isAIEnabled()
    	    {
    	        return true;
    	    }
    	 
    	protected int getExperiencePoints(EntityPlayer p_70693_1_)
        {
            if (this.isChild())
            {
                this.experienceValue = (int)((float)this.experienceValue * 4.5F);
            }
    
            return super.getExperiencePoints(p_70693_1_);
        }
    	protected void addRandomArmor()
        {
            super.addRandomArmor();
    
            if (this.rand.nextFloat() < (this.worldObj.difficultySetting == EnumDifficulty.HARD ? 0.05F : 0.01F))
            {
                int i = this.rand.nextInt(3);
    
                if (i == 0)
                {
                    this.setCurrentItemOrArmor(0, new ItemStack(Items.iron_sword));
                }
                else
                {
                    this.setCurrentItemOrArmor(0, new ItemStack(Items.iron_chestplate));
                }
            }
        }
    	 public void onLivingUpdate()
    	    {
    	        if (this.worldObj.isDaytime() && !this.worldObj.isRemote && !this.isChild())
    	        {
    	            float var1 = this.getBrightness(100.0F);
    
    	            if (var1 > 0.5F && this.rand.nextFloat() * 30.0F < (var1 - 0.4F) * 2.0F && this.worldObj.canBlockSeeTheSky(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.posY), MathHelper.floor_double(this.posZ)))
    	            {
    	                boolean var2 = true;
    	                if (var2)
    	                {
    	                    this.setFire(-99);
    	                }
    	            }
    	        }
    
    	        super.onLivingUpdate();
    	    }
    }
    


    Aiel:


    package projectmayhem1983.wheeloftime.entities.mobs;
    
    import net.minecraft.entity.SharedMonsterAttributes;
    import net.minecraft.entity.ai.EntityAIAttackOnCollide;
    import net.minecraft.entity.ai.EntityAIHurtByTarget;
    import net.minecraft.entity.ai.EntityAILookIdle;
    import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
    import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
    import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
    import net.minecraft.entity.ai.EntityAISwimming;
    import net.minecraft.entity.ai.EntityAIWander;
    import net.minecraft.entity.ai.EntityAIWatchClosest;
    import net.minecraft.entity.monster.EntityMob;
    import net.minecraft.entity.monster.EntitySkeleton;
    import net.minecraft.entity.monster.EntitySpider;
    import net.minecraft.entity.monster.EntityWitch;
    import net.minecraft.entity.monster.EntityZombie;
    import net.minecraft.entity.player.EntityPlayer;
    import net.minecraft.init.Items;
    import net.minecraft.item.ItemStack;
    import net.minecraft.util.MathHelper;
    import net.minecraft.world.EnumDifficulty;
    import net.minecraft.world.World;
    
    public class EntityAielMob extends EntityMob{
    
    	public EntityAielMob(World world) {
    		super(world);
    		this.getNavigator().setAvoidsWater(true);
    		this.tasks.addTask(0, new EntityAISwimming(this));
            this.tasks.addTask(2, new EntityAIAttackOnCollide(this, EntityPlayer.class, 1.2D, false));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityTrolloc.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityZombie.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntitySpider.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntityWitch.class, 1.2D, true));
            this.tasks.addTask(4, new EntityAIAttackOnCollide(this, EntitySkeleton.class, 1.2D, true));
            this.tasks.addTask(5, new EntityAIMoveTowardsRestriction(this, 1.0D));
            this.tasks.addTask(6, new EntityAIMoveThroughVillage(this, 1.0D, false));
            this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
            this.tasks.addTask(8, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
            this.tasks.addTask(8, new EntityAILookIdle(this));
            this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityTrolloc.class, 0, false));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityZombie.class, 0, false));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntitySpider.class, 0, false));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityWitch.class, 0, false));
            this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntitySkeleton.class, 0, false));
            this.setSize(0.6F, 1.8F);
    	}
    	protected void applyEntityAttributes()
        {
            super.applyEntityAttributes();
            this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(20.0D);
            this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.23000000417232513D);
            this.getEntityAttribute(SharedMonsterAttributes.attackDamage).setBaseValue(5.0D);
            this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
        }
    	public int getTotalArmorValue()
        {
            int i = super.getTotalArmorValue() + 3;
    
            if (i > 20)
            {
                i = 20;
            }
    
            return i;
        }
    	
    	 protected boolean isAIEnabled()
    	    {
    	        return true;
    	    }
    	 
    	protected int getExperiencePoints(EntityPlayer p_70693_1_)
        {
            if (this.isChild())
            {
                this.experienceValue = (int)((float)this.experienceValue * 4.5F);
            }
    
            return super.getExperiencePoints(p_70693_1_);
        }
    	protected void addRandomArmor()
        {
            super.addRandomArmor();
    
            if (this.rand.nextFloat() < (this.worldObj.difficultySetting == EnumDifficulty.HARD ? 0.05F : 0.01F))
            {
                int i = this.rand.nextInt(3);
    
                if (i == 0)
                {
                    this.setCurrentItemOrArmor(0, new ItemStack(Items.iron_sword));
                }
                else
                {
                    this.setCurrentItemOrArmor(0, new ItemStack(Items.iron_chestplate));
                }
            }
        }
    	 public void onLivingUpdate()
    	    {
    	        if (this.worldObj.isDaytime() && !this.worldObj.isRemote && !this.isChild())
    	        {
    	            float var1 = this.getBrightness(100.0F);
    
    	            if (var1 > 0.5F && this.rand.nextFloat() * 30.0F < (var1 - 0.4F) * 2.0F && this.worldObj.canBlockSeeTheSky(MathHelper.floor_double(this.posX), MathHelper.floor_double(this.posY), MathHelper.floor_double(this.posZ)))
    	            {
    	                boolean var2 = true;
    	                if (var2)
    	                {
    	                    this.setFire(-99);
    	                }
    	            }
    	        }
    
    	        super.onLivingUpdate();
    	    }
    }
    


    Posted in: Modification Development
  • 0

    posted a message on Spawns in Biome

    When doing you EntityRegister.addspawn , if you want the mob/creature to spawn in all biomes, can you leave that variable out? Or do you have to define an array with all the biomes in it?

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    You are my hero. The game loads AND the angel finally works. I guess I should have realized the eventhandler for it wouldnt do anything if i didnt call for it in the main java file.. Mistakes of a noob though. Learning as I go though. Thank all you awesome people for your help!

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    Ahhhhh....somehow I must have accidentally deleted the event handler. I'll get that fixed when I get home later. And I'll try adding that other code as well. If it doesn't work I'll just say screw it and let them fly till they die or log

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    This also appears in my console when trying to run the game, not sure if it is important or related, but trying to give as much info as I can.


    [03:26:38] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing


    [03:26:52] [Client thread/ERROR] [FML]: Fatal errors were detected during the transition from INITIALIZATION to POSTINITIALIZATION. Loading cannot continue

    [03:26:52] [Client thread/ERROR] [FML]:
    States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
    UCHI mcp{9.05} [Minecraft Coder Pack] (minecraft.jar)
    UCHI FML{7.10.99.99} [Forge Mod Loader] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
    UCHI Forge{10.13.4.1558} [Minecraft Forge] (forgeSrc-1.7.10-10.13.4.1558-1.7.10.jar)
    UCHE wot{1.0} [Wheel of Time] (bin)
    [03:26:52] [Client thread/ERROR] [FML]: The following problems were captured during this phase
    [03:26:52] [Client thread/ERROR] [FML]: Caught exception from wot




    And what does it mean that it has Bin after the location?
    at projectmayhem1983.wheeloftime.WheelOfTime.init(WheelOfTime.java:234) ~[bin/:?]


    Does that mean it's something in the Bin folder that is causing it? Instead of the regular src location? I notice it has the (bin) in the error above also after UCHE wot


    So many questions, sorry. Trying to get everything I can on her before I go to work, I do 12 hour shifts so I won't be able to give anymore info till late tonight. Thanks in advance to anyone that sees this and helps out.


    Also, I see the Bin folder in my windows explorer, but not the project explorer. Is that normal?

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    Ok, been up for about an hour, going through and commenting out stuff, removing files that I just added, pretty much working "backwards" slowly getting rid of changes I made while I was working on the Motai creature. Nothing is getting the game to load. It makes zero sense. I played perfectly fine while testing out the Motai creature, I had to load the game several times while testing it out, then after I got the texture to render on it, I was flying around the desert trying to make one spawn and my game crashed. I got that first error about ticking memory connection with GenChestHooks error, and anytime I try to run the game now, it says I have a crafting recipe error. If I get rid of all my recipes, it tells me im missing 32 blocks and items, How does that even make sense? One crash over GenChestHooks has caused my game to no longer see my blocks and items? I made a new world too see if it worked, it crashed when I try to click the arrow to get over to the creative tab, if I'm reading that error right, I think it crashed trying to pull up the icon for my tab.

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    Ok, went ahead to load the game, and it tells me I have 32 missing blocks and items. So im guessing that why my crafting recipes are bad, for some reason its not seeing the items/blocks anymore. I dont see anything in the code that would make it not see my items. Especially since it DOES see the itemSunburst and itemTabard for their crafting recipes.



    ***EDIT***

    Scratch that, it specially says itemSunburst is one of the missing items/blocks

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    I commented out EVERY crafting recipe and the game loaded. I un-commented the last one and it crashed. I un-commented these two:

    GameRegistry.addRecipe(new ItemStack(itemSunburst), new Object[]{" G ","GGG"," G ",'G',Items.gold_nugget});
    GameRegistry.addRecipe(new ItemStack(itemTabard), new Object[]{"W W","WWW","WWW",'W',Blocks.wool});


    and the game loads, I uncommented a few more one by one, and each time the game wont load. I cannot for the life of me, figure out why my crafting recipes, which have all worked from the time i made them, are now suddenly causing the game to not load

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    Ok started getting my stuff on github, I dont see how to make folders for it to go into though. but here is the main WheelOfTime.java file and the AngelEventHandler.java , ill have to upload the others later, gotta get some sleep for work tomorrow morning.


    https://github.com/projectmayhem1983/WheelOfTimeMod


    ***EDIT***


    ok, got the whole thing sync'd, but the path was weird, so here is a link

    https://github.com/projectmayhem1983/WheelOfTimeMod/tree/master/Wheel Of Time/src/main/java/projectmayhem1983/wheeloftime


    that is the start of all my files. I did my best with everything considering I had to go from MrCrayfish's tutorials to another guys, since crayfish didnt cover mobs and stuff. The second guy doesnt explain stuff as well, and his coding seems a lot different. So if you see anything that is done stupidly, let me know. I cant see why the crafting recipes would be causing an error.

    Posted in: Modification Development
  • 0

    posted a message on Disabling Flight if Item is not in the inventory. **Solved**

    GameRegistry.addRecipe(new ItemStack(blockCuendillar), new Object[]{"CCC","CCC","CCC",'C',WheelOfTime.itemCuendillar});


    this is the line from at projectmayhem1983.wheeloftime.WheelOfTime.init(WheelOfTime.java:237) in the error code. This was the very first recipe I added when I was doing the tutorial. It has never caused a crash before. None of the recipes Ive added have ever crashed the game.


    *Edit*

    I commented out that recipe, and now it links to the second recipe. Im assuming if i comment it out, it'll just point to the next one

    Posted in: Modification Development
  • To post a comment, please .