SeanOMik
Members-
Posts
98 -
Joined
-
Last visited
Everything posted by SeanOMik
-
Yup, seemed to be the issue thanks!
-
Okay, well this block is also a furnace type block. oven.java And since its extending BlockBase... heres that class: BlockBase.java
-
Okay, well its a lot better, but there is still a few issues. You can see the red and black blocks behind the block, and when to the side of the block you can sometimes see the handle through the door... The 2nd image is it being correctly viewed
-
oven.json (JSON model)
-
Okay well if I remove the faces of the red and black 2x1 blocks, it makes the entire model just a purple and black block.
-
Yes it is, but what do you mean by removing the faces?
-
Okay, but there is no way to get it working without removing them though?
-
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
Ah! It works now! I don't know how it got through the approving process from curse though. But thanks again thanks for all your help! -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
Okay, well I fixed it. I moved all the files into a /src/main/... then I added gradlew.build and gradlew.properties. If you need any other folders, tell me. -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
And I should compile the mod with the defaults? Because doing that still doesnt have the code in the jar -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
After running it, where it is: To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14/userguide/gradle_daemon.html. This mapping 'snapshot_20171003' was designed for MC 1.12! Use at your own peril. ################################################# ForgeGradle 2.3-SNAPSHOT-4a7d623 https://github.com/MinecraftForge/ForgeGradle ################################################# Powered by MCP http://modcoderpack.com by: Searge, ProfMobius, R4wk, ZeuX Fesh0r, IngisKahn, bspkrs, LexManos ################################################# :deobfCompileDummyTask :extractMcpMappings SKIPPED :deobfProvidedDeobfDepTask0 SKIPPED :deobfProvidedRemapDepSourcesTask1 SKIPPED :deobfProvidedDummyTask :sourceApiJava UP-TO-DATE :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava UP-TO-DATE :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :sourceTestJava UP-TO-DATE :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :extractMcpData SKIPPED :getVersionJson :extractUserdev UP-TO-DATE :genSrgs SKIPPED :reobfJar :extractAnnotationsJar :extractRangemapReplacedMain UP-TO-DATE :retromapReplacedMain UP-TO-DATE :sourceJar UP-TO-DATE :assemble :check UP-TO-DATE :build BUILD SUCCESSFUL Total time: 10.693 secs -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
I already did that: version = "0.5.1" group = "com.SeanOMik.realfoods" archivesBaseName = "realfoods-0.5.1_BETA" -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
After opening it in WinRAR that does appear to be the issue... But what would cause this, and how could I fix it? -
[Solved] [1.12.2] My mod doesn't work at all after exporting it.
SeanOMik replied to SeanOMik's topic in Modder Support
I used gradlew build -
So a few weeks ago I started working on my mod again: https://minecraft.curseforge.com/projects/a-realistic-food-mod?gameCategorySlug=mc-mods&projectID=246769#c10. And after converting it from 1.10.2 to 1.12.2, I uploaded 2 versions. After a few days a friend through discord tried it and reported to me that it didnt work AT ALL. I opened eclipse and it seemed to work. So I compiled the mod and I discovered that it doesn't work at all. I have no idea why this is happening, its probably gonna be something stupid... But your gonna need code, and the only thing I can think of giving you is my github: https://github.com/SeanOMik/A-Realistic-Food-Mod. Thanks!
-
So in my model I would remove the red and black 2x1 blocks?
-
My custom block model is having UV issues (see attached images). I've never messed with UV values so I have no idea how to fix them. oven.json (model) The first image is the only picture I could get of the model looking how it should.
-
[SOLVED] [1.12.2] World gen is causing a crash
SeanOMik replied to SeanOMik's topic in Modder Support
Yeah, well I did even more research on how to fix the issue (with different search keywords), and I found this forum post: https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2882830-the-hunt-for-cascading-worldgen-lag At the end of that page I found someone asking if he added 8 to the correct place with a link to paste-bin. This post was the last post on the page so I assumed that it was correct, I tried it and it worked. I don't remember where I added 8, but it wasn't the correct place. The game no longer crashes and there isn't any cascading worldgen lag. Here is where I added the 8: private void runGenerator(WorldGenerator generator, World world, Random random, int chunk_X, int chunk_Z, int chancesToSpawn, int minHeight, int maxHeight) { if ((minHeight < 0) || (maxHeight > 256) || (minHeight > maxHeight)) { throw new IllegalArgumentException("Illegal Height Arguments for WorldGenerator"); } int heightDiff = maxHeight - minHeight + 1; for (int i = 0; i < chancesToSpawn; i++) {} int x = chunk_X * 16 + random.nextInt(16) + 8; int y = minHeight + random.nextInt(heightDiff); int z = chunk_Z * 16 + random.nextInt(16) + 8; generator.generate(world, random, new BlockPos(x, y, z)); } If you are having the same issue, here is the entire class: I'm sorry for wasting your guy's time. -
[SOLVED] [1.12.2] World gen is causing a crash
SeanOMik replied to SeanOMik's topic in Modder Support
Okay, so I commented this line out: generator.generate(world, rand, new BlockPos(x, y, z)); but I still don't see anything in the log: [18:04:55] [main/INFO] [GradleStart]: Extra: [] [18:04:55] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, C:/Users/sean_/.gradle/caches/minecraft/assets, --assetIndex, 1.12, --accessToken{REDACTED}, --version, 1.12.2, --tweakClass, net.minecraftforge.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker] [18:04:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Using primary tweak class name net.minecraftforge.fml.common.launcher.FMLTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLTweaker [18:04:55] [main/INFO] [FML]: Forge Mod Loader version 14.23.3.2655 for Minecraft 1.12.2 loading [18:04:55] [main/INFO] [FML]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_171, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_171 [18:04:55] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation [18:04:55] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLCorePlugin (net.minecraftforge.fml.relauncher.FMLCorePlugin), we are in deobf and it's a forge core plugin [18:04:55] [main/INFO] [FML]: Ignoring missing certificate for coremod FMLForgePlugin (net.minecraftforge.classloading.FMLForgePlugin), we are in deobf and it's a forge core plugin [18:04:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker [18:04:55] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.fml.relauncher.FMLCorePlugin [18:04:55] [main/INFO] [GradleStart]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin [18:04:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLInjectionAndSortingTweaker [18:04:55] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [18:04:58] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing [18:04:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.relauncher.CoreModManager$FMLPluginWrapper [18:04:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.FMLDeobfTweaker [18:04:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker [18:04:58] [main/INFO] [GradleStart]: Remapping AccessTransformer rules... [18:04:58] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.fml.common.launcher.TerminalTweaker [18:04:58] [main/INFO] [LaunchWrapper]: Calling tweak class net.minecraftforge.fml.common.launcher.TerminalTweaker [18:04:58] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main} [18:05:00] [main/INFO] [net.minecraft.client.Minecraft]: Setting user: Player520 [18:05:05] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer: [18:05:05] [main/INFO] [net.minecraft.client.Minecraft]: LWJGL Version: 2.9.4 [18:05:06] [main/INFO] [FML]: -- System Details -- Details: Minecraft Version: 1.12.2 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0_171, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 3886987232 bytes (3706 MB) / 4225236992 bytes (4029 MB) up to 4225236992 bytes (4029 MB) JVM Flags: 3 total; -Xincgc -Xmx4G -Xms4G IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: Loaded coremods (and transformers): GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 390.77' Renderer: 'GeForce GTX 1050 Ti/PCIe/SSE2' [18:05:06] [main/INFO] [FML]: MinecraftForge v14.23.3.2655 Initialized [18:05:06] [main/INFO] [FML]: Starts to replace vanilla recipe ingredients with ore ingredients. [18:05:06] [main/INFO] [FML]: Replaced 1036 ore ingredients [18:05:07] [main/INFO] [FML]: Found 0 mods from the command line. Injecting into mod discoverer [18:05:07] [main/INFO] [FML]: Searching D:\realFoods\1.12.2\run\mods for mods [18:05:08] [main/INFO] [FML]: Forge Mod Loader has identified 6 mods to load [18:05:09] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 145339256 nanos [18:05:09] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, realfoods, jei] at CLIENT [18:05:09] [main/INFO] [FML]: Attempting connection with missing mods [minecraft, mcp, FML, forge, realfoods, jei] at SERVER [18:05:10] [main/INFO] [net.minecraft.client.resources.SimpleReloadableResourceManager]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:A Realistic Food Mod, FMLFileResourcePack:Just Enough Items [18:05:10] [main/INFO] [FML]: Processing ObjectHolder annotations [18:05:10] [main/INFO] [FML]: Found 1168 ObjectHolder annotations [18:05:10] [main/INFO] [FML]: Identifying ItemStackHolder annotations [18:05:10] [main/INFO] [FML]: Found 0 ItemStackHolder annotations [18:05:10] [main/INFO] [FML]: Configured a dormant chunk cache size of 0 [18:05:10] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Starting version check at http://files.minecraftforge.net/maven/net/minecraftforge/forge/promotions_slim.json [18:05:10] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: UP_TO_DATE Target: null [18:05:10] [main/INFO] [FML]: Applying holder lookups [18:05:10] [main/INFO] [FML]: Holder lookups applied [18:05:10] [main/INFO] [FML]: Applying holder lookups [18:05:10] [main/INFO] [FML]: Holder lookups applied [18:05:10] [main/INFO] [FML]: Applying holder lookups [18:05:10] [main/INFO] [FML]: Holder lookups applied [18:05:10] [main/INFO] [FML]: Applying holder lookups [18:05:10] [main/INFO] [FML]: Holder lookups applied [18:05:10] [main/INFO] [FML]: Injecting itemstacks [18:05:10] [main/INFO] [FML]: Itemstack injection complete [18:05:14] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem... [18:05:14] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL [18:05:14] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) [18:05:15] [Thread-5/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized. [18:05:15] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started [18:05:21] [main/INFO] [FML]: Max texture size: 16384 [18:05:22] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas [18:05:23] [main/ERROR] [FML]: Exception loading model for variant realfoods:oven#burning=false,facing=west for blockstate "realfoods:oven[burning=false,facing=west]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realfoods:oven#burning=false,facing=west with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:248) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] 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_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1189) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [18:05:23] [main/ERROR] [FML]: Exception loading model for variant realfoods:cucumber_crop#age=7 for blockstate "realfoods:cucumber_crop[age=7]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realfoods:cucumber_crop#age=7 with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:248) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] 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_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1189) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [18:05:23] [main/ERROR] [FML]: Exception loading model for variant realfoods:cucumber_crop#age=6 for blockstate "realfoods:cucumber_crop[age=6]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realfoods:cucumber_crop#age=6 with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:248) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] 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_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1189) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [18:05:23] [main/ERROR] [FML]: Exception loading model for variant realfoods:cucumber_crop#age=5 for blockstate "realfoods:cucumber_crop[age=5]" net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model realfoods:cucumber_crop#age=5 with loader VariantLoader.INSTANCE, skipping at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:153) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader.registerVariant(ModelLoader.java:248) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:153) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] 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_171] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_171] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_171] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: net.minecraft.client.renderer.block.model.ModelBlockDefinition$MissingVariantException at net.minecraft.client.renderer.block.model.ModelBlockDefinition.getVariant(ModelBlockDefinition.java:83) ~[ModelBlockDefinition.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1189) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more [18:05:23] [main/FATAL] [FML]: Suppressed additional 36 model loading errors for domain realfoods [18:05:25] [main/INFO] [FML]: Applying holder lookups [18:05:25] [main/INFO] [FML]: Holder lookups applied [18:05:25] [main/INFO] [FML]: Injecting itemstacks [18:05:25] [main/INFO] [FML]: Itemstack injection complete [18:05:25] [main/INFO] [jei]: Starting JEI... [18:05:25] [main/INFO] [jei]: Registering recipe categories... [18:05:25] [main/INFO] [jei]: Registering recipe categories took 37.34 ms [18:05:25] [main/INFO] [jei]: Registering mod plugins... [18:05:25] [main/INFO] [jei]: Registering mod plugins took 273.4 ms [18:05:25] [main/INFO] [jei]: Building recipe registry... [18:05:25] [main/INFO] [jei]: Building recipe registry took 103.6 ms [18:05:25] [main/INFO] [jei]: Building ingredient list... [18:05:25] [main/INFO] [jei]: Building ingredient list took 38.59 ms [18:05:25] [main/INFO] [jei]: Building ingredient filter... [18:05:26] [main/INFO] [jei]: Building ingredient filter took 178.3 ms [18:05:26] [main/INFO] [jei]: Building runtime... [18:05:26] [main/INFO] [jei]: Building runtime took 134.7 ms [18:05:26] [main/INFO] [jei]: Starting JEI took 1.094 s [18:05:26] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 6 mods [18:05:26] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer: [18:05:26] [main/INFO] [com.mojang.text2speech.NarratorWindows]: Narrator library for x64 successfully loaded [18:05:27] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient]: Could not authorize you against Realms server: Invalid session id [18:05:34] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer]: Starting integrated minecraft server version 1.12.2 [18:05:34] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer]: Generating keypair [18:05:34] [Server thread/INFO] [FML]: Injecting existing registry data into this server instance [18:05:34] [Server thread/INFO] [FML]: Applying holder lookups [18:05:34] [Server thread/INFO] [FML]: Holder lookups applied [18:05:34] [Server thread/INFO] [FML]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@1abb2812) [18:05:35] [Server thread/INFO] [net.minecraft.advancements.AdvancementList]: Loaded 488 advancements [18:05:36] [Server thread/INFO] [FML]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@1abb2812) [18:05:36] [Server thread/INFO] [FML]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@1abb2812) [18:05:36] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing start region for level 0 [18:05:37] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 5% [18:05:38] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 10% [18:05:39] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 16% [18:05:40] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 23% [18:05:41] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 28% [18:05:42] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 34% [18:05:43] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 42% [18:05:44] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 50% [18:05:45] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 58% [18:05:46] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 66% [18:05:47] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 75% [18:05:48] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 84% [18:05:49] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 92% [18:05:50] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Preparing spawn area: 99% [18:05:50] [Server thread/INFO] [FML]: Unloading dimension -1 [18:05:50] [Server thread/INFO] [FML]: Unloading dimension 1 [18:05:50] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer]: Changing view distance to 8, from 10 [18:05:51] [Netty Local Client IO #0/INFO] [FML]: Server protocol version 2 [18:05:51] [Netty Server IO #1/INFO] [FML]: Client protocol version 2 [18:05:51] [Netty Server IO #1/INFO] [FML]: Client attempting to join with 6 mods : [email protected],[email protected],[email protected],[email protected],[email protected],[email protected] [18:05:51] [Netty Local Client IO #0/INFO] [FML]: [Netty Local Client IO #0] Client side modded connection established [18:05:52] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established [18:05:52] [Server thread/INFO] [net.minecraft.server.management.PlayerList]: Player520[local:E:8964e1cd] logged in with entity id 946 at (-3.5, 66.0, 254.5) [18:05:52] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Player520 joined the game [18:05:54] [pool-2-thread-1/WARN] [com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService]: Couldn't look up profile properties for com.mojang.authlib.GameProfile@4b2c6a8f[id=6634a609-43e8-3247-9054-c77a3a707d73,name=Player520,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:79) ~[YggdrasilAuthenticationService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillGameProfile(YggdrasilMinecraftSessionService.java:180) [YggdrasilMinecraftSessionService.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:60) [YggdrasilMinecraftSessionService$1.class:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService$1.load(YggdrasilMinecraftSessionService.java:57) [YggdrasilMinecraftSessionService$1.class:?] at com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3716) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2424) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2298) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2211) [guava-21.0.jar:?] at com.google.common.cache.LocalCache.get(LocalCache.java:4154) [guava-21.0.jar:?] at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:4158) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:5147) [guava-21.0.jar:?] at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:5153) [guava-21.0.jar:?] at com.mojang.authlib.yggdrasil.YggdrasilMinecraftSessionService.fillProfileProperties(YggdrasilMinecraftSessionService.java:170) [YggdrasilMinecraftSessionService.class:?] at net.minecraft.client.Minecraft.getProfileProperties(Minecraft.java:3177) [Minecraft.class:?] at net.minecraft.client.resources.SkinManager$3.run(SkinManager.java:138) [SkinManager$3.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_171] at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_171] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_171] at java.lang.Thread.run(Unknown Source) [?:1.8.0_171] [18:05:55] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 4657ms behind, skipping 93 tick(s) [18:06:02] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer]: Saving and pausing game... [18:06:02] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'New World'/overworld [18:06:28] [Server thread/WARN] [net.minecraft.server.MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3138ms behind, skipping 62 tick(s) [18:06:34] [Server thread/INFO] [net.minecraft.server.integrated.IntegratedServer]: Saving and pausing game... [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'New World'/overworld [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Stopping server [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving players [18:06:34] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: Player520 lost connection: Disconnected [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Player520 left the game [18:06:34] [Server thread/INFO] [net.minecraft.network.NetHandlerPlayServer]: Stopping singleplayer server as player logged out [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving worlds [18:06:34] [Server thread/INFO] [net.minecraft.server.MinecraftServer]: Saving chunks for level 'New World'/overworld [18:06:35] [Server thread/INFO] [FML]: Unloading dimension 0 [18:06:35] [Server thread/INFO] [FML]: Applying holder lookups [18:06:35] [Server thread/INFO] [FML]: Holder lookups applied [18:06:36] [main/INFO] [net.minecraft.client.Minecraft]: Stopping! [18:06:36] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down... [18:06:36] [main/WARN] [net.minecraft.client.audio.SoundManager]: Author: Paul Lamb, www.paulscode.com EDIT: I did change my world gen class to its original: And its no longer crashing, how ever it is still causing cascading worldgen lag: -
[SOLVED] [1.12.2] Custom model isn't rendering
SeanOMik replied to SeanOMik's topic in Modder Support
Yeah, I ended up switching to BlockBench after that -
[SOLVED] [1.12.2] Custom model isn't rendering
SeanOMik replied to SeanOMik's topic in Modder Support
Okay, I dont know why the error was reported as being a blockstate error, but it wasn't at all, it was actually a model file issue... "textures": { "particle": "blocks/blocks/iron_bars", "0": "blocks/iron_block", "1": "blocks/coal_block", "2": "blocks/redstone_block", "3": "blocks/glass", "4": "blocks/iron_bars" } On the particle line for some reason it has a second 'blocks/'. I used mrcrayfishish model creator to make this model, I'm not sure why this happened, but it did. -
[SOLVED] [1.12.2] World gen is causing a crash
SeanOMik replied to SeanOMik's topic in Modder Support
Well I added: System.out.println(x); for x, y, and z, but it doesn't seem to print anything to the log: -
[SOLVED] [1.12.2] World gen is causing a crash
SeanOMik replied to SeanOMik's topic in Modder Support
Okay, well I ended up changing the script so it would be easier to read for me. Before it was adding 16 in the line: int x = chunk_X * 16 + rand.nextInt(8); so I changed it to 8 instead of 16, I did the same with chunk_Z (the z position). It still crashes: -
I have two custom models in my mod, one renders perfectly while the other doesn't render at all, its just a big black and purple box. The log says that its missing a blockstate, but it isn't its in the folder that it should be in: [15:43:38] [main/ERROR] [FML]: Exception loading blockstate for the variant realfoods:oven#normal: java.lang.Exception: Could not load model definition for variant realfoods:oven at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:281) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadBlock(ModelBakery.java:121) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.loadBlocks(ModelLoader.java:236) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader.setupModelRegistry(ModelLoader.java:163) ~[ModelLoader.class:?] at net.minecraft.client.renderer.block.model.ModelManager.onResourceManagerReload(ModelManager.java:28) [ModelManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.registerReloadListener(SimpleReloadableResourceManager.java:121) [SimpleReloadableResourceManager.class:?] at net.minecraft.client.Minecraft.init(Minecraft.java:559) [Minecraft.class:?] at net.minecraft.client.Minecraft.run(Minecraft.java:421) [Minecraft.class:?] at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] 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_151] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_151] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_151] at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?] at GradleStart.main(GradleStart.java:25) [start/:?] Caused by: java.lang.RuntimeException: Encountered an exception when loading model definition of model realfoods:blockstates/oven.json at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:228) ~[ModelBakery.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:277) ~[ModelLoader.class:?] ... 20 more Caused by: java.io.FileNotFoundException: realfoods:blockstates/oven.json at net.minecraft.client.resources.FallbackResourceManager.getAllResources(FallbackResourceManager.java:104) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getAllResources(SimpleReloadableResourceManager.java:79) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadMultipartMBD(ModelBakery.java:221) ~[ModelBakery.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.getModelBlockDefinition(ModelBakery.java:208) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.getModelBlockDefinition(ModelLoader.java:277) ~[ModelLoader.class:?] ... 20 more oven.json (blockstate): { "variants": { "normal": { "model": "realfoods:oven" } } } oven.json (model):
-
[SOLVED] [1.12.2] World gen is causing a crash
SeanOMik replied to SeanOMik's topic in Modder Support
Yes, but I still don't know what I should add 8 to, the offset?