Jump to content

Jade_Knightblazer

Members
  • Posts

    88
  • Joined

  • Last visited

Everything posted by Jade_Knightblazer

  1. well many of the meta data is taken up by Direction, since it can be placed on walls =/ It is very import due to how the block renders is based on the Metadata aswell. I guess I will just have to make a cheesy "Chance to break" percentage eh?
  2. Well... with that idea out the window. Is there any other way to store data on Blocks besides meta? I really want to give this block a health pool.
  3. Looking for a way to allow pistons to move my block, with extends BlockContainer and has an TileEntity, Do to BlockPistonBase's: return !par1World.blockHasTileEntity(par2, par3, par4); , my block well.... blocks pistons from extending. private static boolean canPushBlock(int par0, World par1World, int par2, int par3, int par4, boolean par5) { if (par0 == Block.obsidian.blockID) { return false; } else { if (par0 != Block.pistonBase.blockID && par0 != Block.pistonStickyBase.blockID) { if (Block.blocksList[par0].getBlockHardness(par1World, par2, par3, par4) == -1.0F) { return false; } if (Block.blocksList[par0].getMobilityFlag() == 2) { return false; } if (Block.blocksList[par0].getMobilityFlag() == 1) { if (!par5) { return false; } return true; } } else if (isExtended(par1World.getBlockMetadata(par2, par3, par4))) { return false; } -------------------------> return !par1World.blockHasTileEntity(par2, par3, par4); <-------------------------------- } } Is there a hook I can use to bypass the normal piston behavioral or another way to backdoor this problem? -Thanks Btw, I am using TileEntity to store the blocks "Durability", which when its durabiliy reaches 0, the block and tileentity are removed. via breakBlock(); I found TileEntitys are the only way to store NBT infomation for the block which they are located at =/, since the Block Meta is taken up by its placement direction (block is place able on walls).
  4. Here is my error report for my server. I am currently only running Forge with no mods. after 1min or less the server just closes... =/ My server was working just fine until either it was a Windows update or a Java update T_T, after that I can't host a server. # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e935bcd, pid=1140, tid=2884 # # JRE version: 7.0_21-b11 # Java VM: Java HotSpot™ Client VM (23.21-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # V [jvm.dll+0x175bcd] # # Failed to write core dump. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # http://bugreport.sun...eport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x02b7dc00): VMThread [stack: 0x02d50000,0x02da0000] [id=2884] siginfo: ExceptionCode=0xc0000005, reading address 0x00000064 Registers: EAX=0x2baa1ce8, EBX=0x00000003, ECX=0x33087c68, EDX=0x00000000 ESP=0x02d9f8e8, EBP=0x02d9f900, ESI=0x00000000, EDI=0x2ba85e30 EIP=0x6e935bcd, EFLAGS=0x00010202 Top of Stack: (sp=0x02d9f8e8) 0x02d9f8e8: 2baa1ce8 6eabc628 37adda50 003cc510 0x02d9f8f8: 02d9f90c 6e93600b 02d9f90c 6e936011 0x02d9f908: 6eabc628 02d9f920 6e835016 00000003 0x02d9f918: 6eabc628 003cc510 02d9f93c 6e831444 0x02d9f928: 6eabc628 00000000 6eabc628 6eabc628 0x02d9f938: 003cc510 02d9f97c 6e82b4bf 01000001 0x02d9f948: 00000001 00000002 6eabc628 02d9f968 0x02d9f958: 6eabc628 00000001 003cc510 6e8ed200 Instructions: (pc=0x6e935bcd) 0x6e935bad: 64 c5 ab 6e a3 60 c5 ab 6e 8b c7 eb 09 48 a3 60 0x6e935bbd: c5 ab 6e 8b 04 81 8b 48 04 8b 51 08 83 c1 08 50 0x6e935bcd: 8b 42 64 ff d0 8b 0d 6c c5 ab 6e 85 c9 0f 85 50 0x6e935bdd: ff ff ff a1 d8 c5 ab 6e 85 c0 0f 84 bb 00 00 00 Register to memory mapping: EAX= [error occurred during error reporting (printing register info), id 0xc0000005] Stack: [0x02d50000,0x02da0000], sp=0x02d9f8e8, free space=318k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x175bcd] V [jvm.dll+0x176011] V [jvm.dll+0x75016] V [jvm.dll+0x71444] V [jvm.dll+0x6b4bf] V [jvm.dll+0x6d35f] V [jvm.dll+0x6d7c0] V [jvm.dll+0x6c327] V [jvm.dll+0x73b03] V [jvm.dll+0x6af02] V [jvm.dll+0x6b2ee] V [jvm.dll+0x17872c] V [jvm.dll+0x150545] V [jvm.dll+0x14f6ce] V [jvm.dll+0x14fa57] V [jvm.dll+0x14ff22] V [jvm.dll+0x1802a9] C [msvcr100.dll+0x5c6de] endthreadex+0x3a C [msvcr100.dll+0x5c788] endthreadex+0xe4 C [kernel32.dll+0xb729] GetModuleFileNameA+0x1ba VM_Operation (0x034bf3e4): GenCollectFull, mode: safepoint, requested by thread 0x03c42400 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0319d800 JavaThread "Listen thread" [_thread_in_native, id=192, stack(0x03680000,0x036d0000)] 0x003c8400 JavaThread "DestroyJavaVM" [_thread_blocked, id=3432, stack(0x00a00000,0x00a50000)] 0x03c85c00 JavaThread "Server thread" [_thread_blocked, id=3684, stack(0x03520000,0x03570000)] 0x03c3a400 JavaThread "TimerQueue" daemon [_thread_blocked, id=3392, stack(0x034c0000,0x03510000)] 0x03c42400 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2464, stack(0x03470000,0x034c0000)] 0x03c2d400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=592, stack(0x03370000,0x033c0000)] 0x03c27800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2320, stack(0x03320000,0x03370000)] 0x03c26400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3804, stack(0x032d0000,0x03320000)] 0x03c1dc00 JavaThread "Thread-3" daemon [_thread_blocked, id=304, stack(0x03280000,0x032d0000)] 0x03c07800 JavaThread "Snooper Timer" daemon [_thread_blocked, id=2064, stack(0x03230000,0x03280000)] 0x03057c00 JavaThread "Thread-1" daemon [_thread_blocked, id=3456, stack(0x039e0000,0x03a30000)] 0x02b9b800 JavaThread "Service Thread" daemon [_thread_blocked, id=1500, stack(0x02f30000,0x02f80000)] 0x02b96800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=2288, stack(0x02ee0000,0x02f30000)] 0x02b94000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3524, stack(0x02e90000,0x02ee0000)] 0x02b92800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3340, stack(0x02e40000,0x02e90000)] 0x02b84400 JavaThread "Finalizer" daemon [_thread_blocked, id=3520, stack(0x02df0000,0x02e40000)] 0x02b7f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1296, stack(0x02da0000,0x02df0000)] Other Threads: =>0x02b7dc00 VMThread [stack: 0x02d50000,0x02da0000] [id=2884] 0x02bae400 WatcherThread [stack: 0x02f80000,0x02fd0000] [id=2108] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x003c7100] Threads_lock - owner thread: 0x02b7dc00 [0x003c7510] Heap_lock - owner thread: 0x03c42400 Heap def new generation total 70336K, used 2662K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 4% used [0x22af0000, 0x22d89ab0, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 60165K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 38% used [0x28040000, 0x2bb014b8, 0x2bb01600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Card table byte_map: [0x02bf0000,0x02ca0000] byte_map_base: 0x02ada880 Polling page: 0x003f0000 Code Cache [0x00a70000, 0x00e80000, 0x02a70000) total_blobs=2446 nmethods=2166 adapters=214 free_code_cache=28615Kb largest_free_block=29298432 Compilation events (10 events): Event: 69.550 Thread 0x02b96800 2191 net.minecraft.world.storage.DerivedWorldInfo::func_76073_f (8 bytes) Event: 69.550 Thread 0x02b96800 nmethod 2191 0x00e7ce88 code [0x00e7cf90, 0x00e7d02c] Event: 70.000 Thread 0x02b96800 2192 cpw.mods.fml.common.FMLCommonHandler::tickStart (114 bytes) Event: 70.002 Thread 0x02b96800 nmethod 2192 0x00e7d088 code [0x00e7d250, 0x00e7d610] Event: 70.014 Thread 0x02b96800 2193 cpw.mods.fml.common.FMLCommonHandler::tickEnd (114 bytes) Event: 70.015 Thread 0x02b96800 nmethod 2193 0x00e7db08 code [0x00e7dcd0, 0x00e7e090] Event: 70.020 Thread 0x02b96800 2194 net.minecraft.world.World::func_72840_a (176 bytes) Event: 70.022 Thread 0x02b96800 nmethod 2194 0x00e7e588 code [0x00e7e730, 0x00e7eb40] Event: 70.410 Thread 0x02b96800 2195 sun.java2d.pipe.SolidTextRenderer::drawGlyphList (17 bytes) Event: 70.410 Thread 0x02b96800 nmethod 2195 0x00e7ee48 code [0x00e7ef50, 0x00e7f00c] GC Heap History (10 events): Event: 68.422 GC heap after Heap after GC invocations=201 (full 129): def new generation total 70336K, used 0K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 0% used [0x22af0000, 0x22af0000, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 64599K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 41% used [0x28040000, 0x2bf55d70, 0x2bf55e00, 0x318d2000) compacting perm gen total 12288K, used 8517K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333414a0, 0x33341600, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) } Event: 68.735 GC heap before {Heap before GC invocations=201 (full 129): def new generation total 70336K, used 3911K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 6% used [0x22af0000, 0x22ec1c48, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 64599K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 41% used [0x28040000, 0x2bf55d70, 0x2bf55e00, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Event: 68.920 GC heap after Heap after GC invocations=202 (full 130): def new generation total 70336K, used 0K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 0% used [0x22af0000, 0x22af0000, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 65470K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 41% used [0x28040000, 0x2c02fa58, 0x2c02fc00, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) } Event: 69.236 GC heap before {Heap before GC invocations=202 (full 130): def new generation total 70336K, used 2662K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 4% used [0x22af0000, 0x22d89ab0, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 65470K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 41% used [0x28040000, 0x2c02fa58, 0x2c02fc00, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427c8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Event: 69.412 GC heap after Heap after GC invocations=203 (full 131): def new generation total 70336K, used 0K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 0% used [0x22af0000, 0x22af0000, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 65737K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 42% used [0x28040000, 0x2c072490, 0x2c072600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427c8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) } Event: 69.737 GC heap before {Heap before GC invocations=203 (full 131): def new generation total 70336K, used 2657K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 4% used [0x22af0000, 0x22d88568, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 65737K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 42% used [0x28040000, 0x2c072490, 0x2c072600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427c8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Event: 69.922 GC heap after Heap after GC invocations=204 (full 132): def new generation total 70336K, used 0K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 0% used [0x22af0000, 0x22af0000, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 60073K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 38% used [0x28040000, 0x2baea5b8, 0x2baea600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) } Event: 70.238 GC heap before {Heap before GC invocations=204 (full 132): def new generation total 70336K, used 2662K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 4% used [0x22af0000, 0x22d89ad0, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 60073K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 38% used [0x28040000, 0x2baea5b8, 0x2baea600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Event: 70.408 GC heap after Heap after GC invocations=205 (full 133): def new generation total 70336K, used 0K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 0% used [0x22af0000, 0x22af0000, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 60165K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 38% used [0x28040000, 0x2bb014b8, 0x2bb01600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) } Event: 70.739 GC heap before {Heap before GC invocations=205 (full 133): def new generation total 70336K, used 2662K [0x22af0000, 0x27740000, 0x28040000) eden space 62528K, 4% used [0x22af0000, 0x22d89ab0, 0x26800000) from space 7808K, 0% used [0x26800000, 0x26800000, 0x26fa0000) to space 7808K, 0% used [0x26fa0000, 0x26fa0000, 0x27740000) tenured generation total 156232K, used 60165K [0x28040000, 0x318d2000, 0x32af0000) the space 156232K, 38% used [0x28040000, 0x2bb014b8, 0x2bb01600, 0x318d2000) compacting perm gen total 12288K, used 8521K [0x32af0000, 0x336f0000, 0x36af0000) the space 12288K, 69% used [0x32af0000, 0x333427a8, 0x33342800, 0x336f0000) ro space 10240K, 42% used [0x36af0000, 0x36f322a0, 0x36f32400, 0x374f0000) rw space 12288K, 54% used [0x374f0000, 0x37b73250, 0x37b73400, 0x380f0000) Deoptimization events (0 events): No events Internal exceptions (10 events): Event: 50.233 Thread 0x03057c00 Threw 0x22c430d8 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.235 Thread 0x03c85c00 Threw 0x22bfd2f0 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 50.236 Thread 0x03057c00 Threw 0x22c43260 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.236 Thread 0x03057c00 Threw 0x22c433c8 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.236 Thread 0x03057c00 Threw 0x22c43530 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.236 Thread 0x03057c00 Threw 0x22c43698 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.236 Thread 0x03057c00 Threw 0x22c44f88 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 50.236 Thread 0x03057c00 Threw 0x22c450f0 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\prims\jni.cpp:716 Event: 56.495 Thread 0x03c85c00 Implicit null exception at 0x00b151e4 to 0x00b1585b Event: 56.495 Thread 0x03c85c00 Threw 0x22b50230 at C:\jdk7u2_32P\jdk7u21\hotspot\src\share\vm\runtime\sharedRuntime.cpp:613 Events (10 events): Event: 68.479 loading class 0x03ba2980 done Event: 68.735 Executing VM operation: GenCollectFull Event: 68.920 Executing VM operation: GenCollectFull done Event: 69.236 Executing VM operation: GenCollectFull Event: 69.412 Executing VM operation: GenCollectFull done Event: 69.737 Executing VM operation: GenCollectFull Event: 69.922 Executing VM operation: GenCollectFull done Event: 70.238 Executing VM operation: GenCollectFull Event: 70.408 Executing VM operation: GenCollectFull done Event: 70.739 Executing VM operation: GenCollectFull Dynamic libraries: 0x00400000 - 0x0042f000 C:\Program Files\Java\jre7\bin\javaw.exe 0x7c900000 - 0x7c9b2000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll 0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e70000 - 0x77f03000 C:\WINDOWS\system32\RPCRT4.dll 0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll 0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll 0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll 0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\COMCTL32.dll 0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll 0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll 0x78aa0000 - 0x78b5e000 C:\Program Files\Java\jre7\bin\msvcr100.dll 0x6e7c0000 - 0x6eb0f000 C:\Program Files\Java\jre7\bin\client\jvm.dll 0x71ad0000 - 0x71ad9000 C:\WINDOWS\system32\WSOCK32.dll 0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll 0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll 0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll 0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL 0x6e710000 - 0x6e71c000 C:\Program Files\Java\jre7\bin\verify.dll 0x6d4d0000 - 0x6d4f0000 C:\Program Files\Java\jre7\bin\java.dll 0x6e7a0000 - 0x6e7b3000 C:\Program Files\Java\jre7\bin\zip.dll 0x6e4f0000 - 0x6e504000 C:\Program Files\Java\jre7\bin\net.dll 0x6e510000 - 0x6e51e000 C:\Program Files\Java\jre7\bin\nio.dll 0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll 0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll 0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\netapi32.dll 0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll 0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll 0x76d60000 - 0x76d79000 C:\WINDOWS\system32\iphlpapi.dll 0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll 0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll 0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll 0x6d000000 - 0x6d142000 C:\Program Files\Java\jre7\bin\awt.dll 0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll 0x774e0000 - 0x7761e000 C:\WINDOWS\system32\ole32.dll 0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll 0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll 0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll 0x6d270000 - 0x6d2a1000 C:\Program Files\Java\jre7\bin\fontmanager.dll 0x6e6c0000 - 0x6e6f0000 C:\Program Files\Java\jre7\bin\t2k.dll 0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll 0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll 0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.dll 0x605d0000 - 0x605d9000 C:\WINDOWS\system32\mslbui.dll 0x6d180000 - 0x6d1a4000 C:\Program Files\Java\jre7\bin\dcpr.dll 0x6e450000 - 0x6e45a000 C:\Program Files\Java\jre7\bin\management.dll 0x6e690000 - 0x6e6b0000 C:\Program Files\Java\jre7\bin\sunec.dll 0x6e6b0000 - 0x6e6b9000 C:\Program Files\Java\jre7\bin\sunmscapi.dll 0x77a80000 - 0x77b15000 C:\WINDOWS\system32\CRYPT32.dll 0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll 0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll 0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll 0x59a60000 - 0x59b01000 C:\WINDOWS\system32\dbghelp.dll VM Arguments: java_command: C:\Documents and Settings\HP_Administrator\Desktop\1.5.2EOS Server\minecraft_server.jar Launcher Type: SUN_STANDARD Environment Variables: CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\Python22;C:\Program Files\QuickTime\QTSystem\;;C:\PROGRA~1\COMMON~1\MUVEET~1\030625;C:\PROGRA~1\COMMON~1\MUVEET~1\030625 USERNAME=HP_Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 4, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 3 CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3, tsc Memory: 4k page, physical 2087312k(1292704k free), swap 4024456k(3361948k free) vm_info: Java HotSpot™ Client VM (23.21-b01) for windows-x86 JRE (1.7.0_21-b11), built on Apr 4 2013 04:43:10 by "java_re" with unknown MS VC++:1600 time: Mon May 06 08:43:40 2013 elapsed time: 70 seconds
  5. How do you use the IExtendedEntityProperties date from .getExtendedProperties(String identifier). I have an int stored in my custom IExtendedEntityProperties class, however I am not sure how to get it back out @_@.
  6. Having problems with Generated Loots in chests: The Items spawn correctly, however upon right Clicking the item in your Inventory that Item disappears (Gets removed). This occurs not all the time. Here is an Example of the Code I use placed in my Load() Method. ChestGenHooks.getInfo(ChestGenHooks.BONUS_CHEST).addItem(new WeightedRandomChestContent(new ItemStack(mod_HarkenScythe.HSNecronomiconPage, 1), 0, 1, 5)); Yes I know what everything means, just I am coming across this odd glich.
  7. Hmm, with the new 1.5.1 seems my Custom Blocks no longer render in the world.... Here is the Code I use: Render Class package mod_HarkenScythe.client; import mod_HarkenScythe.common.BlockHSBloodCrucible; import mod_HarkenScythe.common.BlockHSSoulCrucible; import net.minecraft.block.Block; import net.minecraft.client.renderer.EntityRenderer; import net.minecraft.client.renderer.RenderBlocks; import net.minecraft.client.renderer.Tessellator; import net.minecraft.util.Icon; import net.minecraft.world.IBlockAccess; import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler; import cpw.mods.fml.relauncher.SideOnly; import mod_HarkenScythe.common.mod_HarkenScythe; public class RenderHSCrucible implements ISimpleBlockRenderingHandler { @Override public boolean shouldRender3DInInventory() { // TODO Auto-generated method stub return false; } @Override public int getRenderId() { // TODO Auto-generated method stub return mod_HarkenScythe.HSCrucibleRenderID; } @Override public void renderInventoryBlock(Block block, int metadata, int modelID, RenderBlocks renderer) { // TODO Auto-generated method stub } @Override public boolean renderWorldBlock(IBlockAccess blockAccess, int par2, int par3, int par4, Block par1BlockHSCrucible, int modelId, RenderBlocks renderer) { // TODO Auto-generated method stub ////Added********************* renderer.renderStandardBlock(par1BlockHSCrucible, par2, par3, par4); Tessellator tessellator = Tessellator.instance; tessellator.setBrightness(par1BlockHSCrucible.getMixedBrightnessForBlock(blockAccess, par2, par3, par4)); float f = 1.0F; int l = par1BlockHSCrucible.colorMultiplier(renderer.blockAccess, par2, par3, par4); float f1 = (float)(l >> 16 & 255) / 255.0F; float f2 = (float)(l >> 8 & 255) / 255.0F; float f3 = (float)(l & 255) / 255.0F; float f4; if (EntityRenderer.anaglyphEnable) { float f5 = (f1 * 30.0F + f2 * 59.0F + f3 * 11.0F) / 100.0F; f4 = (f1 * 30.0F + f2 * 70.0F) / 100.0F; float f6 = (f1 * 30.0F + f3 * 70.0F) / 100.0F; f1 = f5; f2 = f4; f3 = f6; } tessellator.setColorOpaque_F(f * f1, f * f2, f * f3); Icon icon = par1BlockHSCrucible.getBlockTextureFromSide(2); f4 = 0.125F; renderer.renderSouthFace(par1BlockHSCrucible, (double)((float)par2 - 1.0F + f4), (double)par3, (double)par4, icon); renderer.renderNorthFace(par1BlockHSCrucible, (double)((float)par2 + 1.0F - f4), (double)par3, (double)par4, icon); renderer.renderWestFace(par1BlockHSCrucible, (double)par2, (double)par3, (double)((float)par4 - 1.0F + f4), icon); renderer.renderEastFace(par1BlockHSCrucible, (double)par2, (double)par3, (double)((float)par4 + 1.0F - f4), icon); Icon icon1; if (par1BlockHSCrucible == mod_HarkenScythe.HSBloodCrucible){icon1 = BlockHSBloodCrucible.iconInner;} else{icon1 = BlockHSSoulCrucible.iconInner;} renderer.renderTopFace(par1BlockHSCrucible, (double)par2, (double)((float)par3 - 1.0F + 0.25F), (double)par4, icon1); renderer.renderBottomFace(par1BlockHSCrucible, (double)par2, (double)((float)par3 + 1.0F - 0.75F), (double)par4, icon1); int i1 = blockAccess.getBlockMetadata(par2, par3, par4); if (i1 > 0) { Icon icon2; if (par1BlockHSCrucible == mod_HarkenScythe.HSBloodCrucible){icon2 = BlockHSBloodCrucible.iconLiquid;} else{icon2 = BlockHSSoulCrucible.iconLiquid;} if (i1 > 10) { i1 = 10; } renderer.renderTopFace(par1BlockHSCrucible, (double)par2, (double)((float)par3 - 1.0F + (3.6875F + (float)i1 * 1.1F) / 16.0F), (double)par4, icon2); } return true; } } In my Client Proxy RenderingRegistry.registerBlockHandler(mod_HarkenScythe.HSCrucibleRenderID, new RenderHSCrucible()); And in my mod_Class //Setup Render IDs public static int HSCrucibleRenderID = RenderingRegistry.getNextAvailableRenderId(); The block is there, just invisible...
  8. After looking around a bit, I found that the Number "2" is placed behind the .setBlockAndMetadata as the last parm. Not sure what it does, however it works now.... >.>
  9. I am thinking about coding crafting recipes that allow Items to be crafted with damaged materials, however the materials can't be pass a point of damage. Is it ok if I code this as a crafting recipe loop? for (int counter = 0; counter <= 20; ++counter) { GameRegistry.addShapelessRecipe(new ItemStack(mod_HarkenScythe.HSTalisman, 1, 1), new Object[] { new ItemStack(mod_HarkenScythe.HSTalisman), new ItemStack(mod_HarkenScythe.HSSoulVessel, 1, counter) }); } Simply states that the new Item HSTalisman can be crafted with any HSSoulVessel that is not damaged beyond 20. Would that cause problems for such mods as NEI or add unnecessary recipes into the memory? I have about 5 other items that would use this loop, and each will have a 40 damage limit loop too. That is about 300+ recipes......
  10. I used this as an example to placed customized effects to item when crafting same Items but with difference recipes yielding different custom effects. To be clear: I used Negative numbers for display purposes only (while in output slot). Using positive numbers makes the new items to appear damaged, while negative numbers do not. Example: This allowed to placing a different enchant on the item while crafting the item in two ways. GameRegistry.addShapelessRecipe(new ItemStack(mod_HarkenScythe.HSTalisman, 1, -1), new Object[] { new ItemStack(mod_HarkenScythe.HSTalisman), new ItemStack(mod_HarkenScythe.HSSoulVessel, 1, 20) }); GameRegistry.addShapelessRecipe(new ItemStack(mod_HarkenScythe.HSTalisman, 1, -2), new Object[] { new ItemStack(mod_HarkenScythe.HSTalisman), new ItemStack(mod_HarkenScythe.HSBloodVessel, 1, 40) }); However Mojang added this to the Itemstack Constructor.... D: public ItemStack(int par1, int par2, int par3) { this.stackSize = 0; this.itemFrame = null; this.itemID = par1; this.stackSize = par2; this.itemDamage = par3; if (this.itemDamage < 0) { this.itemDamage = 0; } } if (this.itemDamage < 0) { this.itemDamage = 0; } Is there a new way to get around this problem? or a possiblity to have Forge remove that bit of added code as a Pull Request?
  11. To the point... I can use this code to allow mobs to drop their MobEggs upon death... int id = EntityList.getEntityID(event.entity); if (id > 0 && EntityList.entityEggs.containsKey(id)) { ItemStack newEgg = new ItemStack(Item.monsterPlacer, 1, id); event.entityLiving.entityDropItem(newEgg, 0F); } Now this only works with Minecraft Mobs.... =/ I been trying to get my custom mobs/eggs to work, however the EntityList.getEntityID always comes up with 0 as the ID.. Also I tried using event.entity.entityID, however that value just jumps all over the place, never the same for each entity walking around of the same type. I use this for my Mob ids... //Set up Monster Eggs static int startEntityId = 300; Inside my load() //Register Entity Mobs EntityRegistry.registerModEntity(EntityHSSlimeSoul.class, "Ectoplasm", 10, this, 80, 3, true); EntityRegistry.registerModEntity(EntityHSSlimeBlood.class, "Hemoglobin", 11, this, 80, 3, true); //Egg Setup public static int getUniqueEntityId() { do { startEntityId++; } while (EntityList.getStringFromID(startEntityId) != null); return startEntityId; } //Register Egg public static void registerEntityEgg(Class<? extends Entity> entity, int primaryColor, int secondaryColor) { int id = getUniqueEntityId(); EntityList.IDtoClassMapping.put(id, entity); EntityList.entityEggs.put(id, new EntityEggInfo(id, primaryColor, secondaryColor)); } Over all my Id's should atleast be 301 or 302 (or jump around if other Custom Mobs are loaded in the world). Is there anyway to find my Mobs ID to work with the eggs in the EventsContainer?
  12. Thanks, I'll try that I wasn't aware the CommonTickHandler was able to find EntityPlayers again after the 1.3.1 update
  13. Sadly if (!par2World.isRemote) totaly kills the Item.class onUpdate() method. Since only the client is handling it. And as for EntityPlayerMP, the cast just creates errors. Standalone. And doesn't not call any actions if, if (par3Entity instanceof EntityPlayerMP) is used. =/ Is there a way to Re-sync Items (client and server) after they take damage from client?
  14. Hi, I am trying to use the onUpdate() Method in a custom Item.class to damage other items in the players inventory. Such as... public void onUpdate(ItemStack par1ItemStack, World par2World, Entity par3Entity, int par4, boolean par5) { EntityPlayer p = ((EntityPlayer)par3Entity); if (p.isSneaking() == true && p.inventory.hasItem(mod_HarkenScythe.HSSpectralMirror.shiftedIndex)) { Damage other item via Itemstack.damageItem(damageAmount, entityplayer) } }; The last part is just Pseudo. "I have other Methods linked to it". Now this works all nice like however if the player logs out of the game or drops the item to the ground (Q key), the Item that was damage regains all of its Durability. I believe this is cause by Client and Server no syncing correctly. (Client Item is taking damage, while the server Item is not). This is very problamatic and I can't seem to find a solution for this oddity T_T. In a nut shell... I believe onUpdate() method is only called by the client and the server ignores it. Any help would be greatly appreciated!
  15. Not sure if it was posted anywhere... but why was the src and common folders merged? Mostly curious besides all the extra workload of setting up all imports =/ Which in any case gives me an excuse to do some Import clean up
  16. Did this ever work? I too am trying to make a strong version of the Fishing rod, however the Hook Entity does not like to function. I believe it due to entityplayer.fishEntity and the hardcoded if (par1ItemStack.itemID == Item.fishingRod.shiftedIndex && this.fishEntity != null) { var3 = par1ItemStack.getIconIndex() + 16; } =/
  17. I sorta figured it out a back way.... I placed this at the very start of my renderTick end() GuiScreen guiscreen = Minecraft.getMinecraft().currentScreen; if (guiscreen == null || mc.ingameGUI.getChatGUI().getChatOpen()) { This way if any GUI is open, the custom hud will not render. However the hud still renders on top the chat window Thanks for your help Sir!
  18. The single line of mc.entityRenderer.setupOverlayRendering(); seems to do the trick However it doesn't fade/transparent itself like the rest of the Gui Elements. Going to check deeper into Minecrafts GUI ingame, to see if/where the alpha render is at. Thank you sooo very much for giving me a proper place to start looking
  19. Been having a problem with this some time now. Normally it didn't really hurt anything however with a new hud I created the chat box is becoming problematic... The Issue: If new text is placed in the chat box, all my render tick GUI elements get covered up. This is problematic when the Hud provides a resource pool. Below is my example: *Normal* *Chat covering up hud* The code I use (Relative to issue): ClientTickHandlerAsgardShield
  20. Seems with the release of 1.4.4. Any number placed after "tilecrack_" throws an outofbounds error. Error: "iconcrack_" functions as normal.
  21. I am having the same problems, sorta... I have a working custom throw item that uses a custom render. This works great for single player, however the render does nothing on SMP. I believe I have the setup wrong, tho I get crashes when I trying adding other stuff... Here is my layout and I hope there is someone that knows the correct way mod_Custom.java my common proxy commonProxy_Modname.java my Client proxy clientProxy_Modname.java My custom Client ItemRender.java As I said, everything renders correctly for single player, however on the server the colors inside the throwable items do not render T_T Found out the render is being called just fine, however my needed color varibles are not being loading correctly inside my Renderclass. going to play with it
  22. I know right now I am piggy back riding Minecrafts EnumArmor.CLOTH. This allows me full support of Mojang dyeing system with Icons. (Which is great!) however sadly does not apply the decimal code colors to the ArmorTextureFile I personally would like to see an Upgrade to the IArmorTextureProvider, which supports the new Mojang dye system for a few reasons. 1. Provides a quick and easy dyeing method (Example of Ease is Forges Custom Config Methods, lots of coding in the background, but made into very simple to use with a few lines of code). 2. Don't have to worry about Custom rendering classes and Base overrides 3. Just another step closer to Forge to taking over Minecraft.... I would also like to add something that is different but the same subject of Armor. Any chance to allow Forge to override Armor Rendering (3D Armor on your character) to allow Invisibility potions to turn armor invisible as well? Atm only the character unarmored is fully invisible.
×
×
  • Create New...

Important Information

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