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

tal124

Members
  • Posts

    54
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

tal124's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. I have tried to change my IDE, see if there are any issues with my code, and have had to resort to making my mod into a JAR to test it on my own (But now I can't generate my data for blockstates and other .json files) No matter what I change or look at even if I make a new mod with absolutely nothing in it (besides the main class) it always does this when the jar will load the mod into the game and is making many things harder than it needs to be I am at a loss for what could even be my issue. Any help at all would be greatly appreciated
  2. I went and deleted my generated because maybe it was looking at that for some reason? and it went away but now I'm getting this error instead 5:53:37 PM: Executing task 'runData --scan'... Starting Gradle Daemon... Gradle Daemon started in 947 ms > Configure project : WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula. > Task :compileJava > Task :processResources UP-TO-DATE > Task :classes > Task :downloadMcpConfig > Task :extractSrg UP-TO-DATE > Task :createSrgToMcp UP-TO-DATE > Task :downloadMCMeta UP-TO-DATE > Task :downloadAssets UP-TO-DATE > Task :extractNatives UP-TO-DATE > Task :makeSrcDirs > Task :prepareRuns > Task :prepareRunData > Task :runData 2021-09-29 17:53:45,915 main WARN Advanced terminal features are not available in this environment [17:53:46] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgedatauserdev, --assetIndex, 1.17, --assetsDir, C:\Users\13146\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 37.0.17, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038, --mod, chocolate, --all, --output, C:\Users\13146\Documents\GitHub\Chocolate-Mod\src\generated\resources, --existing, C:\Users\13146\Documents\GitHub\Chocolate-Mod\src\main\resources] [17:53:46] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.0.7+91+master.8569cdf starting: java version 16.0.2 by Amazon.com Inc. [17:53:46] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness] [17:53:46] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [17:53:46] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [eventbus,object_holder_definalize,runtime_enum_extender,capability_inject_definalize,accesstransformer,runtimedistcleaner] [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@6c0d9d86 [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [fml] [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 1.0 loading [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 9.0.7+91+master.8569cdf [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 5.0.3+70+master.d7d405b [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 5.0.1+15+master.dc5a2922 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 4.0.10+24+master.876d7985 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 4 [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\13146\Documents\GitHub\Chocolate-Mod\run [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\13146\Documents\GitHub\Chocolate-Mod\run [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\mods [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\mods [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\config [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\config [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\config\fml.toml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing default config directory directory : C:\Users\13146\Documents\GitHub\Chocolate-Mod\run\defaultconfigs [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing ModFile [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using forgedatauserdev as launch service [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=37.0.17, mcVersion=1.17.1, mcpVersion=20210706.113038, forgeGroup=net.minecraftforge] [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [17:53:46] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp' [17:53:46] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234} [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModListHandler/CORE]: Found mod coordinates from lists: [] [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null) [17:53:46] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Got mod coordinates chocolate%%C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\resources\main;chocolate%%C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\classes\java\main from env [17:53:46] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Found supplied mod coordinates [{chocolate=[C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\resources\main, C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\classes\java\main]}] [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR classpath_mod at path C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\resources\main [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR classpath_mod at path C:\Users\13146\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.17.1-37.0.17_mapped_official_1.17.1\forge-1.17.1-37.0.17_mapped_official_1.17.1-recomp.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\cpw.mods\securejarhandler\0.9.46\63b520c4dad090d67dbe040bea47567534fe2722\securejarhandler-0.9.46.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\9.1\4f61b83b81d8b659958f4bcc48907e93ecea55a0\asm-analysis-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-util\9.1\36464a45d871779f3383a8a9aba2b26562a86729\asm-util-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\cpw.mods\bootstraplauncher\0.1.16\f1845ce8d483586f474620631621e0df30e1ccf\bootstraplauncher-0.1.16.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm\9.1\a99500cf6eea30535eeac6be73899d048f8d12a8\asm-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-commons\9.1\8b971b182eb5cf100b9e8d4119152d83e00e0fdd\asm-commons-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-tree\9.1\c333f2a855069cb8eb17a40a3eb8b1b67755d0eb\asm-tree-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.17.1-37.0.17_mapped_official_1.17.1\forge-1.17.1-37.0.17_mapped_official_1.17.1-recomp.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\forge_gradle\minecraft_repo\versions\1.17.1\client-extra.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.google.code.findbugs\jsr305\3.0.1\f7be08ec23c21485b9b5a1cf1654c2ec8c58168d\jsr305-3.0.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\ca.weblite\java-objc-bridge\1.0.0\6ef160c3133a78de015830860197602ca1c855d3\java-objc-bridge-1.0.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\mergetool\1.1.3\d7d4b6eac7f49c59255c8ac25190802c29ac9a4a\mergetool-1.1.3-api.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\javafmllanguage\1.17.1-37.0.17\816761e7a788d23f81ed262e44d9a9eafca93ffb\javafmllanguage-1.17.1-37.0.17.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\mclanguage\1.17.1-37.0.17\3042b87518b2ba53739be1d4cd8ec536a3986bb5\mclanguage-1.17.1-37.0.17.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\fmlcore\1.17.1-37.0.17\7127295e1375da47e1e457ccac38b464d9fe03bd\fmlcore-1.17.1-37.0.17.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\fmlloader\1.17.1-37.0.17\338fbcc9883bc492ff2bedd0ebab1bb7c64d0043\fmlloader-1.17.1-37.0.17.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\accesstransformers\8.0.4\272d240aa73f42195b2a68e2ebd8b701ecf41f63\accesstransformers-8.0.4.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\eventbus\5.0.3\f2317ed9d19271be8727a71ae3e5dfeb62715594\eventbus-5.0.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\coremods\5.0.1\386b00279628b105b2d507539c46e134e96f6237\coremods-5.0.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\forgespi\4.0.10\e08fb9a9e485abbbd380516c222e2b502eb0718e\forgespi-4.0.10.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\cpw.mods\modlauncher\9.0.7\ebe8650527b513823874449e054db053b686b494\modlauncher-9.0.7.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\cpw.mods\bootstraplauncher\0.1.16\f1845ce8d483586f474620631621e0df30e1ccf\bootstraplauncher-0.1.16.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\cpw.mods\securejarhandler\0.9.53\667b10868e8944d497da121fc7b3b7e399a052ab\securejarhandler-0.9.53.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.openjdk.nashorn\nashorn-core\15.1.1\e22ac5309286d33c0eeee8ff36c2cc709f2efec9\nashorn-core-15.1.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-commons\9.1\8b971b182eb5cf100b9e8d4119152d83e00e0fdd\asm-commons-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-util\9.1\36464a45d871779f3383a8a9aba2b26562a86729\asm-util-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\9.1\4f61b83b81d8b659958f4bcc48907e93ecea55a0\asm-analysis-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-tree\9.1\c333f2a855069cb8eb17a40a3eb8b1b67755d0eb\asm-tree-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm\9.1\a99500cf6eea30535eeac6be73899d048f8d12a8\asm-9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.antlr\antlr4\4.9.1\e92af8ab33e428461927b484e90bb155a4f3a052\antlr4-4.9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.antlr\antlr4-runtime\4.9.1\428664f05d2b7f7b7610204b5aa7c1763f62011a\antlr4-runtime-4.9.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\unsafe\0.2.0\54d7a0a5e8fdb71b973025caa46f341ae5904f39\unsafe-0.2.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.electronwill.night-config\toml\3.6.3\2b05b4d606c517da4d1a7b6d2b97d751c92887d7\toml-3.6.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.electronwill.night-config\core\3.6.3\c601bfeaeb2c0abe7aaa901b0bbe6d1beff49281\core-3.6.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.maven\maven-artifact\3.8.1\114a2dd16c4c568bf0ca57719b83f2685dcc5734\maven-artifact-3.8.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-lang3\3.8.1\6505a72a097d9270f7a9e7bf42c4238283247755\commons-lang3-3.8.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.jodah\typetools\0.8.3\98f84f353457629e81cc6827224871b1a8faa7af\typetools-0.8.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecrell\terminalconsoleappender\1.2.0\96d02cd3b384ff015a8fef4223bcb4ccf1717c95\terminalconsoleappender-1.2.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-slf4j18-impl\2.14.1\312b4d91b21160b9fab43600fa787f31e8cab930\log4j-slf4j18-impl-2.14.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-core\2.14.1\9141212b8507ab50a45525b545b39d224614528b\log4j-core-2.14.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.logging.log4j\log4j-api\2.14.1\cd8858fbbde69f46bce8db1152c18a43328aae78\log4j-api-2.14.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.jline\jline-reader\3.12.1\4382ab1382c7b6f379377ed5f665dc2f6e1218bc\jline-reader-3.12.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.jline\jline-terminal\3.12.1\c777448314e050d980a6b697c140f3bfe9eb7416\jline-terminal-3.12.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.sf.jopt-simple\jopt-simple\5.0.4\4fdac2fbe92dfad86aa6e9301736f6b4342a3f5c\jopt-simple-5.0.4.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.google.guava\guava\21.0\3a3d111be1be1b745edfa7d91678a12d7ed38709\guava-21.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.8.0\c4ba5371a29ac9b2ad6129b1d39ea38750043eff\gson-2.8.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\blocklist\1.0.5\9da540f21c9a8d5ed7c029e1f88d1a6dabb0d6ad\blocklist-1.0.5.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\patchy\2.1.6\ce112c16c6275fdfff2d30208533ec906a191f71\patchy-2.1.6.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.github.oshi\oshi-core\5.7.5\725374463734aacde70a3b20f018aca3f922655f\oshi-core-5.7.5.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna-platform\5.8.0\2f12f6d7f7652270d13624cef1b82d8cd9a5398e\jna-platform-5.8.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.java.dev.jna\jna\5.8.0\3551d8d827e54858214107541d3aff9c615cb615\jna-5.8.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.slf4j\slf4j-api\1.8.0-beta4\83b0359d847ee053d745be7ec0d8e9e8a44304b4\slf4j-api-1.8.0-beta4.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.ibm.icu\icu4j\66.1\72c7519b6d91f7a1f993bd44a99fe95d67211b27\icu4j-66.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\javabridge\1.1.23\3e5084d916ba393dfd82928ec97663aeb10b2e2c\javabridge-1.1.23.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\io.netty\netty-all\4.1.25.Final\d0626cd3108294d1d58c05859add27b4ef21f83b\netty-all-4.1.25.Final.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\commons-io\commons-io\2.5\2852e6e05fbb95076fc091f6d1780f1f8fe35e0f\commons-io-2.5.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpclient\4.3.3\18f4247ff4572a074444572cee34647c43e7c9c7\httpclient-4.3.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\commons-codec\commons-codec\1.10\4b95f4897fa13f2cd904aee711aeafc0c5295cd8\commons-codec-1.10.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.java.jinput\jinput\2.0.5\39c7796b469a600f72380316f6b1f11db6c2c7c4\jinput-2.0.5.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.java.jutils\jutils\1.0.0\e12fe1fda814bd348c1579329c86943d2cd3c6a6\jutils-1.0.0.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\brigadier\1.0.18\c1ef1234282716483c92183f49bef47b1a89bfa9\brigadier-1.0.18.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\datafixerupper\4.0.26\ebd6690f33871ccee9b6132c6480668ee2e35020\datafixerupper-4.0.26.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\authlib\2.3.31\bbd00ca33b052f73a6312254780fc580d2da3535\authlib-2.3.31.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-compress\1.8.1\a698750c16740fd5b3871425f4cb3bbaa87f529d\commons-compress-1.8.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\commons-logging\commons-logging\1.1.3\f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f\commons-logging-1.1.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.apache.httpcomponents\httpcore\4.3.2\31fbbff1ddbf98f3aa7377c94d33b0447c646b6e\httpcore-4.3.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\it.unimi.dsi\fastutil\8.2.1\5ad88f325e424f8dbc2be5459e21ea5cab3864e9\fastutil-8.2.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-jemalloc\3.2.2\ee8e57a79300f78294576d87c4a587f8c99402e2\lwjgl-jemalloc-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-jemalloc\3.2.2\338b25b99da3ba5f441f6492f2ce2a9c608860ed\lwjgl-jemalloc-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-openal\3.2.2\2b772a102b0a11ee5f2109a5b136f4dc7c630827\lwjgl-openal-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-openal\3.2.2\ec20a7d42a2438528fca87e60b1705f1e2339ddb\lwjgl-openal-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-opengl\3.2.2\6ac5bb88b44c43ea195a570aab059f63da004cd8\lwjgl-opengl-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-opengl\3.2.2\d8dcdc91066cae2d2d8279cb4a9f9f05d9525826\lwjgl-opengl-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-glfw\3.2.2\d3ad4df38e400b8afba1de63f84338809399df5b\lwjgl-glfw-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-glfw\3.2.2\dc6826d636bf796b33a49038c354210e661bfc17\lwjgl-glfw-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-stb\3.2.2\3b8e6ebc5851dd3d17e37e5cadce2eff2a429f0f\lwjgl-stb-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-stb\3.2.2\811f705cbb29e8ae8d60bdf8fdd38c0c123ad3ef\lwjgl-stb-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-tinyfd\3.2.2\fcbe606c8f8da6f8f9a05e2c540eb1ee8632b0e9\lwjgl-tinyfd-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl-tinyfd\3.2.2\e9115958773644e863332a6a06488d26f9e1fc9f\lwjgl-tinyfd-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl\3.2.2\8ad6294407e15780b43e84929c40e4c5e997972e\lwjgl-3.2.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.lwjgl\lwjgl\3.2.2\5359f3aa50d36352815fc662ea73e1c00d22170\lwjgl-3.2.2-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\text2speech\1.11.3\f378f889797edd7df8d32272c06ca80a1b6b0f58\text2speech-1.11.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\com.mojang\text2speech\1.11.3\c0b242c0091be5acbf303263c7eeeaedd70544c7\text2speech-1.11.3-natives-windows.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\net.minecraftforge\srgutils\0.4.3\84aecb8fc78bd0dd7299bd9963ac9eb83bd00aad\srgutils-0.4.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.codehaus.plexus\plexus-utils\3.2.1\13b015768e0d04849d2794e4c47eb02d01a0de32\plexus-utils-3.2.1.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.antlr\ST4\4.3\92f2c1ad8d84abcbeead6cf7f2c53a04166293c2\ST4-4.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.antlr\antlr-runtime\3.5.2\cd9cd41361c155f3af0f653009dcecb08d8b4afd\antlr-runtime-3.5.2.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.abego.treelayout\org.abego.treelayout.core\1.0.3\457216e8e6578099ae63667bb1e4439235892028\org.abego.treelayout.core-1.0.3.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LibraryFinder/CORE]: Found JAR manifest_jar at path C:\Users\13146\.gradle\caches\modules-2\files-2.1\org.glassfish\javax.json\1.0.4\3178f73569fd7a1e5ffc464e680f7a8cc784b85a\javax.json-1.0.4.jar [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file forge-1.17.1-37.0.17_mapped_official_1.17.1-recomp.jar with {minecraft} mods - versions {1.17.1} [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\13146\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.17.1-37.0.17_mapped_official_1.17.1\forge-1.17.1-37.0.17_mapped_official_1.17.1-recomp.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]] [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\resources\main [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file main with {chocolate} mods - versions {0.0NONE} [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\13146\Documents\GitHub\Chocolate-Mod\build\resources\main with languages [LanguageSpec[languageName=javafml, acceptedVersions=[36,)]] [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file with {forge} mods - versions {37.0.17} [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]] [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_method.js [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js [17:53:46] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 2 language providers [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 37 [17:53:46] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 2 mod requirements (2 mandatory, 0 optional) [17:53:46] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 1 mod requirements missing (1 mandatory, 0 optional) [17:53:46] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 26870 method mappings from methods.csv [17:53:46] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 25986 field mappings from fields.csv [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [17:53:46] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading coremod transformers [17:53:46] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [17:53:47] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgedatauserdev' with arguments [--gameDir, ., --assetsDir, C:\Users\13146\.gradle\caches\forge_gradle\assets, --assetIndex, 1.17, --mod, chocolate, --all, --output, C:\Users\13146\Documents\GitHub\Chocolate-Mod\src\generated\resources, --existing, C:\Users\13146\Documents\GitHub\Chocolate-Mod\src\main\resources] Exception in thread "main" java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 4 at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher@0.1.16/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:89) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 4 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3751) at java.base/java.lang.String.substring(String.java:1907) at cpw.mods.securejarhandler@0.9.46/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:128) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:519) at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3334) at java.base/java.lang.Class.getMethodsRecursive(Class.java:3475) at java.base/java.lang.Class.getMethod0(Class.java:3461) at java.base/java.lang.Class.getMethod(Class.java:2193) at MC-BOOTSTRAP/fmlloader@1.17.1-37.0.17/net.minecraftforge.fml.loading.targets.ForgeDataUserdevLaunchHandler.lambda$launchService$0(ForgeDataUserdevLaunchHandler.java:41) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.0.7/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) ... 7 more > Task :runData FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.1/userguide/command_line_interface.html#sec:command_line_warnings 10 actionable tasks: 4 executed, 6 up-to-date FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':runData'. > Process 'command 'C:\Users\13146\.jdks\corretto-16.0.2\bin\java.exe'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 9s I am very confused about what is going on.
  3. Everytime I try to RunData or RunClient I always get this Popup, and it doesn't explain very much but I read over one of the earlier problems was with build.gradle so i'll put it down buildscript { repositories { maven { url = 'https://files.minecraftforge.net/maven' } jcenter() mavenCentral() } dependencies { classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '5.1.+', changing: true } } apply plugin: 'net.minecraftforge.gradle' group = 'Tyrannys' version = '1.0-SNAPSHOT' archivesBaseName = 'Chocolate' sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '16' minecraft { // The mappings can be changed at any time, and must be in the following format. // snapshot_YYYYMMDD Snapshot are built nightly. // stable_# Stables are built at the discretion of the MCP team. // Use non-default mappings at your own risk. they may not always work. // Simply re-run your setup task after changing the mappings to update your workspace. mappings channel: 'official', version: '1.17.1' // makeObfSourceJar = false // an Srg named sources jar is made by default. uncomment this to disable. // accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Default run configurations. // These can be tweaked, removed, or duplicated as needed. runs { client { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' mods { chocolate { source sourceSets.main } } } server { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' mods { chocolate { source sourceSets.main } } } data { workingDirectory project.file('run') // Recommended logging data for a userdev environment property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP' // Recommended logging level for the console property 'forge.logging.console.level', 'debug' // Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources. args '--mod', 'chocolate', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/') mods { chocolate { source sourceSets.main } } } } } // Include resources generated by data generators. sourceSets.main.resources { srcDir 'src/generated/resources' } dependencies { // Specify the version of Minecraft to use, If this is any group other then 'net.minecraft' it is assumed // that the dep is a ForgeGradle 'patcher' dependency. And it's patches will be applied. // The userdev artifact is a special name and will get all sorts of transformations applied to it. minecraft 'net.minecraftforge:forge:1.17.1-37.0.17' // You may put jars on which you depend on in ./libs or you may define them like so.. // compile "some.group:artifact:version:classifier" // compile "some.group:artifact:version" // Real examples // compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env // compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env // The 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. // provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' // These dependencies get remapped to your current MCP mappings // deobf 'com.mod-buildcraft:buildcraft:6.0.8:dev' // For more info... // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html // http://www.gradle.org/docs/current/userguide/dependency_management.html } // Example for how to get properties into the manifest for reading by the runtime.. jar { manifest { attributes([ "Specification-Title" : "chocolate", "Specification-Vendor" : "Tyrannus", "Specification-Version" : "1", // We are version 1 of ourselves "Implementation-Title" : project.name, "Implementation-Version" : project.version, "Implementation-Vendor" : "Tyrannys", "Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ") ]) } } jar.finalizedBy('reobfJar') I had to use the Official mappings too as I don't believe any by forge have been released. EDIT: I forgot to post the Error Log 2:16:12 PM: Executing task 'prepareRunData --scan'... > Configure project : WARNING: This project is configured to use the official obfuscation mappings provided by Mojang. These mapping fall under their associated license, you should be fully aware of this license. For the latest license text, refer below, or the reference copy here: https://github.com/MinecraftForge/MCPConfig/blob/master/Mojang.md, You can hide this warning by running the `hideOfficialWarningUntilChanged` task WARNING: (c) 2020 Microsoft Corporation. These mappings are provided "as-is" and you bear the risk of using them. You may copy and use the mappings for development purposes, but you may not redistribute the mappings complete and unmodified. Microsoft makes no warranties, express or implied, with respect to the mappings provided here. Use and modification of this document or the source code (in any form) of Minecraft: Java Edition is governed by the Minecraft End User License Agreement available at https://account.mojang.com/documents/minecraft_eula. > Task :compileJava UP-TO-DATE > Task :processResources FAILED Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0. You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. See https://docs.gradle.org/7.1/userguide/command_line_interface.html#sec:command_line_warnings 2 actionable tasks: 1 executed, 1 up-to-date FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processResources'. > Entry assets/chocolate/blockstates/chocolate_block.json is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.1/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details. * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 1s I also don't understand what it means by "is a duplicate" that confused me greatly
  4. How do I just update the class with my IDE (Intellij)? is it in with the gradle tasks? if so there are a lot of them so which one do I use?
  5. I did change my mappings if thats what you mean, but any snapshot or stable version that I tried to use it told me it couldn't find. So I had to use the official which is not ideal.
  6. I was updating a mod to 1.17.1, No issues there, But I noticed as I was going through code and changing some things that were outdated/obfuscated that something was odd. The IEventBus wasn't being imported and went to check the class to see what had changed. However it seems that there is an issue with the actual class it was pulling from. I'm not sure how to describe it so I will post a picture. Did the code get changed to something different or is there a legitimate problem?
  7. I am trying to make a Biome(and plan to make multiple more) But I can't figure out what's wrong with my registry, It gives me a red line for this code BIOMES.register("chocolate_forest", ChocolateForest::new); it tells me that "no instance(s) of type variable(s) exist so that ChocolateForest conforms to Biome inference variable I has incompatible bounds: equality constraints: Biome lower bounds: ChocolateForest" here's the full code public class ModBiomes { public static final DeferredRegister<Biome> BIOMES = DeferredRegister.create(ForgeRegistries.BIOMES, chocolate.MODID); public static void init() { BIOMES.register(FMLJavaModLoadingContext.get().getModEventBus()); } public static final RegistryObject<Biome> CHOCOLATE_FOREST = BIOMES.register("chocolate_forest", ChocolateForest::new); } I have tried to extend Biome to my ChocolateForest class as was shown in an 1.15 tutorial, but I guess something was switched around since then as it tells me that Biome doesn't have a default constructor to take from. I have also tried looking for something similar and possibly renamed in the code but without any luck. And heres my ChocolateForest class just in case you need it. public class ChocolateForest{ protected ChocolateForest() { super(); } protected void configureBiome(Biome.Builder builder) { builder.precipitation(Biome.RainType.RAIN).category(Biome.Category.FOREST).depth(-0.1F).temperature(0.6F).downfall(0.9F); builder.setEffects((new BiomeAmbience.Builder()).setWaterColor(329011).setWaterFogColor(329011).setFogColor(12638463).withSkyColor(5).withGrassColor(0x85CE71).withFoliageColor(0x63BF66).build()); } protected void configureGeneration(BiomeGenerationSettings.Builder builder) { builder.withSurfaceBuilder(ConfiguredSurfaceBuilders.GRASS); DefaultBiomeFeatures.withOverworldOres(builder); DefaultBiomeFeatures.withCavesAndCanyons(builder); DefaultBiomeFeatures.withLavaAndWaterLakes(builder); DefaultBiomeFeatures.withMonsterRoom(builder); } protected void configureMobSpawns(MobSpawnInfo.Builder builder) { builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SHEEP, 12, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.PIG, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.CHICKEN, 10, 4, 4)); builder.withSpawner(EntityClassification.CREATURE, new MobSpawnInfo.Spawners(EntityType.COW, 8, 4, 4)); builder.withSpawner(EntityClassification.AMBIENT, new MobSpawnInfo.Spawners(EntityType.BAT, 10, 8, 8)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SPIDER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE, 95, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ZOMBIE_VILLAGER, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SKELETON, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.CREEPER, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.SLIME, 100, 4, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.ENDERMAN, 10, 1, 4)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(EntityType.WITCH, 5, 1, 1)); builder.withSpawner(EntityClassification.MONSTER, new MobSpawnInfo.Spawners(ModEntities.CHOCOLATE_SLIME.get(), 100, 3, 7)); } } I haven't completely finished it as of yet because I've been trying to work out the registry problem.
  8. I meant that I was trying to register my rendering handler with DeferredRegistry, and I knew that wouldn't work cause there isn't any code referring to rendering so I tried finding a Registry for rendering, and I guess I skimmed over RenderingRegistry. And other than that, they pretty much look like this public static final DeferredRegister<Block> BLOCKS = DeferredRegister.create(ForgeRegistries.BLOCKS, chocolate.MODID); public static void init() { BLOCKS.register(FMLJavaModLoadingContext.get().getModEventBus()); }
  9. All I have are basic blocks, Items, and fluids, so I haven't needed anything else as of yet. And thank you, That actually let me Mob spawn into existence.
  10. And how would I register it? All I really understand is the deferred register method, and that wasn't working with whatever I put into it.
  11. I have gotten my entity to register and got its attributes to also register, but now I am having issues with the rendering of it. Time: 4/3/21, 4:18 AM Description: Unexpected error java.lang.NullPointerException: Cannot invoke "net.minecraft.client.renderer.entity.EntityRenderer.shouldRender(net.minecraft.entity.Entity, net.minecraft.client.renderer.culling.ClippingHelper, double, double, double)" because "entityrenderer" is null at net.minecraft.client.renderer.entity.EntityRendererManager.shouldRender(EntityRendererManager.java:239) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.WorldRenderer.updateCameraAndRender(WorldRenderer.java:1009) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.renderWorld(GameRenderer.java:620) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.updateCameraAndRender(GameRenderer.java:437) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1002) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:612) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Render thread Stacktrace: at net.minecraft.client.renderer.entity.EntityRendererManager.shouldRender(EntityRendererManager.java:239) ~[forge:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.WorldRenderer.updateCameraAndRender(WorldRenderer.java:1009) ~[forge:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.renderer.GameRenderer.renderWorld(GameRenderer.java:620) ~[forge:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} -- Affected level -- Details: All players: 1 total; [ClientPlayerEntity['Dev'/206, l='ClientLevel', x=97.33, y=68.00, z=-142.70]] Chunk stats: Client Chunk Cache: 841, 482 Level dimension: minecraft:overworld Level spawn location: World: (80,65,-160), Chunk: (at 0,4,0 in 5,-10; contains blocks 80,0,-160 to 95,255,-145), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1) Level time: 188349 game time, 5115 day time Server brand: forge Server type: Integrated singleplayer server Stacktrace: at net.minecraft.client.world.ClientWorld.fillCrashReport(ClientWorld.java:465) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2091) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:633) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} I made a Renderer class for my entity @OnlyIn(Dist.CLIENT) public class ChocolateSlimeRenderer extends MobRenderer<EntityChocolateSlime, ChocolateSlimeModel<EntityChocolateSlime>> { private static final ResourceLocation TEXTURE = new ResourceLocation(chocolate.MODID, "textures/entity/chocolate_slime.png"); public ChocolateSlimeRenderer(EntityRendererManager renderManagerIn) { super(renderManagerIn, new ChocolateSlimeModel<>(16), 0.25F); this.addLayer(new ChocolateSlimeGelLayer<>(this)); } @Override public void render(EntityChocolateSlime entityIn, float entityYaw, float partialTicks, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int packedLightIn) { this.shadowSize = 0.25F * (float)entityIn.getSlimeSize(); super.render(entityIn, entityYaw, partialTicks, matrixStackIn, bufferIn, packedLightIn); } @Override protected void preRenderCallback(EntityChocolateSlime entitylivingbaseIn, MatrixStack matrixStackIn, float partialTickTime) { float f = 0.999F; matrixStackIn.scale(0.999F, 0.999F, 0.999F); matrixStackIn.translate(0.0D, (double)0.001F, 0.0D); float f1 = (float)entitylivingbaseIn.getSlimeSize(); float f2 = MathHelper.lerp(partialTickTime, entitylivingbaseIn.prevSquishFactor, entitylivingbaseIn.squishFactor) / (f1 * 0.5F + 1.0F); float f3 = 1.0F / (f2 + 1.0F); matrixStackIn.scale(f3 * f1, 1.0F / f3 * f1, f3 * f1); } @Nullable @Override public ResourceLocation getEntityTexture(EntityChocolateSlime entity) { return TEXTURE; } } And I thought my issue was pulling from the base Slime Models too so I translated their classes over too and are pretty much exact from the SlimeModel and SlimeGelLayer code. The game will start, and I can join my SP world, but the moment the world generates it crashes.
  12. I didn't realize I was forcing the tags when I had it in my ModFluids class, and to be honest, completely forgot about them. Its fixed now, thank you
  13. Caused by: java.lang.IllegalStateException: Missing required tags: minecraft:fluid:minecraft:chocolate,minecraft:fluid:minecraft:dark_chocolate,minecraft:fluid:minecraft:milk_chocolate I am having an issue where it won't load into a world because I am missing these tags, I have commented out any code that adds tags to my fluids and I wasn't getting these issues beforehand. Just in case I will go ahead and post my FluidTagsProvider code, my ModTags code as well as my DataGenerator code public class ModFluidTagsProvider extends FluidTagsProvider { public ModFluidTagsProvider(DataGenerator gen, @Nullable ExistingFileHelper existingFileHelper) { super(gen, chocolate.MODID, existingFileHelper); } @Override protected void registerTags() { getOrCreateBuilder(ModTags.Fluids.FLUIDS_CHOCOLATE) .add(ModFluids.FLOWINGMELTEDCHOCOLATE.get()).add(ModFluids.MELTEDCHOCOLATE.get()) .add(ModFluids.FLOWINGMILKMELTEDCHOCOLATE.get()).add(ModFluids.MILKMELTEDCHOCOLATE.get()) .add(ModFluids.FLOWINGDARKMELTEDCHOCOLATE.get()).add(ModFluids.MELTEDDARKCHOCOLATE.get()); } } public static final class Fluids { public static final ITag.INamedTag<Fluid> FLUIDS_CHOCOLATE = forge("fluids/chocolate"); private static ITag.INamedTag<Fluid> forge(String path) { return FluidTags.makeWrapperTag(new ResourceLocation("forge", path).toString()); } private static ITag.INamedTag<Fluid> mod(String path) { return FluidTags.makeWrapperTag(new ResourceLocation(chocolate.MODID, path).toString()); } } public class DataGenerators { @SubscribeEvent public static void gatherData(GatherDataEvent event) { DataGenerator gen = event.getGenerator(); ExistingFileHelper existingFileHelper = event.getExistingFileHelper(); gen.addProvider(new ModBlockStateProvider(gen, existingFileHelper)); gen.addProvider(new ModItemModelProvider(gen, existingFileHelper)); gen.addProvider(new ModRecipeProvider(gen)); ModBlockTagsProvider blockTags = new ModBlockTagsProvider(gen, existingFileHelper); gen.addProvider(blockTags); gen.addProvider(new ModItemTagsProvider(gen, blockTags, existingFileHelper)); ModFluidTagsProvider fluidTags = new ModFluidTagsProvider(gen, existingFileHelper); gen.addProvider(fluidTags); } } Longer error [23:31:23] [Render thread/WARN] [minecraft/Minecraft]: Failed to load datapacks, can't proceed with server load java.util.concurrent.ExecutionException: java.lang.IllegalStateException: Missing required tags: minecraft:fluid:minecraft:chocolate,minecraft:fluid:minecraft:dark_chocolate,minecraft:fluid:minecraft:milk_chocolate at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:395) ~[?:?] {} at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2063) ~[?:?] {} at net.minecraft.client.Minecraft.reloadDatapacks(Minecraft.java:1911) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.loadWorld(Minecraft.java:1759) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.loadWorld(Minecraft.java:1728) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214443_e(WorldSelectionList.java:364) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.func_214438_a(WorldSelectionList.java:273) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.WorldSelectionList$Entry.mouseClicked(WorldSelectionList.java:228) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.widget.list.AbstractList.mouseClicked(AbstractList.java:309) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.INestedGuiEventHandler.mouseClicked(INestedGuiEventHandler.java:31) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.lambda$mouseButtonCallback$0(MouseHelper.java:92) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.gui.screen.Screen.wrapScreenError(Screen.java:427) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.mouseButtonCallback(MouseHelper.java:90) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.MouseHelper.lambda$registerCallbacks$4(MouseHelper.java:185) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.util.concurrent.ThreadTaskExecutor.execute(ThreadTaskExecutor.java:86) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.client.MouseHelper.lambda$registerCallbacks$5(MouseHelper.java:184) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback(GLFWMouseButtonCallbackI.java:36) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10] {} at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout(GLFW.java:3174) ~[lwjgl-glfw-3.2.2.jar:build 10] {} at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS(RenderSystem.java:112) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1025) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.Minecraft.run(Minecraft.java:612) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} at net.minecraft.client.main.Main.main(Main.java:184) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:runtimedistcleaner:A} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) ~[?:?] {} at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?] {} at net.minecraftforge.userdev.FMLUserdevClientLaunchProvider.lambda$launchService$0(FMLUserdevClientLaunchProvider.java:52) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:54) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:72) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.run(Launcher.java:82) [modlauncher-8.0.9.jar:?] {} at cpw.mods.modlauncher.Launcher.main(Launcher.java:66) [modlauncher-8.0.9.jar:?] {} at net.minecraftforge.userdev.LaunchTesting.main(LaunchTesting.java:105) [forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {} Caused by: java.lang.IllegalStateException: Missing required tags: minecraft:fluid:minecraft:chocolate,minecraft:fluid:minecraft:dark_chocolate,minecraft:fluid:minecraft:milk_chocolate at net.minecraft.tags.NetworkTagManager.lambda$reload$1(NetworkTagManager.java:47) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:714) ~[?:?] {} at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {} at net.minecraft.resources.AsyncReloader.lambda$new$3(AsyncReloader.java:66) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:139) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:109) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveUntil(ThreadTaskExecutor.java:122) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.client.Minecraft.reloadDatapacks(Minecraft.java:1910) ~[forge-1.16.5-36.1.3_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A} ... 31 more Caused by: java.lang.IllegalStateException: Missing required tags: minecraft:fluid:minecraft:chocolate,minecraft:fluid:minecraft:dark_chocolate,minecraft:fluid:minecraft:milk_chocolate
  14. I apologize the previous two comments had me a little confused about what to do, and I called it MutableAttribute because any other attribute would say it needs to be called that, but I realize that its probably because I had muteableAttribute being called inside it.
  15. I'm still a little confused, so I have to register it in my ModEntities like so public static void EntityAttributeCreationEvent() { GlobalEntityTypeAttributes.getAttributesForEntity(ModEntities.CHOCOLATE_SLIME.get()); } and then also put it into my setup like this private void setup(final FMLCommonSetupEvent event) { // some preinit code LOGGER.info("The Pre-Chocoinator"); LOGGER.info("DIRT BLOCK >> {}", Blocks.DIRT.getRegistryName()); ModEntities.EntityAttributeCreationEvent(); } And then also have some attributes in my Entity class, and this is where I get a bit confused because I just borrowed what you had just to see if it would summon/spawn public MutableAttribute MutableAttribute() { return LivingEntity.registerAttributes().createMutableAttribute(Attributes.MAX_HEALTH, 2.0). createMutableAttribute(Attributes.FOLLOW_RANGE, 16.0). createMutableAttribute(Attributes.MOVEMENT_SPEED, 0.75); } And I'm still getting an error when I try to summon it. [07:42:47] [Server thread/WARN] [minecraft/EntityType]: Exception loading entity: java.lang.NullPointerException: null at net.minecraft.entity.ai.attributes.AttributeModifierManager.getAttributeValue(AttributeModifierManager.java:67) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.LivingEntity.getAttributeValue(LivingEntity.java:1849) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.LivingEntity.getMaxHealth(LivingEntity.java:1610) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.LivingEntity.<init>(LivingEntity.java:209) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.MobEntity.<init>(MobEntity.java:108) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.entity.monster.SlimeEntity.<init>(SlimeEntity.java:56) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at tyrannus.chocolate.init.entities.EntityChocolateSlime.<init>(EntityChocolateSlime.java:38) ~[main/:?] {re:classloading} at net.minecraft.entity.EntityType.create(EntityType.java:448) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.EntityType.lambda$loadEntityUnchecked$1(EntityType.java:459) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at java.util.Optional.map(Optional.java:215) ~[?:1.8.0_282] {} at net.minecraft.entity.EntityType.loadEntityUnchecked(EntityType.java:458) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.EntityType.loadEntity(EntityType.java:516) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.entity.EntityType.loadEntityAndExecute(EntityType.java:498) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.command.impl.SummonCommand.summonEntity(SummonCommand.java:50) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at net.minecraft.command.impl.SummonCommand.lambda$register$1(SummonCommand.java:34) ~[forge-1.16.5-36.0.48_mapped_snapshot_20210309-1.16.5-recomp.jar:?] {re:classloading} at com.mojang.brigadier.CommandDispatcher.execute(CommandDispatcher.java:262) ~[brigadier-1.0.17.jar:?] {re:classloading} at net.minecraft.command.Commands.handleCommand(Commands.java:222) ~[forge:?] {re:classloading} at net.minecraft.network.play.ServerPlayNetHandler.handleSlashCommand(ServerPlayNetHandler.java:1162) ~[forge:?] {re:classloading} at net.minecraft.network.play.ServerPlayNetHandler.func_244548_c(ServerPlayNetHandler.java:1142) ~[forge:?] {re:classloading} at net.minecraft.network.play.ServerPlayNetHandler.processChatMessage(ServerPlayNetHandler.java:1121) ~[forge:?] {re:classloading} at net.minecraft.network.play.client.CChatMessagePacket.processPacket(CChatMessagePacket.java:40) ~[forge:?] {re:classloading} at net.minecraft.network.play.client.CChatMessagePacket.processPacket(CChatMessagePacket.java:8) ~[forge:?] {re:classloading} at net.minecraft.network.PacketThreadUtil.lambda$checkThreadAndEnqueue$0(PacketThreadUtil.java:19) ~[forge:?] {re:classloading} at net.minecraft.util.concurrent.TickDelayedTask.run(TickDelayedTask.java:20) ~[forge:?] {re:classloading} at net.minecraft.util.concurrent.ThreadTaskExecutor.run(ThreadTaskExecutor.java:139) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.RecursiveEventLoop.run(RecursiveEventLoop.java:22) ~[forge:?] {re:classloading} at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:759) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:159) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.ThreadTaskExecutor.driveOne(ThreadTaskExecutor.java:109) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.driveOneInternal(MinecraftServer.java:742) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.driveOne(MinecraftServer.java:736) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.util.concurrent.ThreadTaskExecutor.drainTasks(ThreadTaskExecutor.java:97) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.runScheduledTasks(MinecraftServer.java:721) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:668) ~[forge:?] {re:classloading,pl:accesstransformer:B} at net.minecraft.server.MinecraftServer.lambda$startServer$0(MinecraftServer.java:233) ~[forge:?] {re:classloading,pl:accesstransformer:B} at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282] {}
×
×
  • Create New...

Important Information

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