Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HappyKiller1O1

Members
  • Joined

  • Last visited

Everything posted by HappyKiller1O1

  1. I actually am using a 2 flag then checking for the server side only so the method only runs once. But thanks!
  2. So, I want to simply get the coords of the block the player is looking at so I can use them to generate a structure properly. Problem is, the two ways I've tried seem to not work. Here they are: Vec3 vec3 = Vec3.createVectorHelper(player.posX, player.posY + player.getEyeHeight(), player.posZ); Vec3 lookVec = player.getLookVec(); MovingObjectPosition mop = world.rayTraceBlocks(lookVec, vec3); int x = mop.blockX; int y = mop.blockY; int z = mop.blockZ; if(mop != null) { System.out.println("Block X: " + x + ", " + "Block Y: " + y + ", " + "Block Z: " + z); } MovingObjectPosition mop = Minecraft.getMinecraft().renderViewEntity.rayTrace(200, 1.0F); if(mop != null) { int blockHitSide = mop.sideHit; Block blockLookingAt = world.getBlock(mop.blockX, mop.blockY, mop.blockZ); System.out.println("Block X: " + mop.blockX + ", " + "Block Y: " + mop.blockY + ", " + "Block Z: " + mop.blockZ); } If someone can help me that'd be great!
  3. I am using Eclipse Luna (latest version) and, after a while it works. I was thinking it's a ram problem but, this has happened to people with more ram and, this only seems to happen on 64-bit PCs.
  4. I saw my problem! Had to switch the two numbers. Thanks for the help though!
  5. Your forge version. Get the newest one (1291).
  6. Method inside my item class to spawn shop: public boolean spawnShop(World world, Random random, int x, int y, int z) { Block shop = CrewMod.shopBlock; Block aLog = Blocks.log2; Block sLog = Blocks.log2; Block fence = Blocks.fence; Block sSlab = Blocks.wooden_slab; //Block mCWall = new ItemStack(Blocks.cobblestone_wall, 1, 1); //Block wWool = new ItemStack(Blocks.wool, 1, 0); Block rWool = Blocks.wool; //Block doPlank = new ItemStack(Blocks.planks, 1, 5); while(world.isAirBlock(x, y, z) && y > 2) { y--; } world.setBlock(x, y, z, shop); world.setBlock(x + 1, y, z, rWool, 0, 14); return true; }
  7. I'm sure you have all gotten this problem, when opening eclipse (or trying to more like it) it crashes before even displaying the editor. Here's the report: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006935fcbb, pid=5484, tid=4144 # # JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build 1.7.0_75-b13) # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode windows-amd64 compressed oops) # Problematic frame: # V [jvm.dll+0x3ffcbb] # # 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.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x0000000007f26000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=4144, stack(0x0000000008e30000,0x0000000008f30000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000001093a88b0 Registers: RAX=0x00000000093a88b0, RBX=0x000000000a5aa610, RCX=0x0000000008f2cdb0, RDX=0x0000000040000000 RSP=0x0000000008f2c920, RBP=0x0000000008f2c980, RSI=0x0000000000000000, RDI=0x0000000008f2cdb0 R8 =0x0000000000000000, R9 =0x0000000009354990, R10=0x000000000000001e, R11=0x0000000000000000 R12=0x0000000000000000, R13=0x0000000000007537, R14=0x0000000068f60000, R15=0x0000000000000000 RIP=0x000000006935fcbb, EFLAGS=0x0000000000010246 Top of Stack: (sp=0x0000000008f2c920) 0x0000000008f2c920: 000000000a524a80 000000000a5aa610 0x0000000008f2c930: 0000000008f2cdb0 0000000008f2caa0 0x0000000008f2c940: 00000c9400000000 0000000000000008 0x0000000008f2c950: 000000000a282140 0000000000000001 0x0000000008f2c960: 000000000940a848 0000000000000001 0x0000000008f2c970: 000000000a4d6ec0 0000000009db9c78 0x0000000008f2c980: 0000000000000000 0000000000030ac0 0x0000000008f2c990: 0000000008f2cdb0 0000000069360077 0x0000000008f2c9a0: 0000000000000000 000000000a5aa610 0x0000000008f2c9b0: 000000000a5aa610 0000000000030ac0 0x0000000008f2c9c0: 00000c9400000000 0000000000000008 0x0000000008f2c9d0: 000000000a282140 0000000000000001 0x0000000008f2c9e0: 000000000940a848 0000000000000001 0x0000000008f2c9f0: 000000000a4d6ec0 0000000000000000 0x0000000008f2ca00: 0000000009354d68 00000000000003d8 0x0000000008f2ca10: 0000000000000000 0000000009354990 Instructions: (pc=0x000000006935fcbb) 0x000000006935fc9b: ca 8b ca 41 23 c9 3b ca 0f 85 3b ff ff ff 41 8b 0x000000006935fcab: c1 e9 d9 01 00 00 8b 53 24 48 8b 87 e8 00 00 00 0x000000006935fcbb: 44 8b 24 90 44 3b e2 74 0b 48 8b cf e8 84 23 00 0x000000006935fccb: 00 44 8b e0 45 85 e4 0f 84 2a 01 00 00 48 8b 4f Register to memory mapping: RAX=0x00000000093a88b0 is an unknown value RBX=0x000000000a5aa610 is an unknown value RCX=0x0000000008f2cdb0 is pointing into the stack for thread: 0x0000000007f26000 RDX=0x0000000040000000 is an unknown value RSP=0x0000000008f2c920 is pointing into the stack for thread: 0x0000000007f26000 RBP=0x0000000008f2c980 is pointing into the stack for thread: 0x0000000007f26000 RSI=0x0000000000000000 is an unknown value RDI=0x0000000008f2cdb0 is pointing into the stack for thread: 0x0000000007f26000 R8 =0x0000000000000000 is an unknown value R9 =0x0000000009354990 is an unknown value R10=0x000000000000001e is an unknown value R11=0x0000000000000000 is an unknown value R12=0x0000000000000000 is an unknown value R13=0x0000000000007537 is an unknown value R14=0x0000000068f60000 is an unknown value R15=0x0000000000000000 is an unknown value Stack: [0x0000000008e30000,0x0000000008f30000], sp=0x0000000008f2c920, free space=1010k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x3ffcbb] Current CompileTask: C2: 5461 271 org.eclipse.osgi.internal.loader.BundleLoader::addExportedProvidersFor (172 bytes) --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0000000009ac3800 JavaThread "EMF Reference Cleaner" daemon [_thread_blocked, id=5488, stack(0x000000000b410000,0x000000000b510000)] 0x00000000099bf800 JavaThread "logback configurator timer" daemon [_thread_blocked, id=3148, stack(0x000000000b710000,0x000000000b810000)] 0x0000000009bef000 JavaThread "Worker-JM" [_thread_blocked, id=4132, stack(0x000000000b610000,0x000000000b710000)] 0x0000000009b22800 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=4276, stack(0x000000000b510000,0x000000000b610000)] 0x0000000009ba2000 JavaThread "Start Level: Equinox Container: 70dddd2b-83d5-0014-1ddc-ed79ecd63484" daemon [_thread_blocked, id=2580, stack(0x000000000b310000,0x000000000b410000)] 0x0000000009a26800 JavaThread "Framework Event Dispatcher: Equinox Container: 70dddd2b-83d5-0014-1ddc-ed79ecd63484" daemon [_thread_blocked, id=2148, stack(0x000000000b210000,0x000000000b310000)] 0x0000000009bac000 JavaThread "Active Thread: Equinox Container: 70dddd2b-83d5-0014-1ddc-ed79ecd63484" [_thread_blocked, id=5176, stack(0x000000000b040000,0x000000000b140000)] 0x0000000007f32800 JavaThread "Service Thread" daemon [_thread_blocked, id=5468, stack(0x0000000009030000,0x0000000009130000)] 0x0000000007f2f800 JavaThread "C2 CompilerThread1" daemon [_thread_in_vm, id=3164, stack(0x0000000008f30000,0x0000000009030000)] =>0x0000000007f26000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=4144, stack(0x0000000008e30000,0x0000000008f30000)] 0x0000000007f24800 JavaThread "Attach Listener" daemon [_thread_blocked, id=604, stack(0x0000000008d30000,0x0000000008e30000)] 0x0000000007f23000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6092, stack(0x0000000008c30000,0x0000000008d30000)] 0x00000000027af000 JavaThread "Finalizer" daemon [_thread_blocked, id=3024, stack(0x0000000008b30000,0x0000000008c30000)] 0x00000000027ab000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5464, stack(0x0000000008a30000,0x0000000008b30000)] 0x00000000027cd800 JavaThread "main" [_thread_in_vm, id=5460, stack(0x0000000000030000,0x0000000000130000)] Other Threads: 0x0000000007ec3000 VMThread [stack: 0x0000000008930000,0x0000000008a30000] [id=3052] 0x0000000007f3d000 WatcherThread [stack: 0x0000000009130000,0x0000000009230000] [id=4680] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 23040K, used 3919K [0x00000000f1680000, 0x00000000f5580000, 0x0000000100000000) eden space 21504K, 18% used [0x00000000f1680000,0x00000000f1a53c98,0x00000000f2b80000) from space 1536K, 0% used [0x00000000f2b80000,0x00000000f2b80000,0x00000000f2d00000) to space 10752K, 0% used [0x00000000f4b00000,0x00000000f4b00000,0x00000000f5580000) ParOldGen total 45568K, used 18506K [0x00000000d4400000, 0x00000000d7080000, 0x00000000f1680000) object space 45568K, 40% used [0x00000000d4400000,0x00000000d5612818,0x00000000d7080000) PSPermGen total 30720K, used 16185K [0x00000000c4400000, 0x00000000c6200000, 0x00000000d4400000) object space 30720K, 52% used [0x00000000c4400000,0x00000000c53ce700,0x00000000c6200000) Card table byte_map: [0x0000000005890000,0x0000000005a70000] byte_map_base: 0x000000000526e000 Polling page: 0x0000000000580000 Code Cache [0x00000000027d0000, 0x0000000002a40000, 0x00000000057d0000) total_blobs=786 nmethods=275 adapters=464 free_code_cache=47948Kb largest_free_block=49067520 Compilation events (10 events): Event: 4.595 Thread 0x0000000007f2f800 270 java.util.ArrayList::contains (14 bytes) Event: 4.598 Thread 0x0000000007f2f800 nmethod 270 0x00000000028e13d0 code [0x00000000028e1520, 0x00000000028e1658] Event: 4.689 Thread 0x0000000007f26000 271 org.eclipse.osgi.internal.loader.BundleLoader::addExportedProvidersFor (172 bytes) Event: 4.750 Thread 0x0000000007f2f800 272 java.lang.ref.Reference::<init> (25 bytes) Event: 4.751 Thread 0x0000000007f2f800 nmethod 272 0x00000000028f47d0 code [0x00000000028f4900, 0x00000000028f4998] Event: 5.210 Thread 0x0000000007f2f800 273 % ! org.eclipse.swt.graphics.Image::initNative @ 1202 (1312 bytes) Event: 5.231 Thread 0x0000000007f2f800 nmethod 273% 0x00000000028faf90 code [0x00000000028fb160, 0x00000000028fb930] Event: 5.236 Thread 0x0000000007f2f800 274 org.eclipse.osgi.container.ModuleRequirement::getDirectives (5 bytes) Event: 5.237 Thread 0x0000000007f2f800 nmethod 274 0x00000000028f8150 code [0x00000000028f8280, 0x00000000028f82d8] Event: 5.342 Thread 0x0000000007f2f800 275 java.util.Properties::load0 (250 bytes) GC Heap History (10 events): Event: 1.674 GC heap before {Heap before GC invocations=2 (full 0): PSYoungGen total 12288K, used 12272K [0x00000000f1680000, 0x00000000f2400000, 0x0000000100000000) eden space 10752K, 100% used [0x00000000f1680000,0x00000000f2100000,0x00000000f2100000) from space 1536K, 98% used [0x00000000f2100000,0x00000000f227c010,0x00000000f2280000) to space 1536K, 0% used [0x00000000f2280000,0x00000000f2280000,0x00000000f2400000) ParOldGen total 27648K, used 963K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 3% used [0x00000000d4400000,0x00000000d44f0de0,0x00000000d5f00000) PSPermGen total 21504K, used 6634K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 30% used [0x00000000c4400000,0x00000000c4a7a840,0x00000000c5900000) Event: 1.700 GC heap after Heap after GC invocations=2 (full 0): PSYoungGen total 12288K, used 1504K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 10752K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2100000) from space 1536K, 97% used [0x00000000f2280000,0x00000000f23f8030,0x00000000f2400000) to space 1536K, 0% used [0x00000000f2100000,0x00000000f2100000,0x00000000f2280000) ParOldGen total 27648K, used 5500K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 19% used [0x00000000d4400000,0x00000000d495f038,0x00000000d5f00000) PSPermGen total 21504K, used 6634K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 30% used [0x00000000c4400000,0x00000000c4a7a840,0x00000000c5900000) } Event: 1.920 GC heap before {Heap before GC invocations=3 (full 0): PSYoungGen total 12288K, used 12256K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 10752K, 100% used [0x00000000f1680000,0x00000000f2100000,0x00000000f2100000) from space 1536K, 97% used [0x00000000f2280000,0x00000000f23f8030,0x00000000f2400000) to space 1536K, 0% used [0x00000000f2100000,0x00000000f2100000,0x00000000f2280000) ParOldGen total 27648K, used 5500K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 19% used [0x00000000d4400000,0x00000000d495f038,0x00000000d5f00000) PSPermGen total 21504K, used 6680K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 31% used [0x00000000c4400000,0x00000000c4a863a8,0x00000000c5900000) Event: 1.956 GC heap after Heap after GC invocations=3 (full 0): PSYoungGen total 12288K, used 1504K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 10752K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2100000) from space 1536K, 97% used [0x00000000f2100000,0x00000000f2278030,0x00000000f2280000) to space 1536K, 0% used [0x00000000f2d00000,0x00000000f2d00000,0x00000000f2e80000) ParOldGen total 27648K, used 10436K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 37% used [0x00000000d4400000,0x00000000d4e31300,0x00000000d5f00000) PSPermGen total 21504K, used 6680K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 31% used [0x00000000c4400000,0x00000000c4a863a8,0x00000000c5900000) } Event: 2.959 GC heap before {Heap before GC invocations=4 (full 0): PSYoungGen total 12288K, used 12256K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 10752K, 100% used [0x00000000f1680000,0x00000000f2100000,0x00000000f2100000) from space 1536K, 97% used [0x00000000f2100000,0x00000000f2278030,0x00000000f2280000) to space 1536K, 0% used [0x00000000f2d00000,0x00000000f2d00000,0x00000000f2e80000) ParOldGen total 27648K, used 10436K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 37% used [0x00000000d4400000,0x00000000d4e31300,0x00000000d5f00000) PSPermGen total 21504K, used 8250K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 38% used [0x00000000c4400000,0x00000000c4c0eb20,0x00000000c5900000) Event: 2.972 GC heap after Heap after GC invocations=4 (full 0): PSYoungGen total 23040K, used 1504K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 21504K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2b80000) from space 1536K, 97% used [0x00000000f2d00000,0x00000000f2e78010,0x00000000f2e80000) to space 1536K, 0% used [0x00000000f2b80000,0x00000000f2b80000,0x00000000f2d00000) ParOldGen total 27648K, used 12026K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 43% used [0x00000000d4400000,0x00000000d4fbe8a0,0x00000000d5f00000) PSPermGen total 21504K, used 8250K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 38% used [0x00000000c4400000,0x00000000c4c0eb20,0x00000000c5900000) } Event: 4.789 GC heap before {Heap before GC invocations=5 (full 0): PSYoungGen total 23040K, used 23008K [0x00000000f1680000, 0x00000000f2e80000, 0x0000000100000000) eden space 21504K, 100% used [0x00000000f1680000,0x00000000f2b80000,0x00000000f2b80000) from space 1536K, 97% used [0x00000000f2d00000,0x00000000f2e78010,0x00000000f2e80000) to space 1536K, 0% used [0x00000000f2b80000,0x00000000f2b80000,0x00000000f2d00000) ParOldGen total 27648K, used 12026K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 43% used [0x00000000d4400000,0x00000000d4fbe8a0,0x00000000d5f00000) PSPermGen total 21504K, used 15201K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 70% used [0x00000000c4400000,0x00000000c52d85f0,0x00000000c5900000) Event: 4.820 GC heap after Heap after GC invocations=5 (full 0): PSYoungGen total 23040K, used 1504K [0x00000000f1680000, 0x00000000f5580000, 0x0000000100000000) eden space 21504K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2b80000) from space 1536K, 97% used [0x00000000f2b80000,0x00000000f2cf8030,0x00000000f2d00000) to space 10752K, 0% used [0x00000000f4b00000,0x00000000f4b00000,0x00000000f5580000) ParOldGen total 27648K, used 19745K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 71% used [0x00000000d4400000,0x00000000d57487d0,0x00000000d5f00000) PSPermGen total 21504K, used 15201K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 70% used [0x00000000c4400000,0x00000000c52d85f0,0x00000000c5900000) } Event: 4.820 GC heap before {Heap before GC invocations=6 (full 1): PSYoungGen total 23040K, used 1504K [0x00000000f1680000, 0x00000000f5580000, 0x0000000100000000) eden space 21504K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2b80000) from space 1536K, 97% used [0x00000000f2b80000,0x00000000f2cf8030,0x00000000f2d00000) to space 10752K, 0% used [0x00000000f4b00000,0x00000000f4b00000,0x00000000f5580000) ParOldGen total 27648K, used 19745K [0x00000000d4400000, 0x00000000d5f00000, 0x00000000f1680000) object space 27648K, 71% used [0x00000000d4400000,0x00000000d57487d0,0x00000000d5f00000) PSPermGen total 21504K, used 15201K [0x00000000c4400000, 0x00000000c5900000, 0x00000000d4400000) object space 21504K, 70% used [0x00000000c4400000,0x00000000c52d85f0,0x00000000c5900000) Event: 5.207 GC heap after Heap after GC invocations=6 (full 1): PSYoungGen total 23040K, used 0K [0x00000000f1680000, 0x00000000f5580000, 0x0000000100000000) eden space 21504K, 0% used [0x00000000f1680000,0x00000000f1680000,0x00000000f2b80000) from space 1536K, 0% used [0x00000000f2b80000,0x00000000f2b80000,0x00000000f2d00000) to space 10752K, 0% used [0x00000000f4b00000,0x00000000f4b00000,0x00000000f5580000) ParOldGen total 45568K, used 18506K [0x00000000d4400000, 0x00000000d7080000, 0x00000000f1680000) object space 45568K, 40% used [0x00000000d4400000,0x00000000d5612818,0x00000000d7080000) PSPermGen total 30720K, used 15198K [0x00000000c4400000, 0x00000000c6200000, 0x00000000d4400000) object space 30720K, 49% used [0x00000000c4400000,0x00000000c52d78a8,0x00000000c6200000) } Deoptimization events (10 events): Event: 4.080 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002860460 method=java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @ 105 Event: 4.080 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002860460 method=java.util.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @ 105 Event: 4.225 Thread 0x00000000027cd800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x00000000028ca3c0 method=java.util.Properties$LineReader.readLine()I @ 402 Event: 4.378 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002892184 method=java.io.FilterInputStream.read()I @ 4 Event: 4.378 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002892184 method=java.io.FilterInputStream.read()I @ 4 Event: 4.378 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002892184 method=java.io.FilterInputStream.read()I @ 4 Event: 4.378 Thread 0x00000000027cd800 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000002892184 method=java.io.FilterInputStream.read()I @ 4 Event: 5.282 Thread 0x00000000027cd800 Uncommon trap: reason=unreached action=reinterpret pc=0x00000000028b269c method=java.lang.Class.searchMethods([Ljava/lang/reflect/Method;Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; @ 75 Event: 5.336 Thread 0x00000000027cd800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x00000000028cf210 method=org.eclipse.osgi.framework.util.KeyedHashSet.getByKey(Ljava/lang/Object;)Lorg/eclipse/osgi/framework/util/KeyedElement; @ 86 Event: 5.365 Thread 0x00000000027cd800 Uncommon trap: reason=bimorphic action=maybe_recompile pc=0x00000000028ca3c0 method=java.util.Properties$LineReader.readLine()I @ 402 Internal exceptions (10 events): Event: 0.997 Thread 0x00000000027cd800 Threw 0x00000000f1f53a08 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jvm.cpp:1281 Event: 0.997 Thread 0x00000000027cd800 Threw 0x00000000f1f53e58 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jvm.cpp:1281 Event: 2.222 Thread 0x00000000027cd800 Threw 0x00000000f179c8b0 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jvm.cpp:1281 Event: 3.306 Thread 0x0000000009ba2000 Implicit null exception at 0x0000000002856327 to 0x0000000002857d61 Event: 3.460 Thread 0x0000000009ba2000 Threw 0x00000000f1dae8d0 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Event: 3.689 Thread 0x0000000009ba2000 Threw 0x00000000f1efd0f0 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Event: 3.960 Thread 0x0000000009ba2000 Threw 0x00000000f2178428 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Event: 3.960 Thread 0x0000000009ba2000 Threw 0x00000000f2178630 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Event: 3.960 Thread 0x0000000009ba2000 Threw 0x00000000f21787a8 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Event: 4.279 Thread 0x000000000a075000 Threw 0x00000000f2563dc8 at C:\re\jdk7u75\1940\hotspot\src\share\vm\prims\jni.cpp:717 Events (10 events): Event: 5.353 Executing VM operation: RevokeBias done Event: 5.353 Executing VM operation: RevokeBias Event: 5.353 Executing VM operation: RevokeBias done Event: 5.353 Executing VM operation: BulkRevokeBias Event: 5.353 Executing VM operation: BulkRevokeBias done Event: 5.362 loading class 0x00000000027392e0 Event: 5.362 loading class 0x00000000027392e0 done Event: 5.365 Thread 0x00000000027cd800 Uncommon trap: trap_request=0xffffffc6 fr.pc=0x00000000028ca3c0 Event: 5.365 Thread 0x00000000027cd800 DEOPT PACKING pc=0x00000000028ca3c0 sp=0x000000000012e280 Event: 5.365 Thread 0x00000000027cd800 DEOPT UNPACKING pc=0x0000000002809064 sp=0x000000000012e218 mode 2 Dynamic libraries: 0x0000000000400000 - 0x000000000044f000 C:\Users\Joey\Desktop\eclipse\eclipse.exe 0x0000000077600000 - 0x00000000777a9000 C:\Windows\SYSTEM32\ntdll.dll 0x00000000773e0000 - 0x00000000774ff000 C:\Windows\system32\kernel32.dll 0x000007fefd700000 - 0x000007fefd76c000 C:\Windows\system32\KERNELBASE.dll 0x0000000077500000 - 0x00000000775fa000 C:\Windows\system32\USER32.dll 0x000007feff460000 - 0x000007feff4c7000 C:\Windows\system32\GDI32.dll 0x000007fefd780000 - 0x000007fefd78e000 C:\Windows\system32\LPK.dll 0x000007feff570000 - 0x000007feff639000 C:\Windows\system32\USP10.dll 0x000007fefeb30000 - 0x000007fefebcf000 C:\Windows\system32\msvcrt.dll 0x000007fefbd30000 - 0x000007fefbf24000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll 0x000007fefeaa0000 - 0x000007fefeb11000 C:\Windows\system32\SHLWAPI.dll 0x000007fefed80000 - 0x000007fefedae000 C:\Windows\system32\IMM32.DLL 0x000007fefebd0000 - 0x000007fefecd9000 C:\Windows\system32\MSCTF.dll 0x0000000072000000 - 0x0000000072012000 C:\Users\Joey\Desktop\eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20150204-1316\eclipse_1608.dll 0x000007fefdc30000 - 0x000007fefdd0b000 C:\Windows\system32\ADVAPI32.dll 0x000007feff440000 - 0x000007feff45f000 C:\Windows\SYSTEM32\sechost.dll 0x000007feff310000 - 0x000007feff43d000 C:\Windows\system32\RPCRT4.dll 0x000007fefc2f0000 - 0x000007fefc2fc000 C:\Windows\system32\VERSION.dll 0x000007fefbb20000 - 0x000007fefbb76000 C:\Windows\system32\uxtheme.dll 0x000007fef6590000 - 0x000007fef65d8000 C:\Program Files (x86)\TeamViewer\tv_x64.dll 0x000007fefdd10000 - 0x000007fefea99000 C:\Windows\system32\SHELL32.dll 0x000007fefee30000 - 0x000007feff033000 C:\Windows\system32\ole32.dll 0x000007fefd260000 - 0x000007fefd26f000 C:\Windows\system32\CRYPTBASE.dll 0x0000000068f60000 - 0x0000000069734000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\server\jvm.dll 0x000007fef98a0000 - 0x000007fef98a9000 C:\Windows\system32\WSOCK32.dll 0x000007fefd790000 - 0x000007fefd7dd000 C:\Windows\system32\WS2_32.dll 0x000007fefeb20000 - 0x000007fefeb28000 C:\Windows\system32\NSI.dll 0x000007fefad90000 - 0x000007fefadcb000 C:\Windows\system32\WINMM.dll 0x00000000777c0000 - 0x00000000777c7000 C:\Windows\system32\PSAPI.DLL 0x0000000073d40000 - 0x0000000073e12000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\MSVCR100.dll 0x00000000741b0000 - 0x00000000741bf000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\verify.dll 0x0000000073f00000 - 0x0000000073f28000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\java.dll 0x0000000073fa0000 - 0x0000000073fb5000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\zip.dll 0x000007fefcbc0000 - 0x000007fefcbd8000 C:\Windows\system32\CRYPTSP.dll 0x000007fefc8c0000 - 0x000007fefc907000 C:\Windows\system32\rsaenh.dll 0x000007fefd610000 - 0x000007fefd62e000 C:\Windows\system32\USERENV.dll 0x000007fefd3d0000 - 0x000007fefd3df000 C:\Windows\system32\profapi.dll 0x0000000073f80000 - 0x0000000073f99000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\net.dll 0x000007fefcb60000 - 0x000007fefcbb5000 C:\Windows\system32\mswsock.dll 0x000007fefcb50000 - 0x000007fefcb57000 C:\Windows\System32\wship6.dll 0x000007fef9a40000 - 0x000007fef9a67000 C:\Windows\system32\IPHLPAPI.DLL 0x000007fef9a30000 - 0x000007fef9a3b000 C:\Windows\system32\WINNSI.DLL 0x000007fef98b0000 - 0x000007fef98c1000 C:\Windows\system32\dhcpcsvc6.DLL 0x000007fef9830000 - 0x000007fef9848000 C:\Windows\system32\dhcpcsvc.DLL 0x0000000073ee0000 - 0x0000000073ef1000 C:\Program Files\Java\jdk1.7.0_75\jre\bin\nio.dll 0x000007fef9c60000 - 0x000007fef9c75000 C:\Windows\system32\NLAapi.dll 0x000007fef6610000 - 0x000007fef6625000 C:\Windows\system32\napinsp.dll 0x000007fef65f0000 - 0x000007fef6609000 C:\Windows\system32\pnrpnsp.dll 0x000007fefc9e0000 - 0x000007fefca3b000 C:\Windows\system32\DNSAPI.dll 0x000007fef65e0000 - 0x000007fef65eb000 C:\Windows\System32\winrnr.dll 0x000007fefc560000 - 0x000007fefc567000 C:\Windows\System32\wshtcpip.dll 0x000007fef7b00000 - 0x000007fef7b08000 C:\Windows\system32\rasadhlp.dll 0x000007fef98e0000 - 0x000007fef9933000 C:\Windows\System32\fwpuclnt.dll 0x0000000010000000 - 0x00000000100a8000 C:\Users\Joey\Desktop\eclipse\configuration\org.eclipse.osgi\338\0\.cp\swt-win32-4430.dll 0x000007fefd7e0000 - 0x000007fefd8b7000 C:\Windows\system32\OLEAUT32.dll 0x000007feff4d0000 - 0x000007feff567000 C:\Windows\system32\comdlg32.dll 0x000007fef8c00000 - 0x000007fef8c71000 C:\Windows\system32\WINSPOOL.DRV 0x000007feff0c0000 - 0x000007feff308000 C:\Windows\system32\WININET.dll 0x000007fefd660000 - 0x000007fefd664000 C:\Windows\system32\api-ms-win-downlevel-user32-l1-1-0.dll 0x000007fefd600000 - 0x000007fefd604000 C:\Windows\system32\api-ms-win-downlevel-shlwapi-l1-1-0.dll 0x000007fefd770000 - 0x000007fefd774000 C:\Windows\system32\api-ms-win-downlevel-version-l1-1-0.dll 0x000007fefd630000 - 0x000007fefd633000 C:\Windows\system32\api-ms-win-downlevel-normaliz-l1-1-0.dll 0x00000000777d0000 - 0x00000000777d3000 C:\Windows\system32\normaliz.DLL 0x000007feff640000 - 0x000007feff907000 C:\Windows\system32\iertutil.dll 0x000007fefd6b0000 - 0x000007fefd6b5000 C:\Windows\system32\api-ms-win-downlevel-advapi32-l1-1-0.dll 0x000007fefd3e0000 - 0x000007fefd54d000 C:\Windows\system32\CRYPT32.dll 0x000007fefd3c0000 - 0x000007fefd3cf000 C:\Windows\system32\MSASN1.dll 0x000007fefb6f0000 - 0x000007fefb708000 C:\Windows\system32\dwmapi.dll 0x000007fefbbb0000 - 0x000007fefbcdc000 C:\Windows\system32\propsys.dll 0x000007fefece0000 - 0x000007fefed79000 C:\Windows\system32\CLBCatQ.DLL 0x000007fefbb80000 - 0x000007fefbbad000 C:\Windows\system32\ntmarta.dll 0x000007fefedd0000 - 0x000007fefee22000 C:\Windows\system32\WLDAP32.dll 0x000007fefd8c0000 - 0x000007fefda97000 C:\Windows\system32\SETUPAPI.dll 0x000007fefd6c0000 - 0x000007fefd6f6000 C:\Windows\system32\CFGMGR32.dll 0x000007fefd640000 - 0x000007fefd65a000 C:\Windows\system32\DEVOBJ.dll 0x000007fef6df0000 - 0x000007fef6dfc000 C:\Windows\system32\LINKINFO.dll 0x000000000b920000 - 0x000000000b93e000 C:\Users\Joey\Desktop\eclipse\configuration\org.eclipse.osgi\338\0\.cp\swt-gdip-win32-4430.dll 0x000007fefb900000 - 0x000007fefbb16000 C:\Windows\WinSxS\amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_2b283fd671e9bf4d\gdiplus.dll 0x000007fefb540000 - 0x000007fefb6a1000 C:\Windows\system32\WindowsCodecs.dll 0x000007fef6ed0000 - 0x000007fef6ff5000 C:\Windows\system32\dbghelp.dll VM Arguments: jvm_args: -Dosgi.requiredJavaVersion=1.6 -Xms40m -Xmx700m -XX:MaxPermSize=256M java_command: <unknown> Launcher Type: generic Environment Variables: PATH=C:/Program Files/Java/jdk1.7.0_75/bin/../jre/bin/server;C:/Program Files/Java/jdk1.7.0_75/bin/../jre/bin;C:/Program Files/Java/jdk1.7.0_75/bin/../jre/lib/amd64;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;"C:\Program Files\Java\jdk1.7.0_75\bin";C:\Program Files (x86)\Skype\Phone\;C:\Users\Joey\Desktop\eclipse; USERNAME=Joey OS=Windows_NT PROCESSOR_IDENTIFIER=AMD64 Family 15 Model 35 Stepping 2, AuthenticAMD --------------- S Y S T E M --------------- OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 35 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnowpref, tsc Memory: 4k page, physical 2096696k(1177844k free), swap 4193392k(2549800k free) vm_info: Java HotSpot(TM) 64-Bit Server VM (24.75-b04) for windows-amd64 JRE (1.7.0_75-b13), built on Dec 18 2014 17:15:01 by "java_re" with unknown MS VC++:1600 time: Sat Mar 28 12:46:51 2015 elapsed time: 5 seconds
  8. Well see, I tried the world.setBlock with the metadata type and, it still placed white wool.
  9. So, you want to spawn this NPC a few blocks away from the player?
  10. Just relaying a helpful person I found to get started with modding. I did this considering the title "Noob Help".
  11. Hey! So, what I need to do is generate a small structure when a item is right clicked. But, I can't seem to get the block metadata to do so. Here's what I mean: Block redWool = Blocks.wool; //HOW WOULD I GET THE METADATA??? P.S. Already tried ItemStack. To generate a structure is pretty easy so, I won't need help with that. Just to get the metadata of a block so I can use Red Wool.
  12. Like he said, you are checking the server side. world.isRemote = Client !world.isRemote = Server. Also, are you trying to open a gui and set a TileEntity for a block? Because you're suppose to do that in the block class and then, make a GuiHandler to open it.
  13. Go on youtube and look up "MrCrayFish 1.7 modding". He will teach how to setup a DECOMP workspace which means, you can view all the minecraft classes. Next time you post, please put your crash report/code between code lines. Thank you!
  14. Seems like your "RenderMast" class has a function in it that is returning null. May we see that?
  15. If you're using LivingSpawnEvent for this you could create the instance of the player by doing: EntityPlayer player; if(event.entity instanceof EntityPlayer) player = (EntityPlayer)event.entity Although, I am not certain if problems would arise from this.
  16. Like he said jabelar said up there, events can be Forge events or, FML events. But, he didn't mention that each of which need to be registered differently. For Forge events you'd do this: //Under your init method in your main class. MinecraftForge.EVENT_BUS.register(new YourFancyEventHandler()); For FML events you'd do this: FMLCommonHandler.instance().bus().register(new YourFancyEventHandler()); Remember, there are also CLIENT only events like RenderGameOverlay and ClientTickEvent. Those of which basically require you to not input server code into them (pretty obvious XP). Finally, if you ever want to use: Minecraft mc = Minecraft.getMinecraft(); //Getting the instance of Minecraft You CANNOT use this during server side events or, the game will crash. There's my brief event tutorial! I was taught to separate Forge events and FML events into separate classes such as "EventsFML" and "EventsForge". And for client I do "EventsClientFML" and "EventsClientForge".
  17. Erino actually helped me fix it! Basically, I was calling it wrong and, didn't have the proper parameters. If you ever need help ask him! He literally skyped me and TeamViewed my computer to change the code then, explained what he was doing and some extra things. He is a very talented programmer and deserves as many thumbs up as possible!
  18. So, you want the player to press a key that, in turn, activates a "bot" like state (can not control player) to harvest grass?
  19. That looks fine. Could you post the crash report?
  20. I believe you made your mod instance incorrect. May I see your main class?
  21. Does anyone got some ideas?
  22. I really need to make this work. .-.
  23. Still only runs once. ;-;
  24. Yes I registered it in my ClientProxy public class ClientProxy extends CommonProxy { public void initialize() { super.initialize(); FMLCommonHandler.instance().bus().register(new TickHandlerClient()); MinecraftForge.EVENT_BUS.register(new GuiCoinCollected(Minecraft.getMinecraft())); System.out.println("CLIENT PROXY REGISTERED ALL THINGS"); } } Like I said, it runs once but only once. These are the times I wish the creator of Java was a door away.
  25. My coinkeeper class uses player ID's in a HashMap to store the gold info so, no worries. But, I have used the tick handler and, no matter if it sets a boolean or not; the updateGui() is only called once. I put it in the render method as a test for the display so, ignore that. All I want it to do is, when you pick up a coin, like when getting an achievement; the box in the top right corner of the screen displays with the info.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.