Jump to content

Recommended Posts

Posted

Vec3i

has

getX

,

getY

and

getZ

methods that return the x, y and z coordinates respectively. These are getter methods, a very common pattern in Java.

 

There's not much we can do to help you if you can't understand us and don't know Java.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

That's one of the methods you need to call, yes.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

but now game crashed

2016-03-06 16:10:03,897 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-03-06 16:10:03,898 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:10:03] [main/INFO] [GradleStart]: Extra: []
[16:10:03] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/GIORGI/.gradle/caches/minecraft/assets, --assetIndex, 1.8, --accessToken{REDACTED}, --version, 1.8.9, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[16:10:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker
[16:10:04] [main/INFO] [FML]: Forge Mod Loader version 11.15.1.1764 for Minecraft 1.8.9 loading
[16:10:04] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_73, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_73
[16:10:04] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[16:10:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[16:10:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin
[16:10:04] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[16:10:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker
[16:10:04] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:10:04] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[16:10:05] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing
[16:10:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper
[16:10:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker
[16:10:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[16:10:05] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:10:05] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker
[16:10:05] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}
2016-03-06 16:10:05,962 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-03-06 16:10:05,984 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
2016-03-06 16:10:05,986 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[16:10:06] [Client thread/INFO]: Setting user: Player945
[16:10:09] [Client thread/INFO]: LWJGL Version: 2.9.4
[16:10:09] [Client thread/WARN] [FML]: =============================================================
[16:10:09] [Client thread/WARN] [FML]: MOD HAS DIRECT REFERENCE System.exit() THIS IS NOT ALLOWED REROUTING TO FML!
[16:10:09] [Client thread/WARN] [FML]: Offendor: com/sun/jna/Native.main([Ljava/lang/String;)V
[16:10:09] [Client thread/WARN] [FML]: Use FMLCommonHandler.exitJava instead
[16:10:09] [Client thread/WARN] [FML]: =============================================================
[16:10:10] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:246]: ---- Minecraft Crash Report ----
// Hey, that tickles! Hehehe!

Time: 06.03.16 16:10
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


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

-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_73, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 211148368 bytes (201 MB) / 551550976 bytes (526 MB) up to 1895825408 bytes (1808 MB)
JVM Flags: 0 total; 
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0 NVIDIA 344.75' Renderer: 'GeForce GT 730/PCIe/SSE2'
[16:10:10] [Client thread/INFO] [FML]: MinecraftForge v11.15.1.1764 Initialized
[16:10:10] [Client thread/INFO] [FML]: Replaced 204 ore recipies
[16:10:10] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer
[16:10:10] [Client thread/INFO] [FML]: Searching C:\Users\GIORGI\Desktop\Modder\Modding 1.8.9\run\mods for mods
[16:10:11] [Client thread/INFO] [FML]: Forge Mod Loader has identified 4 mods to load
[16:10:11] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lm] at CLIENT
[16:10:11] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, lm] at SERVER
[16:10:12] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:LegendaryMod
[16:10:12] [Client thread/INFO] [FML]: Processing ObjectHolder annotations
[16:10:12] [Client thread/INFO] [FML]: Found 384 ObjectHolder annotations
[16:10:12] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations
[16:10:12] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations
[16:10:12] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0
[16:10:12] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json
[16:10:12] [Client thread/INFO] [FML]: Applying holder lookups
[16:10:12] [Client thread/INFO] [FML]: Holder lookups applied
[16:10:12] [Client thread/INFO] [FML]: Injecting itemstacks
[16:10:12] [Client thread/INFO] [FML]: Itemstack injection complete
[16:10:12] [sound Library Loader/INFO]: Starting up SoundSystem...
[16:10:12] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: AHEAD Target: null
[16:10:12] [Thread-9/INFO]: Initializing LWJGL OpenAL
[16:10:12] [Thread-9/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:10:12] [Thread-9/INFO]: OpenAL initialized.
[16:10:13] [sound Library Loader/INFO]: Sound engine started
[16:10:16] [Client thread/INFO] [FML]: Max texture size: 16384
[16:10:16] [Client thread/INFO]: Created: 16x16 textures-atlas
[16:10:17] [Client thread/INFO] [FML]: Injecting itemstacks
[16:10:17] [Client thread/INFO] [FML]: Itemstack injection complete
[16:10:17] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 4 mods
[16:10:17] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:LegendaryMod
[16:10:17] [Client thread/INFO]: SoundSystem shutting down...
[16:10:17] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com
[16:10:17] [sound Library Loader/INFO]: Starting up SoundSystem...
[16:10:17] [Thread-11/INFO]: Initializing LWJGL OpenAL
[16:10:17] [Thread-11/INFO]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[16:10:17] [Thread-11/INFO]: OpenAL initialized.
[16:10:18] [sound Library Loader/INFO]: Sound engine started
[16:10:20] [Client thread/INFO] [FML]: Max texture size: 16384
[16:10:21] [Client thread/INFO]: Created: 512x512 textures-atlas
[16:10:23] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[16:10:24] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[16:10:24] [server thread/INFO]: Starting integrated minecraft server version 1.8.9
[16:10:24] [server thread/INFO]: Generating keypair
[16:10:24] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance
[16:10:24] [server thread/INFO] [FML]: Found a missing id from the world lm:DryBlock
[16:10:25] [server thread/INFO] [FML]: Applying holder lookups
[16:10:25] [server thread/INFO] [FML]: Holder lookups applied
[16:10:25] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@25404c9b)
[16:10:25] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@25404c9b)
[16:10:25] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@25404c9b)
[16:10:25] [server thread/INFO]: Preparing start region for level 0
[16:10:26] [server thread/INFO]: Preparing spawn area: 88%
[16:10:26] [server thread/INFO]: Changing view distance to 12, from 10
[16:10:26] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id
[16:10:27] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2
[16:10:27] [Netty Server IO #1/INFO] [FML]: Client protocol version 2
[16:10:27] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 4 mods : lm@V 0.1,[email protected],[email protected],[email protected]
[16:10:27] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established
[16:10:27] [server thread/INFO] [FML]: [server thread] Server side modded connection established
[16:10:27] [server thread/INFO]: Player945[local:E:7c3a1b09] logged in with entity id 311 at (-35.29841866904993, 65.0, 281.41142496231765)
[16:10:27] [server thread/INFO]: Player945 joined the game
[16:10:28] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@6b604183[id=15798b51-9c30-3f35-8be6-3613cb7b02a9,name=Player945,properties={},legacy=false]
com.mojang.authlib.exceptions.AuthenticationException: The client has sent too many requests within a certain amount of time
at com.mojang.authlib.yggdrasil.YggdrasilAuthenticationService.makeRequest(YggdrasilAuthenticationService.java:65) ~[YggdrasilAuthenticationService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:175) [YggdrasilMinecraftSessionService.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:59) [YggdrasilMinecraftSessionService$1.class:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:56) [YggdrasilMinecraftSessionService$1.class:?]
at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3524) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2317) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2280) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2195) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.get(LocalCache.java:3934) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) [guava-17.0.jar:?]
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) [guava-17.0.jar:?]
at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:165) [YggdrasilMinecraftSessionService.class:?]
at net.minecraft.client.Minecraft.func_181037_M(Minecraft.java:2915) [Minecraft.class:?]
at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:130) [skinManager$3.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_73]
at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_73]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_73]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_73]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
[16:10:29] [server thread/INFO]: Player945 has just earned the achievement [Taking Inventory]
[16:10:29] [Client thread/INFO]: [CHAT] Player945 has just earned the achievement [Taking Inventory]
[16:10:34] [server thread/INFO]: [Player945: Set own game mode to Creative Mode]
[16:10:34] [Client thread/INFO]: [CHAT] Your game mode has been updated
[16:10:39] [server thread/FATAL]: Error executing task
java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask.report(Unknown Source) ~[?:1.8.0_73]
at java.util.concurrent.FutureTask.get(Unknown Source) ~[?:1.8.0_73]
at net.minecraft.util.Util.runTask(Util.java:23) [util.class:?]
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:736) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:681) [MinecraftServer.class:?]
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:159) [integratedServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:548) [MinecraftServer.class:?]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_73]
Caused by: java.lang.NullPointerException
at com.Legendary.mod.items.tools.LMLimoniteSword.onItemRightClick(LMLimoniteSword.java:53) ~[LMLimoniteSword.class:?]
at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:170) ~[itemStack.class:?]
at net.minecraft.server.management.ItemInWorldManager.tryUseItem(ItemInWorldManager.java:364) ~[itemInWorldManager.class:?]
at net.minecraft.network.NetHandlerPlayServer.processPlayerBlockPlacement(NetHandlerPlayServer.java:607) ~[NetHandlerPlayServer.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:70) ~[C08PacketPlayerBlockPlacement.class:?]
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.processPacket(C08PacketPlayerBlockPlacement.java:10) ~[C08PacketPlayerBlockPlacement.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:15) ~[PacketThreadUtil$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:1.8.0_73]
at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:1.8.0_73]
at net.minecraft.util.Util.runTask(Util.java:22) ~[util.class:?]
... 5 more
[16:10:40] [server thread/INFO]: Stopping server
[16:10:40] [server thread/INFO]: Saving players
[16:10:40] [server thread/INFO]: Saving worlds
[16:10:40] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[16:10:40] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[16:10:40] [server thread/INFO]: Saving chunks for level 'New World'/The End
[16:10:41] [server thread/INFO] [FML]: Unloading dimension 0
[16:10:41] [server thread/INFO] [FML]: Unloading dimension -1
[16:10:41] [server thread/INFO] [FML]: Unloading dimension 1
[16:10:41] [server thread/INFO] [FML]: Applying holder lookups
[16:10:41] [server thread/INFO] [FML]: Holder lookups applied
[16:10:41] [Client thread/FATAL]: Unreported exception thrown!
java.lang.NullPointerException
at com.Legendary.mod.items.tools.LMLimoniteSword.onItemRightClick(LMLimoniteSword.java:53) ~[LMLimoniteSword.class:?]
at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:170) ~[itemStack.class:?]
at net.minecraft.client.multiplayer.PlayerControllerMP.sendUseItem(PlayerControllerMP.java:471) ~[PlayerControllerMP.class:?]
at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1598) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2123) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:380) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:116) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_73]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_73]
at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_73]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
[16:10:41] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: ---- Minecraft Crash Report ----
// You should try our sister game, Minceraft!

Time: 06.03.16 16:10
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
at com.Legendary.mod.items.tools.LMLimoniteSword.onItemRightClick(LMLimoniteSword.java:53)
at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:170)
at net.minecraft.client.multiplayer.PlayerControllerMP.sendUseItem(PlayerControllerMP.java:471)
at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1598)
at net.minecraft.client.Minecraft.runTick(Minecraft.java:2123)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1080)
at net.minecraft.client.Minecraft.run(Minecraft.java:380)
at net.minecraft.client.main.Main.main(Main.java:116)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)


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

-- Head --
Stacktrace:
at com.Legendary.mod.items.tools.LMLimoniteSword.onItemRightClick(LMLimoniteSword.java:53)
at net.minecraft.item.ItemStack.useItemRightClick(ItemStack.java:170)
at net.minecraft.client.multiplayer.PlayerControllerMP.sendUseItem(PlayerControllerMP.java:471)
at net.minecraft.client.Minecraft.rightClickMouse(Minecraft.java:1598)

-- Affected level --
Details:
Level name: MpServer
All players: 1 total; [EntityPlayerSP['Player945'/311, l='MpServer', x=-35,30, y=67,01, z=281,41]]
Chunk stats: MultiplayerChunkCache: 625, 625
Level seed: 0
Level generator: ID 00 - default, ver 1. Features enabled: false
Level generator options: 
Level spawn location: -37,00,64,00,285,00 - World: (-37,64,285), Chunk: (at 11,4,13 in -3,17; contains blocks -48,0,272 to -33,255,287), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Level time: 76558 game time, 8285 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: survival (ID 0). Hardcore: false. Cheats: false
Forced entities: 92 total; [EntityRabbit['Rabbit'/128, l='MpServer', x=-79,72, y=63,00, z=218,31], EntityCreeper['Creeper'/129, l='MpServer', x=-76,03, y=47,00, z=291,31], EntityZombie['Zombie'/130, l='MpServer', x=-82,22, y=44,00, z=300,31], EntityZombie['Zombie'/131, l='MpServer', x=-76,75, y=42,00, z=286,78], EntityCreeper['Creeper'/132, l='MpServer', x=-69,22, y=15,00, z=313,09], EntityChicken['Chicken'/133, l='MpServer', x=-73,63, y=67,00, z=343,63], EntityBat['Bat'/134, l='MpServer', x=-65,09, y=15,66, z=354,69], EntityZombie['Zombie'/141, l='MpServer', x=-53,56, y=12,00, z=224,88], EntityCreeper['Creeper'/142, l='MpServer', x=-52,50, y=54,00, z=242,50], EntityZombie['Zombie'/143, l='MpServer', x=-60,50, y=40,00, z=260,50], EntitySkeleton['Skeleton'/144, l='MpServer', x=-55,50, y=13,00, z=273,50], EntityItem['item.item.feather'/145, l='MpServer', x=-61,16, y=66,00, z=305,09], EntityChicken['Chicken'/157, l='MpServer', x=-34,13, y=62,59, z=215,63], EntitySquid['Squid'/158, l='MpServer', x=-46,75, y=61,16, z=241,22], EntitySkeleton['Skeleton'/159, l='MpServer', x=-40,50, y=28,00, z=246,50], EntityZombie['Zombie'/160, l='MpServer', x=-46,50, y=25,00, z=241,50], EntityCreeper['Creeper'/161, l='MpServer', x=-45,50, y=25,00, z=241,50], EntitySquid['Squid'/162, l='MpServer', x=-40,34, y=60,38, z=236,47], EntityCreeper['Creeper'/163, l='MpServer', x=-38,47, y=42,00, z=267,94], EntityZombie['Zombie'/164, l='MpServer', x=-48,06, y=30,09, z=288,70], EntitySkeleton['Skeleton'/165, l='MpServer', x=-42,50, y=22,00, z=293,50], EntityZombie['Zombie'/166, l='MpServer', x=-33,53, y=14,00, z=312,22], EntitySkeleton['Skeleton'/167, l='MpServer', x=-30,13, y=39,00, z=305,47], EntityBat['Bat'/176, l='MpServer', x=-36,25, y=9,41, z=242,31], EntityZombie['Zombie'/177, l='MpServer', x=-31,94, y=41,00, z=266,34], EntitySpider['Spider'/178, l='MpServer', x=-25,31, y=39,00, z=280,28], EntityBat['Bat'/179, l='MpServer', x=-27,13, y=15,10, z=332,94], EntitySkeleton['Skeleton'/180, l='MpServer', x=-23,50, y=33,00, z=323,50], EntityZombie['Zombie'/181, l='MpServer', x=-31,41, y=35,00, z=334,00], EntitySkeleton['Skeleton'/182, l='MpServer', x=-27,50, y=34,00, z=325,50], EntityZombie['Zombie'/189, l='MpServer', x=-6,50, y=22,00, z=217,50], EntityWitch['Witch'/190, l='MpServer', x=-6,50, y=41,00, z=222,50], EntityZombie['Zombie'/191, l='MpServer', x=-9,66, y=34,00, z=221,34], EntityChicken['Chicken'/192, l='MpServer', x=-13,34, y=63,00, z=222,66], EntityZombie['Zombie'/193, l='MpServer', x=-11,50, y=23,00, z=252,50], EntityZombie['Zombie'/194, l='MpServer', x=-3,44, y=43,00, z=256,91], EntityChicken['Chicken'/195, l='MpServer', x=-1,47, y=64,00, z=319,34], EntityItem['item.item.egg'/199, l='MpServer', x=0,28, y=61,00, z=223,38], EntityBat['Bat'/200, l='MpServer', x=1,53, y=42,10, z=236,78], EntityChicken['Chicken'/201, l='MpServer', x=0,06, y=62,59, z=224,09], EntityItem['item.item.seeds'/202, l='MpServer', x=1,41, y=67,00, z=239,56], EntityCreeper['Creeper'/203, l='MpServer', x=2,50, y=42,00, z=240,50], EntityItem['item.item.seeds'/204, l='MpServer', x=3,72, y=67,00, z=242,38], EntitySkeleton['Skeleton'/205, l='MpServer', x=6,75, y=27,00, z=318,84], EntityZombie['Zombie'/333, l='MpServer', x=-8,50, y=14,00, z=216,50], EntityCreeper['Creeper'/206, l='MpServer', x=6,34, y=29,00, z=339,00], EntityZombie['Zombie'/207, l='MpServer', x=6,50, y=53,00, z=347,50], EntityZombie['Zombie'/79, l='MpServer', x=-113,09, y=40,00, z=286,41], EntityChicken['Chicken'/209, l='MpServer', x=6,47, y=64,00, z=353,63], EntityRabbit['Rabbit'/88, l='MpServer', x=-101,63, y=63,00, z=215,63], EntityBat['Bat'/89, l='MpServer', x=-99,15, y=53,08, z=261,80], EntityCreeper['Creeper'/90, l='MpServer', x=-98,50, y=53,00, z=270,50], EntityBat['Bat'/219, l='MpServer', x=29,58, y=28,79, z=268,95], EntityZombie['Zombie'/91, l='MpServer', x=-101,50, y=53,00, z=270,50], EntityCreeper['Creeper'/220, l='MpServer', x=29,50, y=38,00, z=266,50], EntityCreeper['Creeper'/92, l='MpServer', x=-99,50, y=28,00, z=282,50], EntityBat['Bat'/221, l='MpServer', x=24,44, y=44,10, z=269,25], EntityZombie['Zombie'/93, l='MpServer', x=-111,44, y=40,00, z=287,81], EntityBat['Bat'/222, l='MpServer', x=24,56, y=41,79, z=245,19], EntityZombie['Zombie'/94, l='MpServer', x=-107,50, y=31,00, z=293,50], EntityBat['Bat'/223, l='MpServer', x=28,54, y=40,08, z=270,73], EntityBat['Bat'/95, l='MpServer', x=-104,49, y=31,10, z=297,39], EntityCreeper['Creeper'/224, l='MpServer', x=26,59, y=40,00, z=274,03], EntityCreeper['Creeper'/96, l='MpServer', x=-106,50, y=41,00, z=288,50], EntityCreeper['Creeper'/225, l='MpServer', x=20,50, y=43,00, z=279,50], EntityCreeper['Creeper'/97, l='MpServer', x=-98,50, y=47,00, z=291,50], EntitySkeleton['Skeleton'/226, l='MpServer', x=23,50, y=45,00, z=280,50], EntityZombie['Zombie'/98, l='MpServer', x=-100,50, y=32,00, z=299,50], EntitySkeleton['Skeleton'/227, l='MpServer', x=20,50, y=42,00, z=275,50], EntityBat['Bat'/99, l='MpServer', x=-97,10, y=40,23, z=297,83], EntityEnderman['Enderman'/228, l='MpServer', x=17,50, y=46,00, z=282,50], EntityZombie['Zombie'/100, l='MpServer', x=-106,44, y=41,00, z=306,13], EntityZombie['Zombie'/229, l='MpServer', x=28,78, y=39,00, z=274,56], EntityCreeper['Creeper'/101, l='MpServer', x=-107,63, y=31,00, z=346,50], EntityZombie['Zombie'/102, l='MpServer', x=-98,50, y=39,00, z=354,06], EntityZombie['Zombie'/237, l='MpServer', x=33,50, y=41,00, z=254,50], EntityCreeper['Creeper'/110, l='MpServer', x=-83,50, y=14,00, z=294,50], EntityCreeper['Creeper'/238, l='MpServer', x=37,50, y=41,00, z=275,50], EntityCreeper['Creeper'/111, l='MpServer', x=-90,50, y=45,00, z=289,50], EntityPlayerSP['Player945'/311, l='MpServer', x=-35,30, y=67,01, z=281,41], EntityBat['Bat'/112, l='MpServer', x=-86,01, y=44,69, z=292,42], EntitySkeleton['Skeleton'/113, l='MpServer', x=-70,84, y=53,00, z=294,34], EntityCreeper['Creeper'/241, l='MpServer', x=39,50, y=31,00, z=293,50], EntityChicken['Chicken'/114, l='MpServer', x=-98,38, y=65,00, z=322,66], EntityRabbit['Rabbit'/242, l='MpServer', x=38,81, y=66,00, z=354,91], EntityBat['Bat'/115, l='MpServer', x=-96,24, y=28,84, z=341,48], EntityCreeper['Creeper'/116, l='MpServer', x=-84,50, y=40,00, z=349,50], EntityBat['Bat'/117, l='MpServer', x=-90,16, y=43,10, z=345,34], EntityZombie['Zombie'/373, l='MpServer', x=-114,00, y=41,00, z=312,56], EntitySpider['Spider'/118, l='MpServer', x=-91,50, y=40,00, z=341,50], EntityChicken['Chicken'/121, l='MpServer', x=-85,59, y=62,61, z=361,22], EntityChicken['Chicken'/126, l='MpServer', x=-65,34, y=63,00, z=205,31]]
Retry entities: 0 total; []
Server brand: fml,forge
Server type: Integrated singleplayer server
Stacktrace:
at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:383)
at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2645)
at net.minecraft.client.Minecraft.run(Minecraft.java:409)
at net.minecraft.client.main.Main.main(Main.java:116)
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:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
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.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
Minecraft Version: 1.8.9
Operating System: Windows 7 (amd64) version 6.1
Java Version: 1.8.0_73, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 24922488 bytes (23 MB) / 824705024 bytes (786 MB) up to 1895825408 bytes (1808 MB)
JVM Flags: 0 total; 
IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94
FML: MCP 9.19 Powered by Forge 11.15.1.1764 4 mods loaded, 4 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored
UCHIJAAAA	mcp{9.19} [Minecraft Coder Pack] (minecraft.jar) 
UCHIJAAAA	FML{8.0.99.99} [Forge Mod Loader] (forgeSrc-1.8.9-11.15.1.1764.jar) 
UCHIJAAAA	Forge{11.15.1.1764} [Minecraft Forge] (forgeSrc-1.8.9-11.15.1.1764.jar) 
UCHIJAAAA	lm{V 0.1} [LegendaryMod] (bin) 
Loaded coremods (and transformers): 
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.4.0 NVIDIA 344.75' Renderer: 'GeForce GT 730/PCIe/SSE2'
Launched Version: 1.8.9
LWJGL: 2.9.4
OpenGL: GeForce GT 730/PCIe/SSE2 GL version 4.4.0 NVIDIA 344.75, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: No
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)
CPU: 8x Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz
[16:10:41] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:612]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\GIORGI\Desktop\Modder\Modding 1.8.9\run\.\crash-reports\crash-2016-03-06_16.10.41-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed

Posted
java.lang.NullPointerException: Unexpected error

at com.Legendary.mod.items.tools.LMLimoniteSword.onItemRightClick(LMLimoniteSword.java:53)

 

This is a

NullPointerException

, which I explained in a previous post. How about you read that and figure out for yourself what's causing the error?

 

We can't do all of your debugging for you.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

i fixed it

but i think my code isn't right

	@Override
public ItemStack onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn ) {

	MovingObjectPosition objectMouseOver = ForgeHooks.rayTraceEyes(playerIn, 5.0F);


		EntityLightningBolt lightning = new EntityLightningBolt(worldIn, x , y, z );
		worldIn.addWeatherEffect(lightning);

		return itemStackIn;
	}


	  public int getX()
	    {
	        return this.x;
	    }
	    public int getY()
	    {
	        return this.y;
	    }

	    public int getZ()
	    {
	        return this.z;
	    }

Posted

i am geting fn error because of this objectMouseOver.getBlockPos();

 

Do you understand why that's causing an error and how you can solve this?

 

i fixed it

but i think my code isn't right

	@Override
public ItemStack onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn ) {

	MovingObjectPosition objectMouseOver = ForgeHooks.rayTraceEyes(playerIn, 5.0F);


		EntityLightningBolt lightning = new EntityLightningBolt(worldIn, x , y, z );
		worldIn.addWeatherEffect(lightning);

		return itemStackIn;
	}


	  public int getX()
	    {
	        return this.x;
	    }
	    public int getY()
	    {
	        return this.y;
	    }

	    public int getZ()
	    {
	        return this.z;
	    }

 

That's definitely not right. I didn't tell you to copy-paste the methods and fields into your own class, I told you to call the existing methods.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

[quote name="Choonster" post="195832" timestamp="1457267296"]
[quote author=TheTroop link=topic=37143.msg195827#msg195827 date=1457266888]
i am geting fn error because of this objectMouseOver.getBlockPos();
[/quote]

Do you understand why that's causing an error and how you can solve this?

because getBlockpos is empty?(= null)



		EntityLightningBolt lightning = new EntityLightningBolt(worldIn, x , y, z );
		worldIn.addWeatherEffect(lightning);

		return itemStackIn;
	}


	  public int getX()
	    {
	        return this.x;
	    }
	    public int getY()
	    {
	        return this.y;
	    }

	    public int getZ()
	    {
	        return this.z;
	    }

 

That's definitely not right. I didn't tell you to copy-paste the methods and fields into your own class, I told you to call the existing methods.

Posted

because getBlockpos is empty?(= null)

 

getBlockPos

returning

null

wouldn't cause an error on that line. The error is happening because the value you're calling

getBlockPos

on (

objectMouseOver

) is

null

.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

We can not help you any further. You do not know Java, and you sure don't have the attitude to learn it. In fact, your 'issue' is not even related to Java, but to general programming. Please, learn at least the basics of programming before trying to mod.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Posted

like this

public static void Vec3i(int getX, int getY, int getZ) {
}

 

No. That's a static method that takes three arguments and does absolutely nothing.

 

You need to call the

getX

,

getY

and

getZ

methods on the

BlockPos

you get from the

MovingObjectPosition

. Calling methods is a very basic concept in Java.

 

If the ray trace doesn't hit anything, the returned

MovingObjectPosition

will be

null

. If it hits an entity instead of a block, the

BlockPos

will be

null

. This means that you need to check that the

MovingObjectPositon

isn't

null

and that it hit a block (the

MovingObjectPosition#typeOfHit

field is

MovingObjectPosition.MovingObjectType.BLOCK

) before you try to get the

BlockPos

from it.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Reach Out To Rapid Digital: What sapp Info: +1 41 4 80 7 14 85 Email INFO: rap iddi gita lrecov ery @ exe cs. com Hello, my name is Jayson, and I’m 35 years old from the United Kingdom. My family and I recently endured an incredibly challenging experience that I wouldn’t wish on anyone. We became victims of a cryptocurrency investment fraud scheme that saw us lose a staggering $807,000 in USDT and Bitcoins. The fraudsters had created a convincing facade, and we were lured into investing, only to discover later that the platform was a complete scam. We were left devastated, not just financially, but emotionally, as we had trusted these people and believed in the legitimacy of the investment. After the initial shock wore off, we desperately searched for ways to recover the lost funds. It seemed like an impossible task, and we felt as though there was no hope. That’s when, by sheer luck, we stumbled across a post about Rapid Digital Recovery, a cryptocurrency and funds recovery organization with a proven track record in cybersecurity and fraud recovery. We decided to reach out to them, and from the first interaction, we were impressed with their professionalism and transparency. They explained the recovery process in detail and reassured us that they had the skills and expertise to track down the perpetrators and recover our funds. This gave us a renewed sense of hope, something we hadn’t felt in months. What truly stood out during our experience with Rapid Digital Recovery was their dedication to the recovery process. The team went above and beyond, using sophisticated tracking tools and cyber forensics to gather critical information. Within a matter of weeks, they had successfully located the funds and traced the scam back to the fraudsters responsible. They worked with the authorities to ensure the criminals were held accountable for their actions. To our relief, the team at Rapid Digital Recovery was able to recover every single penny we had lost. The funds were returned in full, and the sense of closure we felt was invaluable. We couldn’t have imagined such a positive outcome in the early stages of our recovery journey, and we are deeply grateful for the work they did. If you ever find yourself in a similar situation, I highly recommend contacting Rapid Digital Recovery. Their expertise, transparency, and dedication to their clients make them the go-to choice for anyone seeking to recover lost cryptocurrency or funds. They truly gave us back our financial future.  
    • This is my first time modding anything, so maybe just skill issue. I'm using Forge 54.0.12 and Temurin 21.0.5+11-LTS I wanted to create a custom keybind and to check whether it works I'd like to send a chat message. I tried using Minecraft.getInstance().player.sendSystemMessage(Component.literal("test")); but IntelliJ couldnt resolve sendSystemMessage(...). Since I saw people using it in earlier versions, I tried the same thing with 1.20.6(- 50.1.0), where it works fine, now I can't figure out if this is intentional and whether there are other options for sending chat messages. On that note, is there more documentation than https://docs.minecraftforge.net/en/1.21.x/? It seems very incomplete compared to something like the Oracle Java docs
    • Hi, i'm having this error and I wanna fix it. we try: -Reload drivers -Eliminate .minecraft -Eliminate Java -Restart launcher -Verify if minecraft is using gpu -Mods  in .minecraft is empty -Install the latest and recomended version of forge idk what i have to do, help me pls. the lastest log is: https://mclo.gs/WAMao8x  
    • Read the FAQ, Rule #2. (https://forums.minecraftforge.net/topic/125488-rules-and-frequently-asked-questions-faq/)  
  • Topics

×
×
  • Create New...

Important Information

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