Jump to content

jamesbrq

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by jamesbrq

  1. I dont know whats wrong with my forge. Here is the dev console:
  2. I made an event in which a player will get items upon creation of world, and it crashes as the world is created... what is the problem? p.s I am not great with java, i am taking classes for it at school and haven't gotten far into it... Crash: Base Mod File: StartingItemsEventHandler:
  3. When i join or create a new world, i crash and get this error: Base Mod File:
  4. Can i see some example code so i will know how to use that better please?
  5. I am trying to make it so that whenever a player spawns into the world for the first time, he/she will recieve the two items i want them to have.
  6. I managed to find what i needed, but now all i need to know is how to add an item into a players inventory.
  7. I want to know how i can check if a player has a certain item in his inventory, and also how to remove items from a players inventory
  8. Nevermind, i fixed the texture issue, thanks for all of your help!!!
  9. *facepalm* i forgot about vanilla's fireball... Ok, so now it renders, but now it doesnt use the texture i want. How can i fix that...
  10. now when i launch minecraft, i get this error: error: Enitity registering class:
  11. Ok, so i called the wrong method in my baseMod file, so now it calls proxy.registerRenderThings() , but i still just get a white box when it renders...
  12. Hi, i am trying to render my entity, but when it renders, it is a white box and not the model i provided. The entity will be shot when i right click an item. How can i fix this so it uses my model i want it to use? EntityFireball: RenderFireball: ModelFireball: baseMod file: ClientProxy: Item:
  13. Thanks for your time though!!!
  14. I acually just fixed it. I basically added the 2 folders to the build path again and removed the other two and it somehow fixed itself
  15. i downloaded the forge src for the latest version of 1.7.10, and then i ran the console in the force folder and ran these two commands "gradlew.bat setupDecompWorkspace" and then "gradlew.bat eclipse"
  16. sorry, i new to eclipse, it say "Project 'Minecraft' is missing required source folder: 'src/main/java" "Project 'Minecraft' is missing required source folder: 'src/main/resources" and "The project cannot be built until build path errors are solved"
  17. I looked through the whole thing and have found no errors
  18. it has been like that since i started making the mod, it was like that before i even started
  19. Whenever i run the java application through eclipse, my mod loads incorrectly. For example, if i edit some files to change an item for example, it never changes and stays how it was previosly. It has me use my mod as though i never change it, even though it is changed constantly. Also, my java source files are in my src/main/java directory, but i believe for some reason it is using a different directory that i was never using, which is the bin directory. Please tell my how to get it so eclipse uses the java files in the src directory so i can actually do stuff to my mod.
  20. I crash when i load minecraft, and i'm not even using mods yet in this... java.lang.VerifyError: Bad type on operand stack Exception Details: Location: net/minecraft/client/model/PositionTextureVertex.a(Lnet/minecraft/client/particle/EntityCrit2FX;)V @64: putfield Reason: Type 'net/minecraft/client/model/ModelIronGolem' (current frame, stack[1]) is not assignable to 'java/lang/Thread' Current Frame: bci: @64 flags: { } locals: { 'net/minecraft/client/model/PositionTextureVertex', 'net/minecraft/client/particle/EntityCrit2FX' } stack: { 'net/minecraft/client/model/PositionTextureVertex', 'net/minecraft/client/model/ModelIronGolem' } Bytecode: 0000000: 2ab4 0037 c700 202a b400 2ac6 0025 2ab4 0000010: 002a 2bb6 0048 2a2a b400 2ab6 0049 b500 0000020: 4ba7 000f 2ab6 004c 2ab4 0037 b800 3d57 0000030: 2ab4 004e c700 bb2a bb00 5059 2ab7 0053 0000040: b500 4e2a b400 4e04 b600 592a b400 4ebb 0000050: 005b 59b7 005c 125e b600 622a b400 1bb6 0000060: 0062 b600 66b6 006a 2ab4 004e b600 6dbb 0000070: 006f 592a b400 1bb7 0071 4d2c b600 744e 0000080: 1276 3a04 1278 3a05 2d19 05b6 007c 9900 0000090: 5d2d 1905 b600 7fb6 0083 3a06 bb00 5b59 00000a0: b700 5c12 85b6 0062 1906 b600 62b6 0066 00000b0: 3a07 bb00 8759 2a19 07bb 0089 59b7 008a 00000c0: b700 8d3a 0819 0804 b600 5919 08bb 005b 00000d0: 59b7 005c 128f b600 622a b400 1bb6 0062 00000e0: b600 66b6 006a 1908 b600 6da7 0004 4db1 00000f0: Exception Handler Table: bci [111, 235] => handler: 238 Stackmap Table: same_frame(@36) same_frame(@48) same_frame_extended(@235) same_locals_1_stack_item_frame(@238,Object[#70]) same_frame(@239) at net.minecraft.client.model.ModelBox.<init>(ModelBox.java:47) at net.minecraft.client.model.ModelRenderer.func_78790_a(ModelRenderer.java:94) at net.minecraft.client.model.ModelSpider.<init>(SourceFile:16) at net.minecraft.client.renderer.entity.RenderSpider.<init>(SourceFile:15) at net.minecraft.client.renderer.entity.RenderCaveSpider.<init>(SourceFile:11) at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:121) at net.minecraft.client.renderer.entity.RenderManager.<clinit>(RenderManager.java:100) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:487) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) at net.minecraft.client.main.Main.main(SourceFile:103) 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:134) 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.minecraft.client.model.ModelBox.<init>(ModelBox.java:47) at net.minecraft.client.model.ModelRenderer.func_78790_a(ModelRenderer.java:94) at net.minecraft.client.model.ModelSpider.<init>(SourceFile:16) at net.minecraft.client.renderer.entity.RenderSpider.<init>(SourceFile:15) at net.minecraft.client.renderer.entity.RenderCaveSpider.<init>(SourceFile:11) at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:121) at net.minecraft.client.renderer.entity.RenderManager.<clinit>(RenderManager.java:100) at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:487) -- Initialization -- Details: Stacktrace: at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:815) at net.minecraft.client.main.Main.main(SourceFile:103) 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:134) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) -- System Details -- Details: Minecraft Version: 1.7.2 Operating System: Windows 8.1 (amd64) version 6.3 Java Version: 1.8.0, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 183748664 bytes (175 MB) / 273678336 bytes (261 MB) up to 3817865216 bytes (3641 MB) JVM Flags: 2 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx4G 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.03 FML v7.2.217.1147 Minecraft Forge 10.12.2.1147 3 mods loaded, 3 mods active mcp{9.03} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized FML{7.2.217.1147} [Forge Mod Loader] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized Forge{10.12.2.1147} [Minecraft Forge] (forge-1.7.2-10.12.2.1147.jar) Unloaded->Constructed->Pre-initialized Launched Version: 1.7.2-Forge10.12.2.1147 LWJGL: 2.9.0 OpenGL: Intel® HD Graphics 2000 GL version 3.1.0 - Build 9.17.10.2932, Intel 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: ~~ERROR~~ NullPointerException: null Anisotropic Filtering: Off (1)
×
×
  • Create New...

Important Information

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