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

xilef11

Members
  • Posts

    83
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed

xilef11's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. I ended up using the first algorithm and ignoring the "closed edge" problem. I also make the checks more efficient by storing the edge as a Map<Xpos, Set<Zpos>>. However, it seems that the area found is not correct (includes only the edge, but the edge that gets printed to the log is incomplete). I feel that I missed something obvious Code on GitHub because reading code on the forums is painful Edit: Yup, that was it: a few copy-paste derps in setting the NW and SE blocks.
  2. that... is a surprisingly simple algorithm, considering all I could think of involved vector math (and wouldn't work). always google first the only issue I see here is speed, since it looks like I'll have to iterate through all blocks within the "bounding rectangle" of the polygon, then check if it is on the inside, which involves iterating through all blocks on the outline (so at least width*height*perimeter checks). I have a similar concern with the check to make sure the border is actually closed. Not sure if something can be done about that though.
  3. That would only work if the area was rectangular... The problem is that I can't know what the shape will be... all we have is the coordinates of the blocks that form the outline (which are connected), as well as the coordinates of a block somewhere inside the shape
  4. Hello I am creating a "block" that lifts terrain around it. The area to lift is defined by placing "marker" blocks in a connected shape that encloses the "lifter" block, on the same Y level. This has raised a few interesting questions: 1) Finding the outline: This is the easy part, just search in any/all cardinal directions until a marker block is found (or a max distance is reached), then recursively find all connected marker blocks. 2) Making sure the outline is a closed shape around the lifter: I would do this by making sure there is a marker block in all cardinal directions around the block, then checking that all marker blocks previously found have at least 2 other marker blocks connected to them. However, that looks like it could be slow. 3) Finding the area inside the outline This is the part I don't know how to do, and also the more "general" problem: given a 2D grid with a known outline (and a "center" point), how to find the coordinates of all squares inside that outline? Thoughts?
  5. And I suppose an improper way to do this would include hacking into world#setBlockState and checking if the call stack contains WorldGenerator#generate, which I presume would make a lot of things laggy AF and crash the others
  6. That's an option, although it reduces even more the number of mods that I will be able to handle, since they have to both fire the event and extend WorldGenMinable (even vanilla's BiomeHills$EmeraldGenerator is just a WorldGenerator)
  7. Hello I am trying to prevent ore generation on a per block basis. I looked into OreGenEvent, but there does not seem to be a way to find out what is being generated from the WorldGenerator instance, other than guessing from the class name. My thought would be to "intercept" or look for calls to World#setBlockState that happen in WorldGenerator#generate, check the BlockState being set and use that to cancel the ore generation. Of course, that looks like massive hackery from the deepest pits of coremodding, and I have no clue where to start about that. Any thoughts?
  8. Yes, except that it does not have a release since 1.7.10. I thought that since Forge added modifiers for keybinds, a search bar would be a logical thing to add, especially for finding the few keybinds I change in every new instance
  9. With large packs, there can be a lot of keybindings to scroll through. I think a search bar (possibly with a "show only conflicting" option) would improve usability.
  10. I'll look into that EnderIO.weather_rocket . Also, I plan to optionally load the map from a JSON file to allow pack makers/users to tweak it if necessary. Do you think there would be a significant performance difference between loading the JSON and iterating through the LootTables? I want to figure out what should be the default Also, I'm getting that NPE even when initialising the map lazily: 2016-06-03 14:44:16,216 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-06-03 14:44:16,216 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [14:44:16] [main/INFO] [GradleStart]: Extra: [] [14:44:16] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/Felix/.gradle/caches/minecraft/assets, --assetIndex, 1.9, --accessToken{REDACTED}, --version, 1.9.4, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [14:44:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [14:44:16] [main/INFO] [FML]: Forge Mod Loader version 12.17.0.1937 for Minecraft 1.9.4 loading [14:44:16] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_91, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre1.8.0_91 [14:44:16] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [14:44:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [14:44:16] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [14:44:16] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [14:44:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [14:44:16] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:44:16] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work! [14:44:19] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [14:44:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [14:44:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [14:44:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [14:44:19] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [14:44:19] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [14:44:20] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} 2016-06-03 14:44:20,849 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-06-03 14:44:20,890 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream 2016-06-03 14:44:20,890 WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream [14:44:21] [Client thread/INFO]: Setting user: Player919 [14:44:28] [Client thread/INFO]: LWJGL Version: 2.9.4 [14:44:29] [Client thread/INFO] [sTDOUT]: [net.minecraftforge.fml.client.SplashProgress:start:202]: ---- Minecraft Crash Report ---- // I let you down. Sorry Time: 16-06-03 14:44 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.9.4 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 330924416 bytes (315 MB) / 578289664 bytes (551 MB) up to 1838153728 bytes (1753 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'Intel' Version: '4.0.0 - Build 9.17.10.4229' Renderer: 'Intel(R) HD Graphics 4000' [14:44:30] [Client thread/INFO] [FML]: MinecraftForge v12.17.0.1937 Initialized [14:44:30] [Client thread/INFO] [FML]: Replaced 232 ore recipes [14:44:30] [Client thread/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [14:44:30] [Client thread/INFO] [FML]: Searching C:\Users\Felix\Documents\GitHub\runesofwizardry-classics\run\mods for mods [14:44:33] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load [14:44:33] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, runesofwizardry_classics, runesofwizardry] at CLIENT [14:44:33] [Client thread/INFO] [FML]: Attempting connection with missing mods [mcp, FML, Forge, runesofwizardry_classics, runesofwizardry] at SERVER [14:44:35] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Runes of Wizardry - Classic Dusts Pack, FMLFileResourcePack:Runes of Wizardry [14:44:35] [Client thread/INFO] [FML]: Processing ObjectHolder annotations [14:44:35] [Client thread/INFO] [FML]: Found 418 ObjectHolder annotations [14:44:35] [Client thread/INFO] [FML]: Identifying ItemStackHolder annotations [14:44:35] [Client thread/INFO] [FML]: Found 0 ItemStackHolder annotations [14:44:35] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0 [14:44:35] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_inert_storage [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_plant_storage [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_aqua_storage [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_fire_storage [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_glowstone_storage [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_ender_storage [14:44:36] [Client thread/INFO] [runesofwizardry_classics]: Registering Classic dusts [14:44:36] [Client thread/INFO] [runesofwizardry]: Creating StateMapper for dust_classic_storage [14:44:36] [Forge Version Check/INFO] [ForgeVersionCheck]: [Forge] Found status: BETA_OUTDATED Target: 12.17.0.1940 [14:44:36] [Client thread/INFO] [runesofwizardry_classics]: Initialising config [14:44:36] [Client thread/INFO] [FML]: Applying holder lookups [14:44:36] [Client thread/INFO] [FML]: Holder lookups applied [14:44:36] [Client thread/INFO] [FML]: Injecting itemstacks [14:44:36] [Client thread/INFO] [FML]: Itemstack injection complete [14:44:56] [sound Library Loader/INFO]: Starting up SoundSystem... [14:44:57] [Thread-8/INFO]: Initializing LWJGL OpenAL [14:44:57] [Thread-8/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:44:57] [Thread-8/INFO]: OpenAL initialized. [14:44:57] [sound Library Loader/INFO]: Sound engine started [14:45:03] [Client thread/INFO] [FML]: Max texture size: 8192 [14:45:03] [Client thread/INFO]: Created: 16x16 textures-atlas [14:45:06] [Client thread/INFO] [runesofwizardry_classics]: Registering dust recipes [14:45:06] [Client thread/INFO] [FML]: Injecting itemstacks [14:45:06] [Client thread/INFO] [FML]: Itemstack injection complete [14:45:06] [Client thread/INFO] [FML]: Unknown recipe class! com.zpig333.runesofwizardry.recipe.RecipeDustPouch Modder please refer to net.minecraftforge.oredict.RecipeSorter [14:45:06] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods [14:45:06] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Runes of Wizardry - Classic Dusts Pack, FMLFileResourcePack:Runes of Wizardry [14:45:17] [Client thread/INFO]: SoundSystem shutting down... [14:45:17] [Client thread/WARN]: Author: Paul Lamb, www.paulscode.com [14:45:17] [sound Library Loader/INFO]: Starting up SoundSystem... [14:45:18] [Thread-10/INFO]: Initializing LWJGL OpenAL [14:45:18] [Thread-10/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [14:45:18] [Thread-10/INFO]: OpenAL initialized. [14:45:18] [sound Library Loader/INFO]: Sound engine started [14:45:23] [Client thread/INFO] [FML]: Max texture size: 8192 [14:45:23] [Client thread/INFO]: Created: 1024x512 textures-atlas [14:45:31] [Realms Notification Availability checker #1/INFO]: Could not authorize you against Realms server: Invalid session id [14:45:40] [server thread/INFO]: Starting integrated minecraft server version 1.9.4 [14:45:40] [server thread/INFO]: Generating keypair [14:45:40] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance [14:45:40] [server thread/INFO] [FML]: Applying holder lookups [14:45:40] [server thread/INFO] [FML]: Holder lookups applied [14:45:40] [server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@9bb9daa) [14:45:41] [server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@9bb9daa) [14:45:41] [server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@9bb9daa) [14:45:41] [server thread/INFO]: Preparing start region for level 0 [14:45:42] [server thread/INFO]: Preparing spawn area: 29% [14:45:42] [server thread/INFO]: Changing view distance to 12, from 10 [14:45:45] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [14:45:45] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [14:45:45] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 5 mods : runesofwizardry@1.9.4-0.6.5,FML@8.0.99.99,runesofwizardry_classics@@VERSION@,Forge@12.17.0.1937,mcp@9.19 [14:45:45] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [14:45:45] [server thread/INFO] [FML]: [server thread] Server side modded connection established [14:45:45] [server thread/INFO]: Player919[local:E:0eb46186] logged in with entity id 16 at (1723.2736775815363, 66.0, 58.604934397496514) [14:45:45] [server thread/INFO]: Player919 joined the game [14:45:46] [server thread/INFO]: Saving and pausing game... [14:45:46] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:45:47] [server thread/INFO]: Saving chunks for level 'New World'/Nether [14:45:47] [server thread/INFO]: Saving chunks for level 'New World'/The End [14:45:47] [pool-2-thread-1/WARN]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@19db55b2[id=fd31ce15-3baa-3523-8ee4-307bb606ee39,name=Player919,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.getProfileProperties(Minecraft.java:3041) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:131) [skinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_91] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_91] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_91] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] [14:45:51] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Dawn [14:45:51] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Dusk [14:45:52] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Fire Trap Rune [14:45:52] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Lightning Trap Rune [14:45:52] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Poison Trap Rune [14:45:53] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Detonation [14:45:54] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Entrapment [14:45:55] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Locked Time [14:45:55] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of the Void [14:45:57] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of the Barrier [14:45:57] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Wisdom [14:45:58] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Speed [14:45:58] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Compression [14:45:58] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of the Hellstorm [14:45:59] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Rebirth [14:45:59] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Resurrection [14:46:00] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Power Distribution [14:46:00] [Netty Local Client IO #0/INFO]: [CHAT] [Runic Dictionary] Selected: Rune of Resurrection [14:46:03] [server thread/INFO] [runesofwizardry]: Import Pattern: Looking at block: tile.grass at BlockPos{x=1737, y=65, z=50} facing: east [14:46:03] [server thread/INFO] [runesofwizardry]: Import Pattern: Looking at block: tile.runesofwizardry_dust_placed at BlockPos{x=1737, y=66, z=50} facing: east [14:46:06] [server thread/INFO] [runesofwizardry]: Finished finding dust pattern. Found 9 blocks in 21 calls [14:46:06] [server thread/INFO] [runesofwizardry]: Converting to array: there are 3 horizontal blocks and 3 vertical blocks. NW corner is BlockPos{x=1736, y=66, z=49} and SE corner is BlockPos{x=1738, y=66, z=51} [14:46:06] [server thread/INFO] [runesofwizardry]: Found sacrifice: [] [14:46:06] [server thread/INFO] [runesofwizardry]: Top-left block is :BlockPos{x=1738, y=66, z=49} and entity Pos is: BlockPos{x=1737, y=66, z=50} [14:46:06] [server thread/INFO] [runesofwizardry]: Formed Rune: runesofwizardry_classics.rune.resurrection facing east by Player919 [14:46:08] [server thread/INFO]: Player919 has just earned the achievement [Taking Inventory] [14:46:08] [Client thread/INFO]: [CHAT] Player919 has just earned the achievement [Taking Inventory] [14:46:28] [server thread/INFO] [runesofwizardry_classics]: Creating drop table for world: OVERWORLD [14:46:32] [server thread/ERROR]: Encountered an unexpected exception net.minecraft.util.ReportedException: Ticking block entity at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:787) ~[MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:685) ~[MinecraftServer.class:?] at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:155) ~[integratedServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:534) [MinecraftServer.class:?] at java.lang.Thread.run(Unknown Source) [?:1.8.0_91] Caused by: java.lang.NullPointerException at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) ~[guava-17.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:3933) ~[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 net.minecraft.world.storage.loot.LootTableManager.getLootTableFromLocation(LootTableManager.java:39) ~[LootTableManager.class:?] at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.getEntityLoot_Table(RuneResurrection.java:172) ~[RuneResurrection.class:?] at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable_entity(RuneResurrection.java:149) ~[RuneResurrection.class:?] at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable(RuneResurrection.java:126) ~[RuneResurrection.class:?] at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.entityIDFromDrops(RuneResurrection.java:213) ~[RuneResurrection.class:?] at xilef11.mc.runesofwizardry_classics.runes.entity.RuneEntityResurrection.update(RuneEntityResurrection.java:51) ~[RuneEntityResurrection.class:?] at com.zpig333.runesofwizardry.tileentity.TileEntityDustActive.update(TileEntityDustActive.java:51) ~[TileEntityDustActive.class:?] at net.minecraft.world.World.updateEntities(World.java:1935) ~[World.class:?] at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:644) ~[WorldServer.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:781) ~[MinecraftServer.class:?] ... 4 more [14:46:32] [server thread/ERROR]: This crash report has been saved to: C:\Users\Felix\Documents\GitHub\runesofwizardry-classics\run\.\crash-reports\crash-2016-06-03_14.46.32-server.txt [14:46:32] [server thread/INFO]: Stopping server [14:46:32] [server thread/INFO]: Saving players [14:46:32] [server thread/INFO]: Saving worlds [14:46:32] [server thread/INFO]: Saving chunks for level 'New World'/Overworld [14:46:32] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:646]: ---- Minecraft Crash Report ---- // Hi. I'm Minecraft, and I'm a crashaholic. Time: 16-06-03 14:46 Description: Ticking block entity java.lang.NullPointerException: Ticking block entity at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) at com.google.common.cache.LocalCache.get(LocalCache.java:3933) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) at net.minecraft.world.storage.loot.LootTableManager.getLootTableFromLocation(LootTableManager.java:39) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.getEntityLoot_Table(RuneResurrection.java:172) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable_entity(RuneResurrection.java:149) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable(RuneResurrection.java:126) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.entityIDFromDrops(RuneResurrection.java:213) at xilef11.mc.runesofwizardry_classics.runes.entity.RuneEntityResurrection.update(RuneEntityResurrection.java:51) at com.zpig333.runesofwizardry.tileentity.TileEntityDustActive.update(TileEntityDustActive.java:51) at net.minecraft.world.World.updateEntities(World.java:1935) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:644) at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:781) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:685) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:155) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:534) at java.lang.Thread.run(Unknown Source) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Client thread Stacktrace: at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) at com.google.common.cache.LocalCache.get(LocalCache.java:3933) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) at net.minecraft.world.storage.loot.LootTableManager.getLootTableFromLocation(LootTableManager.java:39) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.getEntityLoot_Table(RuneResurrection.java:172) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable_entity(RuneResurrection.java:149) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable(RuneResurrection.java:126) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.entityIDFromDrops(RuneResurrection.java:213) at xilef11.mc.runesofwizardry_classics.runes.entity.RuneEntityResurrection.update(RuneEntityResurrection.java:51) at com.zpig333.runesofwizardry.tileentity.TileEntityDustActive.update(TileEntityDustActive.java:51) -- Block entity being ticked -- Details: Name: te_dust_active // com.zpig333.runesofwizardry.tileentity.TileEntityDustActive Block type: ID #215 (tile.runesofwizardry_dust_placed // com.zpig333.runesofwizardry.block.BlockDustPlaced) Block data value: 1 / 0x1 / 0b0001 Block location: World: (1737,66,50), Chunk: (at 9,4,2 in 108,3; contains blocks 1728,0,48 to 1743,255,63), Region: (3,0; contains chunks 96,0 to 127,31, blocks 1536,0,0 to 2047,255,511) Actual block type: ID #215 (tile.runesofwizardry_dust_placed // com.zpig333.runesofwizardry.block.BlockDustPlaced) Actual block data value: 1 / 0x1 / 0b0001 Stacktrace: at net.minecraft.world.World.updateEntities(World.java:1935) at net.minecraft.world.WorldServer.updateEntities(WorldServer.java:644) -- Affected level -- Details: Level name: New World All players: 1 total; [EntityPlayerMP['Player919'/16, l='New World', x=1736,08, y=66,00, z=50,63]] Chunk stats: ServerChunkCache: 625 Drop: 0 Level seed: -894440548156511612 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: 3;minecraft:bedrock,64*minecraft:dirt,minecraft:grass;1;village Level spawn location: World: (1719,4,72), Chunk: (at 7,0,8 in 107,4; contains blocks 1712,0,64 to 1727,255,79), Region: (3,0; contains chunks 96,0 to 127,31, blocks 1536,0,0 to 2047,255,511) Level time: 25399 game time, 2726 day time Level dimension: 0 Level storage version: 0x04ABD - Anvil Level weather: Rain time: 89048 (now: false), thunder time: 28693 (now: false) Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: true Stacktrace: at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:781) at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:685) at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:155) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:534) at java.lang.Thread.run(Unknown Source) -- System Details -- Details: Minecraft Version: 1.9.4 Operating System: Windows 7 (amd64) version 6.1 Java Version: 1.8.0_91, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 603581296 bytes (575 MB) / 1080033280 bytes (1030 MB) up to 1838153728 bytes (1753 MB) JVM Flags: 0 total; IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP 9.28 Powered by Forge 12.17.0.1937 5 mods loaded, 5 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.9.4-12.17.0.1937.jar) UCHIJAAAA Forge{12.17.0.1937} [Minecraft Forge] (forgeSrc-1.9.4-12.17.0.1937.jar) UCHIJAAAA runesofwizardry{1.9.4-0.6.5} [Runes of Wizardry] (Runes-of-Wizardry-1.9.4-0.6.5-deobf.jar) UCHIJAAAA runesofwizardry_classics{@VERSION@} [Runes of Wizardry - Classic Dusts Pack] (bin) Loaded coremods (and transformers): GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread. Profiler Position: N/A (disabled) Player Count: 1 / 8; [EntityPlayerMP['Player919'/16, l='New World', x=1736,08, y=66,00, z=50,63]] Type: Integrated Server (map_client.txt) Is Modded: Definitely; Client brand changed to 'fml,forge' [14:46:32] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:646]: #@!@# Game crashed! Crash report saved to: #@!@# .\crash-reports\crash-2016-06-03_14.46.32-server.txt [14:46:32] [Client thread/INFO] [FML]: Waiting for the server to terminate/save. [14:46:32] [server thread/INFO]: Saving chunks for level 'New World'/Nether [14:46:32] [server thread/INFO]: Saving chunks for level 'New World'/The End [14:46:32] [server thread/INFO] [FML]: Unloading dimension 0 [14:46:32] [server thread/INFO] [FML]: Unloading dimension -1 [14:46:32] [server thread/INFO] [FML]: Unloading dimension 1 [14:46:32] [server thread/INFO] [FML]: Applying holder lookups [14:46:32] [server thread/INFO] [FML]: Holder lookups applied [14:46:32] [server thread/INFO] [FML]: The state engine was in incorrect state SERVER_STOPPING and forced into state SERVER_STOPPED. Errors may have been discarded. [14:46:32] [Client thread/INFO] [FML]: Server terminated. AL lib: (EE) alc_cleanup: 1 device not closed Code
  11. No clue what the entity ID is, all I gave is that crash report (well, I have another similar one with its server log), because I was unable to reproduce the crash even with the same Forge version, so I figure they must have another mod being stupid.
  12. It seems to be happening I've had two bug reports with a crashlog like this on a dedicated server (Forge 1935 and 1937), the line from my mod being a call to EntityList#createEntityByName. couldn't reproduce them though I'm not sure I completely understand what you mean here... LootTables provide the entity -> drops information. Because what I need is the drops -> entity, I iterate through all living entities to get their possible drops and build a map for [item name + meta] ->
  13. I guess I'll keep my catch(NoClassDefFoundError e) then My issue now seems to be when should I build my map. I was doing it on WorldEvent.Load, but I get a NPE when grabbing the LootTable Description: Exception in server tick loop java.lang.NullPointerException: Exception in server tick loop at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:213) at com.google.common.cache.LocalCache.get(LocalCache.java:3933) at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3938) at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4821) at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4827) at net.minecraft.world.storage.loot.LootTableManager.getLootTableFromLocation(LootTableManager.java:39) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.getEntityLoot_Table(RuneResurrection.java:167) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable_entity(RuneResurrection.java:144) at xilef11.mc.runesofwizardry_classics.runes.RuneResurrection.initDropsTable(RuneResurrection.java:121) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_11_RuneResurrection_initDropsTable_Load.invoke(.dynamic) at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:49) at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraft.server.integrated.IntegratedServer.loadAllWorlds(IntegratedServer.java:96) at net.minecraft.server.integrated.IntegratedServer.startServer(IntegratedServer.java:123) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:494) at java.lang.Thread.run(Unknown Source)
  14. I think I got something that could work (didn't test yet), but it annoys me that I still have to create the entity, because I've had a few reports of dedicated servers crashing because the "particle" entity ended up on the entity list
×
×
  • Create New...

Important Information

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