Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

keepcalm

Forge Modder
  • Posts

    281
  • Joined

  • Last visited

Posts posted by keepcalm

  1. Alright, so I cannot add or remove info to my block. Here is my code:

    Block

    --snip--

        expbankte = (TileEntityExpBank) par1World.getBlockTileEntity(par2, par3, par4);

        try{

        if(expbankte==null)expbankte.setWorldObj(par1World);

        if(expbankte==null)expbankte.setExpLevel(0);

        }catch(Exception e){

     

     

    That's always going to throw an exception, and you use that in every function - if it's null, how can you set the world?

     

    And, you could have a perfect TE, but you never actually make a new instance - it is ALWAYS going to be null. Fix your createNewTileEntity method!

     

     

  2. I have the latest version of forge and minecraft, no mods are currently installed just a texture pack.

     

     

    ---- Minecraft Crash Report ----

    // Sorry :(

     

    Time: 12/21/12 2:58 PM

    Description: Rendering entity in world

     

    java.lang.NoSuchFieldError: randomMobsInfo

    at com.pclewis.mcpatcher.mod.MobRandomizer$ExtraInfo.getInfo(MobRandomizer.java:86)

    at com.pclewis.mcpatcher.mod.MobRandomizer.randomTexture(MobRandomizer.java:32)

    at com.pclewis.mcpatcher.mod.MobRandomizer.randomTexture(MobRandomizer.java:25)

    at bcj.a(SourceFile:195)

    at bcj.a(SourceFile:81)

    at bcj.a(SourceFile:17)

    at bbu.a(RenderManager.java:302)

    at bbu.a(RenderManager.java:271)

    at bav.a(RenderGlobal.java:490)

    at ban.a(EntityRenderer.java:1131)

    at ban.b(EntityRenderer.java:974)

    at net.minecraft.client.Minecraft.J(Minecraft.java:882)

    at net.minecraft.client.Minecraft.run(Minecraft.java:771)

    at java.lang.Thread.run(Unknown Source)

     

     

    A detailed walkthrough of the error, its code path and all known details is as follows:

    ---------------------------------------------------------------------------------------

     

    -- Head --

    Stacktrace:

    at com.pclewis.mcpatcher.mod.MobRandomizer$ExtraInfo.getInfo(MobRandomizer.java:86)

    at com.pclewis.mcpatcher.mod.MobRandomizer.randomTexture(MobRandomizer.java:32)

    at com.pclewis.mcpatcher.mod.MobRandomizer.randomTexture(MobRandomizer.java:25)

    at bcj.a(SourceFile:195)

    at bcj.a(SourceFile:81)

    at bcj.a(SourceFile:17)

     

    -- Entity being rendered --

    Details:

    Entity Type: Creeper (qc)

    Entity ID: 324

    Name: Creeper

    Exact location: 1.69, 51.00, -25.91

    Block location: World: (1,51,-26), Chunk: (at 1,3,6 in 0,-2; contains blocks 0,0,-32 to 15,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)

    Momentum: 0.00, -0.08, 0.00

     

    -- Renderer details --

    Details:

    Assigned renderer: bbp@4cecd3

    Location: 40.53,-31.62,-30.28 - World: (40,-32,-31), Chunk: (at 8,-2,1 in 2,-2; contains blocks 32,0,-32 to 47,255,-17), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)

    Rotation: 26.71875

    Delta: 0.97471094

    Stacktrace:

    at bbu.a(RenderManager.java:302)

    at bbu.a(RenderManager.java:271)

    at bav.a(RenderGlobal.java:490)

    at ban.a(EntityRenderer.java:1131)

     

    -- Affected level --

    Details:

    Level name: MpServer

    All players: 1 total; [ays['Player855'/235, l='MpServer', x=-38.85, y=82.62, z=4.38]]

    Chunk stats: MultiplayerChunkCache: 75

    Level seed: 0

    Level generator: ID 00 - default, ver 1. Features enabled: false

    Level generator options:

    Level spawn location: World: (-168,64,256), Chunk: (at 8,4,0 in -11,16; contains blocks -176,0,256 to -161,255,271), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)

    Level time: 6519819 game time, 6726908 day time

    Level dimension: 0

    Level storage version: 0x00000 - Unknown?

    Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

    Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

    Forced entities: 48 total; [mg['Painting'/195, l='MpServer', x=-10.50, y=68.00, z=72.06], qd['Enderman'/341, l='MpServer', x=19.41, y=27.00, z=34.75], mg['Painting'/196, l='MpServer', x=-12.94, y=84.50, z=66.00], qn['Skeleton'/339, l='MpServer', x=26.44, y=18.00, z=27.97], qn['Skeleton'/338, l='MpServer', x=25.16, y=19.00, z=20.25], mg['Painting'/196, l='MpServer', x=-12.94, y=84.50, z=66.00], ow['Bat'/287, l='MpServer', x=-43.03, y=16.10, z=-35.25], qr['Zombie'/286, l='MpServer', x=-32.94, y=12.00, z=-42.56], mg['Painting'/195, l='MpServer', x=-10.50, y=68.00, z=72.06], ow['Bat'/326, l='MpServer', x=10.75, y=45.10, z=-7.75], qc['Creeper'/259, l='MpServer', x=-96.50, y=15.00, z=63.06], ow['Bat'/327, l='MpServer', x=11.41, y=45.10, z=-5.34], qc['Creeper'/324, l='MpServer', x=1.69, y=51.00, z=-25.91], qc['Creeper'/325, l='MpServer', x=4.53, y=30.00, z=-14.50], qr['Zombie'/262, l='MpServer', x=-90.03, y=44.00, z=-59.41], ow['Bat'/263, l='MpServer', x=-81.75, y=45.10, z=-23.59], qr['Zombie'/266, l='MpServer', x=-88.00, y=25.00, z=61.47], qr['Zombie'/267, l='MpServer', x=-84.91, y=25.00, z=60.68], qn['Skeleton'/264, l='MpServer', x=-85.28, y=47.00, z=-25.75], ays['Player855'/235, l='MpServer', x=-38.85, y=82.62, z=4.38], px['item.item.rottenFlesh'/330, l='MpServer', x=14.75, y=64.13, z=27.88], mg['Painting'/314, l='MpServer', x=-0.50, y=84.00, z=60.06], mg['Painting'/315, l='MpServer', x=-6.50, y=84.00, z=60.06], qr['Zombie'/268, l='MpServer', x=-87.00, y=24.00, z=61.44], qr['Zombie'/328, l='MpServer', x=14.53, y=39.00, z=12.94], qr['Zombie'/269, l='MpServer', x=-93.25, y=21.00, z=60.75], qr['Zombie'/329, l='MpServer', x=15.00, y=38.00, z=17.41], pk['Wolf'/304, l='MpServer', x=-21.53, y=85.00, z=53.91], qr['Zombie'/175, l='MpServer', x=-69.31, y=59.00, z=72.22], qp['Spider'/309, l='MpServer', x=-11.50, y=17.00, z=-15.00], qr['Zombie'/174, l='MpServer', x=-71.31, y=59.00, z=73.69], qr['Zombie'/308, l='MpServer', x=-0.50, y=30.00, z=-11.34], qr['Zombie'/311, l='MpServer', x=-10.47, y=31.00, z=41.06], qr['Zombie'/310, l='MpServer', x=-7.53, y=31.00, z=45.25], qn['Skeleton'/313, l='MpServer', x=-4.25, y=34.00, z=42.84], qr['Zombie'/312, l='MpServer', x=-8.50, y=31.00, z=45.50], mg['Painting'/315, l='MpServer', x=-6.50, y=84.00, z=60.06], mg['Painting'/314, l='MpServer', x=-0.50, y=84.00, z=60.06], qc['Creeper'/167, l='MpServer', x=-85.69, y=24.00, z=68.59], qc['Creeper'/166, l='MpServer', x=-83.15, y=25.00, z=66.31], qn['Skeleton'/288, l='MpServer', x=-44.50, y=21.00, z=59.91], qp['Spider'/289, l='MpServer', x=-32.41, y=17.65, z=58.69], qc['Creeper'/176, l='MpServer', x=-72.25, y=59.00, z=72.75], qc['Creeper'/177, l='MpServer', x=-79.00, y=59.00, z=73.41], qd['Enderman'/300, l='MpServer', x=-19.41, y=24.00, z=-39.09], qc['Creeper'/301, l='MpServer', x=-29.78, y=24.00, z=45.59], qp['Spider'/302, l='MpServer', x=-29.00, y=17.00, z=60.91], qn['Skeleton'/303, l='MpServer', x=-26.56, y=17.00, z=61.88]]

    Retry entities: 0 total; []

    Stacktrace:

    at ayp.a(WorldClient.java:440)

    at net.minecraft.client.Minecraft.b(Minecraft.java:2401)

    at net.minecraft.client.Minecraft.run(Minecraft.java:787)

    at java.lang.Thread.run(Unknown Source)

     

    -- System Details --

    Details:

    Minecraft Version: 1.4.6

    Operating System: Windows 7 (x86) version 6.1

    Java Version: 1.7.0_04, Oracle Corporation

    Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

    Memory: 79780888 bytes (76 MB) / 231333888 bytes (220 MB) up to 1046937600 bytes (998 MB)

    JVM Flags: 2 total; -Xincgc -Xmx1024m

    AABB Pool Size: 7955 (445480 bytes; 0 MB) allocated, 2948 (165088 bytes; 0 MB) used

    Suspicious classes: FML and Forge are installed

    IntCache: cache: 0, tcache: 0, allocated: 3, tallocated: 63

    FML: MCP v7.25 FML v4.6.12.511 Minecraft Forge 6.5.0.471 3 mods loaded, 3 mods active

    mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

    FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

    Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available

    LWJGL: 2.4.2

    OpenGL: Intel® HD Graphics Family GL version 3.0.0 - Build 8.15.10.2279, Intel

    Is Modded: Definitely; Client brand changed to 'forge,fml'

    Type: Client (map_client.txt)

    Texture Pack: DokuCraft - The Saga Continues  1.0.zip

    Profiler Position: N/A (disabled)

    Vec3 Pool Size: 465 (26040 bytes; 0 MB) allocated, 465 (26040 bytes; 0 MB) used

     

     

    Use optifine, not MCPatcher

     

    2012-12-21 14:47:15 [sEVERE] [ForgeModLoader] There were errors during initial FML setup. Some files failed to download or were otherwise corrupted. You will need to manually obtain the following files from these download links and ensure your lib directory is clean.

    2012-12-21 14:47:15 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/argo-2.25.jar

    2012-12-21 14:47:15 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/guava-12.0.1.jar

    2012-12-21 14:47:15 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/asm-all-4.0.jar

    2012-12-21 14:47:15 [sEVERE] [ForgeModLoader] *** Download http://files.minecraftforge.net/fmllibs/bcprov-jdk15on-147.jar

     

    Read the O-EAQ!

     

    ik what happend i use magic launcher and i used it,then when i put it in it said 1 error so i pressed tes t and it said:

     

     

    *** MagicMinecraftLauncher 1.0.0 ***

    Disable inactive mods

    2012-12-21 16:44:07 [iNFO] [ForgeModLoader] Forge Mod Loader version 4.6.12.511 for Minecraft 1.4.6 loading

    2012-12-21 16:44:08 [sEVERE] [ForgeModLoader] FML appears to be missing any signature data. This is not a good thing

    2012-12-21 16:44:14 [iNFO] [sTDOUT] 27 achievements

    2012-12-21 16:44:15 [iNFO] [sTDOUT] 210 recipes

    2012-12-21 16:44:15 [iNFO] [sTDOUT] Setting user: User_, -

    2012-12-21 16:44:15 [iNFO] [sTDERR] Client asked for parameter: server

    2012-12-21 16:44:15 [iNFO] [sTDOUT] LWJGL Version: 2.4.2

    2012-12-21 16:44:17 [iNFO] [ForgeModLoader] Attempting early MinecraftForge initialization

    2012-12-21 16:44:17 [iNFO] [sTDOUT] MinecraftForge v6.5.0.471 Initialized

    2012-12-21 16:44:17 [iNFO] [ForgeModLoader] MinecraftForge v6.5.0.471 Initialized

    2012-12-21 16:44:17 [iNFO] [sTDOUT] Replaced 84 ore recipies

    2012-12-21 16:44:17 [iNFO] [ForgeModLoader] Completed early MinecraftForge initialization

    2012-12-21 16:44:18 [iNFO] [ForgeModLoader] Searching C:\Users\The Kids.Victoria-PC\AppData\Roaming\.minecraft\mods for mods

    2012-12-21 16:44:20 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load

    2012-12-21 16:44:20 [iNFO] [sTDERR] Exception in thread "Minecraft main thread" java.lang.NoSuchFieldError: b

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at drzhark.mocreatures.MoCreatures.<clinit>(MoCreatures.java:75)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at java.lang.Class.forName0(Native Method)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at java.lang.Class.forName(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:414)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at java.lang.reflect.Method.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.post(EventBus.java:268)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:140)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at java.lang.reflect.Method.invoke(Unknown Source)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at com.google.common.eventbus.EventBus.post(EventBus.java:268)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:83)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at cpw.mods.fml.common.Loader.loadMods(Loader.java:478)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:161)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at net.minecraft.client.Minecraft.a(Minecraft.java:410)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at asq.a(SourceFile:56)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at net.minecraft.client.Minecraft.run(Minecraft.java:744)

    2012-12-21 16:44:20 [iNFO] [sTDERR]    at java.lang.Thread.run(Unknown Source) 

    I got rid of what the user number was :P hopefully that didnt mean anything

     

     

    Clear out your mods. Is mo creatures for 1.4.6 yet? I think not...

  3. I have the same issues with NEI and forge. I use forge version "minecraftforge-src-1.4.5-6.4.2.445", and it seems it doesn't generate the commons folder anymore.

     

    If I copy the source from NEI/ChickenCore into <forge>/mcp/src/common (after creating the folder) it's not recognized, if i copy it into the <forge>/mcp/src/minecraft tree all the imports inside the NEI/ChickenCore java files seem to be wrong.

    Heh. I mistyped that.

  4. In the future, use spoiler, not hidden ;)

     

    Also, judging from what you're trying to do, the best way to do it would be to add a function call, rather than rewriting the entire method. You might want to have a look at the source code for my mod, which does something similar, but uses ItemInWorldManager (so it's server-side only).

     

    If you want more help, PM me (I think I've worked out how to do this ASM stuff)

  5. Ok:

    1. copy all the <something>_at.cfgs from the NEI and CCC zips/whatever, put them in <forge>/accesstransformers

    2  if any of them contain a file "<name>_dummmy.jar" copy this to the "<mcp>/jars/"+(mods or coremods) folder depending on where the mod is installed

    3. run forge/install.sh

    4. copy the NEI and CCC code from the src zips into <forge>/mcp/src/minecraft

    5. Do whatever you normally do.

×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.