Jump to content

Getting the same error everyone else is getting: the Exit Code 1 error


Recommended Posts

I know absolutely nothing about computer stuff, but I recently tried to play Minecraft after downloading a bunch of mods, but when I try to play it, it gives me an error saying, "This crash may be caused by an invalid Java Runtime configuration. Check any custom configuration settings. Exit Code: 1". I've had this issue before, but I can't remember for the life of me how I managed to fix it (I have a terrible memory). I would appreciate it if someone could help me out with this.

Here is the debug log (if you need some other log, let me know, and I'll try to find it):

[07Mar2022 16:15:14.640] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--username, TheMCAngryBird, --version, 1.18.2-forge-40.0.2, --gameDir, C:\Users\rgarc\AppData\Roaming\.minecraft, --assetsDir, C:\Users\rgarc\AppData\Roaming\.minecraft\assets, --assetIndex, 1.18, --uuid, dd1c0d1fc6af4abc8c304a75a8886648, --accessToken, ????????, --clientId, NjZmOGRkYmItMWFmYS00NGE5LTgwZTgtMTM5YTI0OWY3NDc5, --xuid, 2533274983953051, --userType, msa, --versionType, release, --launchTarget, forgeclient, --fml.forgeVersion, 40.0.2, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220228.144236]
[07Mar2022 16:15:14.640] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.1 by Microsoft
[07Mar2022 16:15:14.664] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev]
[07Mar2022 16:15:14.675] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp]
[07Mar2022 16:15:14.692] [main/DEBUG] [cpw.mods.modlauncher.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner]
[07Mar2022 16:15:14.708] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services
[07Mar2022 16:15:14.733] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@2a1edad4
[07Mar2022 16:15:14.741] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml]
[07Mar2022 16:15:14.741] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading
[07Mar2022 16:15:14.749] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin
[07Mar2022 16:15:14.749] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin
[07Mar2022 16:15:14.749] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.LauncherVersion/CORE]: Found FMLLauncher version 1.0
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML 1.0 loading
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found ModLauncher version : 9.1.3+9.1.3+main.9b69c82a
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found EventBus version : 5.0.3+70+master.d7d405b
[07Mar2022 16:15:14.749] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found Runtime Dist Cleaner
[07Mar2022 16:15:14.758] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: FML found CoreMod version : 5.0.1+15+master.dc5a2922
[07Mar2022 16:15:14.758] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package implementation version 4.0.10+24+master.876d7985
[07Mar2022 16:15:14.758] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Found ForgeSPI package specification 4
[07Mar2022 16:15:14.758] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml
[07Mar2022 16:15:14.766] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services
[07Mar2022 16:15:14.766] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing
[07Mar2022 16:15:14.774] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin
[07Mar2022 16:15:14.788] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@4ac3c60d
[07Mar2022 16:15:14.813] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/rgarc/AppData/Roaming/.minecraft/libraries/org/spongepowered/mixin/0.8.5/mixin-0.8.5.jar%2314!/ Service=ModLauncher Env=CLIENT
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2)
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2)
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2)
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2)
[07Mar2022 16:15:14.818] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2)
[07Mar2022 16:15:14.826] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin
[07Mar2022 16:15:14.826] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Setting up basic FML game directories
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\rgarc\AppData\Roaming\.minecraft
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path GAMEDIR is C:\Users\rgarc\AppData\Roaming\.minecraft
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\rgarc\AppData\Roaming\.minecraft\mods
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path MODSDIR is C:\Users\rgarc\AppData\Roaming\.minecraft\mods
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\rgarc\AppData\Roaming\.minecraft\config
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\rgarc\AppData\Roaming\.minecraft\config
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\rgarc\AppData\Roaming\.minecraft\config\fml.toml
[07Mar2022 16:15:14.826] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading configuration
[07Mar2022 16:15:14.876] [main/DEBUG] [net.minecraftforge.fml.loading.FileUtils/CORE]: Found existing default config directory directory : C:\Users\rgarc\AppData\Roaming\.minecraft\defaultconfigs
[07Mar2022 16:15:14.876] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing ModFile
[07Mar2022 16:15:14.883] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Preparing launch handler
[07Mar2022 16:15:14.883] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Using forgeclient as launch service
[07Mar2022 16:15:14.900] [main/DEBUG] [net.minecraftforge.fml.loading.FMLLoader/CORE]: Received command line version data  : VersionInfo[forgeVersion=40.0.2, mcVersion=1.18.2, mcpVersion=20220228.144236, forgeGroup=net.minecraftforge]
[07Mar2022 16:15:14.900] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml
[07Mar2022 16:15:14.900] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'srg'
[07Mar2022 16:15:14.900] [main/DEBUG] [cpw.mods.modlauncher.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {}
[07Mar2022 16:15:14.908] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning
[07Mar2022 16:15:14.908] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin
[07Mar2022 16:15:14.908] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin
[07Mar2022 16:15:14.908] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml
[07Mar2022 16:15:14.908] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Initiating mod scan
[07Mar2022 16:15:14.916] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModListHandler/CORE]: Found mod coordinates from lists: []
[07Mar2022 16:15:14.916] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModDiscoverer/CORE]: Found Mod Locators : (mods folder:null),(maven libs:null),(exploded directory:null),(minecraft:null),(userdev classpath:null)
[07Mar2022 16:15:15.292] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Amplified_Nether_1.1_Fabric+Forge.jar
[07Mar2022 16:15:15.347] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Amplified_Nether_1.1_Fabric+Forge.jar with {amplifiednether} mods - versions {0.0NONE}
[07Mar2022 16:15:15.347] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Amplified_Nether_1.1_Fabric+Forge.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.353] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\caelus-forge-1.18.1-3.0.0.2.jar
[07Mar2022 16:15:15.353] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file caelus-forge-1.18.1-3.0.0.2.jar with {caelus} mods - versions {1.18.1-3.0.0.2}
[07Mar2022 16:15:15.353] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\caelus-forge-1.18.1-3.0.0.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.353] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Companion-1.18.2-forge-2.0.0.jar
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Companion-1.18.2-forge-2.0.0.jar with {companion} mods - versions {2.0.0}
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Companion-1.18.2-forge-2.0.0.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\ConfigMenusForge-v3.2.0-1.18.2-Forge.jar
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file ConfigMenusForge-v3.2.0-1.18.2-Forge.jar with {configmenusforge} mods - versions {3.2.0}
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\ConfigMenusForge-v3.2.0-1.18.2-Forge.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\curios-forge-1.18.2-5.0.6.3.jar
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file curios-forge-1.18.2-5.0.6.3.jar with {curios} mods - versions {1.18.2-5.0.6.3}
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\curios-forge-1.18.2-5.0.6.3.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\curiouselytra-forge-1.18.1-5.0.1.0.jar
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file curiouselytra-forge-1.18.1-5.0.1.0.jar with {curiouselytra} mods - versions {1.18.1-5.0.1.0}
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\curiouselytra-forge-1.18.1-5.0.1.0.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar with {feature_nbt_deadlock_be_gone} mods - versions {2.0.0+1.18.2}
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\feature_nbt_deadlock_be_gone_forge-2.0.0+1.18.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.357] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\firstperson-forge-2.1.0-mc1.18.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file firstperson-forge-2.1.0-mc1.18.jar with {firstpersonmod} mods - versions {2.1.0-mc1.18}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\firstperson-forge-2.1.0-mc1.18.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[28,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\GoldenAgeCombat-v3.3.0-1.18.2-Forge.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file GoldenAgeCombat-v3.3.0-1.18.2-Forge.jar with {goldenagecombat} mods - versions {3.3.0}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\GoldenAgeCombat-v3.3.0-1.18.2-Forge.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\gravestone-1.18.2-1.0.0.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file gravestone-1.18.2-1.0.0.jar with {gravestone} mods - versions {1.18.2-1.0.0}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\gravestone-1.18.2-1.0.0.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\guiclock_1.18.2-3.1.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file guiclock_1.18.2-3.1.jar with {guiclock} mods - versions {3.1}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\guiclock_1.18.2-3.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\guicompass_1.18.2-2.0.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file guicompass_1.18.2-2.0.jar with {guicompass} mods - versions {2.0}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\guicompass_1.18.2-2.0.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Highlighter-1.18.1-1.1.2.jar
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Highlighter-1.18.1-1.1.2.jar with {highlighter} mods - versions {1.1.2}
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Highlighter-1.18.1-1.1.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[39,)]]
[07Mar2022 16:15:15.365] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Iceberg-1.18.2-1.0.40.jar
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Iceberg-1.18.2-1.0.40.jar with {iceberg} mods - versions {1.0.40}
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Iceberg-1.18.2-1.0.40.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[39,)]]
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\InfinityMending-1.17-0.1.0.jar
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file InfinityMending-1.17-0.1.0.jar with {infinitymending} mods - versions {0.1.0}
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\InfinityMending-1.17-0.1.0.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[37,)]]
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\InventoryProfilesNext-forge-1.18.2-1.3.5.jar
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file InventoryProfilesNext-forge-1.18.2-1.3.5.jar with {inventoryprofilesnext} mods - versions {1.3.5}
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\InventoryProfilesNext-forge-1.18.2-1.3.5.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\jei-1.18.2-9.5.0.125.jar
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file jei-1.18.2-9.5.0.125.jar with {jei} mods - versions {9.5.0.125}
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\jei-1.18.2-9.5.0.125.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\journeymap-1.18.2-5.8.0beta16.jar
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file journeymap-1.18.2-5.8.0beta16.jar with {journeymap} mods - versions {5.8.0beta16}
[07Mar2022 16:15:15.373] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\journeymap-1.18.2-5.8.0beta16.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.408] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod journeymap potion effect transformer with Javascript path potion-effects-shift.js
[07Mar2022 16:15:15.408] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod potion-effects-shift.js
[07Mar2022 16:15:15.408] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Kiwi-1.18.2-forge-6.0.1.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Kiwi-1.18.2-forge-6.0.1.jar with {kiwi} mods - versions {6.0.1}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Kiwi-1.18.2-forge-6.0.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\nametagtweaks_1.18.2-1.8.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file nametagtweaks_1.18.2-1.8.jar with {nametagtweaks} mods - versions {1.8}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\nametagtweaks_1.18.2-1.8.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\notenoughanimations-forge-1.4.0-mc1.18.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file notenoughanimations-forge-1.4.0-mc1.18.jar with {notenoughanimations} mods - versions {1.4.0}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\notenoughanimations-forge-1.4.0-mc1.18.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[28,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Patchouli-1.18.2-66.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Patchouli-1.18.2-66.jar with {patchouli} mods - versions {1.18.2-66}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Patchouli-1.18.2-66.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\PuzzlesLib-v3.3.1-1.18.2-Forge.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file PuzzlesLib-v3.3.1-1.18.2-Forge.jar with {puzzleslib} mods - versions {3.3.1}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\PuzzlesLib-v3.3.1-1.18.2-Forge.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\repurposed_structures_forge-5.0.1+1.18.2.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file repurposed_structures_forge-5.0.1+1.18.2.jar with {repurposed_structures} mods - versions {5.0.1+1.18.2}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\repurposed_structures_forge-5.0.1+1.18.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Terralith_v2.1.3_Fabric+Forge.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file Terralith_v2.1.3_Fabric+Forge.jar with {terralith} mods - versions {0.0NONE}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\Terralith_v2.1.3_Fabric+Forge.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\wooltweaks_1.18.2-1.5.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file wooltweaks_1.18.2-1.5.jar with {wooltweaks} mods - versions {1.5}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\wooltweaks_1.18.2-1.5.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\wthit-forge-4.7.3.jar
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file wthit-forge-4.7.3.jar with {wthit,waila} mods - versions {4.7.3,4.7.3}
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\wthit-forge-4.7.3.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[38,)]]
[07Mar2022 16:15:15.412] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\mods\xercamusic-1.18.2-0.9.1.jar
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file xercamusic-1.18.2-0.9.1.jar with {xercamusic} mods - versions {1.18.2-0.9.1}
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\mods\xercamusic-1.18.2-0.9.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[25,)]]
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file client-1.18.2-20220228.144236-srg.jar with {minecraft} mods - versions {1.18.2}
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\libraries\net\minecraft\client\1.18.2-20220228.144236\client-1.18.2-20220228.144236-srg.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]]
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Considering mod file candidate C:\Users\rgarc\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.18.2-40.0.2\forge-1.18.2-40.0.2-universal.jar
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileInfo/LOADING]: Found valid mod file forge-1.18.2-40.0.2-universal.jar with {forge} mods - versions {40.0.2}
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Loading mod file C:\Users\rgarc\AppData\Roaming\.minecraft\libraries\net\minecraftforge\forge\1.18.2-40.0.2\forge-1.18.2-40.0.2-universal.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]]
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_method.js
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js
[07Mar2022 16:15:15.420] [main/DEBUG] [net.minecraftforge.fml.loading.moddiscovery.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js
[07Mar2022 16:15:15.420] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml
[07Mar2022 16:15:15.428] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found 2 language providers
[07Mar2022 16:15:15.436] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0
[07Mar2022 16:15:15.436] [main/DEBUG] [net.minecraftforge.fml.loading.LanguageLoadingProvider/CORE]: Found language provider javafml, version 40
[07Mar2022 16:15:15.444] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 50 mod requirements (50 mandatory, 0 optional)
[07Mar2022 16:15:15.444] [main/DEBUG] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Found 4 mod requirements missing (4 mandatory, 0 optional)
[07Mar2022 16:15:15.444] [main/ERROR] [net.minecraftforge.fml.loading.ModSorter/LOADING]: Missing mandatory dependencies: collective, collective, collective, collective
[07Mar2022 16:15:15.883] [main/DEBUG] [cpw.mods.modlauncher.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers
[07Mar2022 16:15:15.883] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin
[07Mar2022 16:15:15.891] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin
[07Mar2022 16:15:15.891] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml
[07Mar2022 16:15:15.891] [main/DEBUG] [net.minecraftforge.fml.loading.FMLServiceProvider/CORE]: Loading coremod transformers
[07Mar2022 16:15:15.891] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js
[07Mar2022 16:15:16.081] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[07Mar2022 16:15:16.081] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js
[07Mar2022 16:15:16.152] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[07Mar2022 16:15:16.152] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js
[07Mar2022 16:15:16.192] [main/DEBUG] [net.minecraftforge.coremod.CoreModEngine/COREMOD]: CoreMod loaded successfully
[07Mar2022 16:15:16.192] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@524270b8 to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V}
[07Mar2022 16:15:16.192] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@68868328 to Target : CLASS {Lnet/minecraft/world/level/block/LiquidBlock;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@173a6728 to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@1a22e0ef to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@67514bdd to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3b920bdc to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@7f5538a1 to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V}
[07Mar2022 16:15:16.201] [main/DEBUG] [cpw.mods.modlauncher.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml

Link to comment
Share on other sites

Oh, wait! Are you using Forge 40.0.X? If yes, I think we got the same trouble! I have tried Forge 40.0.2, 40.0.5, and 40.0.12 and it showed the same error as you! I think Forge 40.0.12 haven't debugged everything and it causes these Error. I'm waiting for the latest Forge upload and let's see which version will fix these bugs! Hope this will help you to understand.

 

Link to comment
Share on other sites

Join the conversation

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

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I am creating a mod that adds new armor sets and changes how armor sets are crafted. When the player interacts with the block it fails to open the gui, but I get no error or stacktrace. All of my registration classes are being called correctly. LightArmorBenchScreen's constructor, render, and renderbg methods are not being called at all. Here is the code: package net.leeveygames.celestial.blocks.custom; import net.leeveygames.celestial.Celestial; import net.leeveygames.celestial.blocks.entity.CelestialBlockEntities; import net.leeveygames.celestial.blocks.entity.LightArmorBenchBlockEntity; import net.minecraft.core.BlockPos; import net.minecraft.server.level.ServerPlayer; import net.minecraft.world.InteractionHand; import net.minecraft.world.InteractionResult; import net.minecraft.world.entity.player.Player; import net.minecraft.world.level.BlockGetter; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.BaseEntityBlock; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.RenderShape; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityTicker; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.phys.BlockHitResult; import net.minecraft.world.phys.shapes.CollisionContext; import net.minecraft.world.phys.shapes.VoxelShape; import net.minecraftforge.network.NetworkHooks; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class LightArmorBenchBlock extends BaseEntityBlock { public static final VoxelShape SHAPE = Block.box(0, 0, 0, 16, 12, 16); public LightArmorBenchBlock(Properties pProperties) { super(pProperties); } @Override public VoxelShape getShape(BlockState pState, BlockGetter pLevel, BlockPos pPos, CollisionContext pContext) { return SHAPE; } @Override public RenderShape getRenderShape(BlockState pState) { return RenderShape.MODEL; } @Override public void onRemove(BlockState pState, Level pLevel, BlockPos pPos, BlockState pNewState, boolean pIsMoving) { if (pState.getBlock() != pNewState.getBlock()) { BlockEntity blockEntity = pLevel.getBlockEntity(pPos); if (blockEntity instanceof LightArmorBenchBlockEntity) { ((LightArmorBenchBlockEntity) blockEntity).drops(); } } super.onRemove(pState, pLevel, pPos, pNewState, pIsMoving); } @NotNull @Override public InteractionResult use(BlockState pState, Level pLevel, BlockPos pPos, Player pPlayer, InteractionHand pHand, BlockHitResult pHit) { if(pLevel.isClientSide()) return InteractionResult.SUCCESS; BlockEntity be = pLevel.getBlockEntity(pPos); if (be instanceof LightArmorBenchBlockEntity blockEntity) { ServerPlayer player = (ServerPlayer)pPlayer; Celestial.LOGGER.info("Opening Screen."); NetworkHooks.openScreen(player, blockEntity, pPos); } return InteractionResult.CONSUME; } @Nullable @Override public BlockEntity newBlockEntity(BlockPos pPos, BlockState pState) { return new LightArmorBenchBlockEntity(pPos, pState); } @Nullable @Override public <T extends BlockEntity> BlockEntityTicker<T> getTicker(Level pLevel, BlockState pState, BlockEntityType<T> pBlockEntityType) { if(pLevel.isClientSide()) { return null; } return createTickerHelper(pBlockEntityType, CelestialBlockEntities.LIGHT_ARMOR_BENCH_BLOCK_ENTITY.get(), (pLevel1, pPos, pState1, pBlockEntity) -> pBlockEntity.tick(pLevel1, pPos, pState1)); } }   package net.leeveygames.celestial.screen; import net.leeveygames.celestial.Celestial; import net.leeveygames.celestial.blocks.CelestialBlocks; import net.leeveygames.celestial.blocks.entity.LightArmorBenchBlockEntity; import net.minecraft.network.FriendlyByteBuf; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.*; import net.minecraft.world.item.ItemStack; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraftforge.common.capabilities.ForgeCapabilities; import net.minecraftforge.items.SlotItemHandler; public class LightArmorBenchMenu extends AbstractContainerMenu { public final LightArmorBenchBlockEntity blockEntity; private final Level level; public LightArmorBenchMenu(int pContainerId, Inventory inv, FriendlyByteBuf extraData) { this(pContainerId, inv, inv.player.level().getBlockEntity(extraData.readBlockPos())); Celestial.LOGGER.info("Creating Light Armor Bench Menu. Client"); } public LightArmorBenchMenu(int pContainerId, Inventory inv, BlockEntity entity) { super(CelestialMenuTypes.LIGHT_ARMOR_BENCH_MENU.get(), pContainerId); Celestial.LOGGER.info("Creating Light Armor Bench Menu. Server"); checkContainerSize(inv, 2); blockEntity = ((LightArmorBenchBlockEntity) entity); this.level = inv.player.level(); addPlayerInventory(inv); addPlayerHotbar(inv); createLightArmorBenchSlots(blockEntity); } private void createLightArmorBenchSlots(LightArmorBenchBlockEntity blockEntity) { Celestial.LOGGER.info("Creating Light Armor Bench Slots."); this.blockEntity.getCapability(ForgeCapabilities.ITEM_HANDLER).ifPresent(iItemHandler -> { this.addSlot(new SlotItemHandler(iItemHandler, 0, 11, 15)); this.addSlot(new SlotItemHandler(iItemHandler, 1, 82, 33)); this.addSlot(new SlotItemHandler(iItemHandler, 2, 133, 33)); }); } // CREDIT GOES TO: diesieben07 | https://github.com/diesieben07/SevenCommons // must assign a slot number to each of the slots used by the GUI. // For this container, we can see both the tile inventory's slots as well as the player inventory slots and the hotbar. // Each time we add a Slot to the container, it automatically increases the slotIndex, which means // 0 - 8 = hotbar slots (which will map to the InventoryPlayer slot numbers 0 - 8) // 9 - 35 = player inventory slots (which map to the InventoryPlayer slot numbers 9 - 35) // 36 - 44 = TileInventory slots, which map to our TileEntity slot numbers 0 - 8) private static final int HOTBAR_SLOT_COUNT = 9; private static final int PLAYER_INVENTORY_ROW_COUNT = 3; private static final int PLAYER_INVENTORY_COLUMN_COUNT = 9; private static final int PLAYER_INVENTORY_SLOT_COUNT = PLAYER_INVENTORY_COLUMN_COUNT * PLAYER_INVENTORY_ROW_COUNT; private static final int VANILLA_SLOT_COUNT = HOTBAR_SLOT_COUNT + PLAYER_INVENTORY_SLOT_COUNT; private static final int VANILLA_FIRST_SLOT_INDEX = 0; private static final int TE_INVENTORY_FIRST_SLOT_INDEX = VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT; // THIS YOU HAVE TO DEFINE! private static final int TE_INVENTORY_SLOT_COUNT = 2; // must be the number of slots you have! @Override public ItemStack quickMoveStack(Player playerIn, int pIndex) { Slot sourceSlot = slots.get(pIndex); if (sourceSlot == null || !sourceSlot.hasItem()) return ItemStack.EMPTY; //EMPTY_ITEM ItemStack sourceStack = sourceSlot.getItem(); ItemStack copyOfSourceStack = sourceStack.copy(); // Check if the slot clicked is one of the vanilla container slots if (pIndex < VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT) { // This is a vanilla container slot so merge the stack into the tile inventory if (!moveItemStackTo(sourceStack, TE_INVENTORY_FIRST_SLOT_INDEX, TE_INVENTORY_FIRST_SLOT_INDEX + TE_INVENTORY_SLOT_COUNT, false)) { return ItemStack.EMPTY; // EMPTY_ITEM } } else if (pIndex < TE_INVENTORY_FIRST_SLOT_INDEX + TE_INVENTORY_SLOT_COUNT) { // This is a TE slot so merge the stack into the players inventory if (!moveItemStackTo(sourceStack, VANILLA_FIRST_SLOT_INDEX, VANILLA_FIRST_SLOT_INDEX + VANILLA_SLOT_COUNT, false)) { return ItemStack.EMPTY; } } else { System.out.println("Invalid slotIndex:" + pIndex); return ItemStack.EMPTY; } // If stack size == 0 (the entire stack was moved) set slot contents to null if (sourceStack.getCount() == 0) { sourceSlot.set(ItemStack.EMPTY); } else { sourceSlot.setChanged(); } sourceSlot.onTake(playerIn, sourceStack); return copyOfSourceStack; } @Override public boolean stillValid(Player pPlayer) { return stillValid(ContainerLevelAccess.create(level, blockEntity.getBlockPos()), pPlayer, CelestialBlocks.LIGHT_ARMOR_BENCH.get()); } private void addPlayerInventory(Inventory playerInventory) { Celestial.LOGGER.info("Creating Player Inventory."); for (int i = 0; i < 3; ++i) { for (int l = 0; l < 9; ++l) { this.addSlot(new Slot(playerInventory, l + i * 9 + 9, 8 + l * 18, 84 + i * 18)); } } } private void addPlayerHotbar(Inventory playerInventory) { Celestial.LOGGER.info("Creating Player Hotbar."); for (int i = 0; i < 9; ++i) { this.addSlot(new Slot(playerInventory, i, 8 + i * 18, 142)); } } }   package net.leeveygames.celestial.screen; import com.mojang.blaze3d.systems.RenderSystem; import net.leeveygames.celestial.Celestial; import net.minecraft.client.gui.GuiGraphics; import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen; import net.minecraft.client.renderer.GameRenderer; import net.minecraft.network.chat.Component; import net.minecraft.resources.ResourceLocation; import net.minecraft.world.entity.player.Inventory; public class LightArmorBenchScreen extends AbstractContainerScreen<LightArmorBenchMenu> { private static final ResourceLocation TEXTURE = new ResourceLocation(Celestial.MOD_ID, "textures/gui/LightArmorBenchGUI.png"); public LightArmorBenchScreen(LightArmorBenchMenu pMenu, Inventory pPlayerInventory, Component pTitle) { super(pMenu, pPlayerInventory, pTitle); Celestial.LOGGER.info("Creating Light Armor Bench Screen."); this.imageWidth = 176; this.imageHeight = 166; } @Override protected void init() { Celestial.LOGGER.info("Screen init."); super.init(); } @Override protected void renderBg(GuiGraphics guiGraphics, float pPartialTick, int pMouseX, int pMouseY) { Celestial.LOGGER.info("Render Background Method."); RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); RenderSystem.setShaderTexture(0, TEXTURE); guiGraphics.blit(TEXTURE, this.leftPos, this.topPos, 0, 0, this.imageWidth, this.imageHeight); } @Override public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float delta) { Celestial.LOGGER.info("Render Method."); renderBackground(guiGraphics); super.render(guiGraphics, mouseX, mouseY, delta); renderTooltip(guiGraphics, mouseX, mouseY); } }   package net.leeveygames.celestial.blocks.entity; import net.leeveygames.celestial.screen.LightArmorBenchMenu; import net.minecraft.client.gui.screens.inventory.FurnaceScreen; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; import net.minecraft.nbt.CompoundTag; import net.minecraft.network.chat.Component; import net.minecraft.world.Container; import net.minecraft.world.Containers; import net.minecraft.world.MenuProvider; import net.minecraft.world.SimpleContainer; import net.minecraft.world.entity.player.Inventory; import net.minecraft.world.entity.player.Player; import net.minecraft.world.inventory.AbstractContainerMenu; import net.minecraft.world.inventory.ContainerData; import net.minecraft.world.inventory.FurnaceMenu; import net.minecraft.world.item.Item; import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.Items; import net.minecraft.world.level.Level; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.block.state.BlockState; import net.minecraftforge.common.capabilities.Capability; import net.minecraftforge.common.capabilities.ForgeCapabilities; import net.minecraftforge.common.util.LazyOptional; import net.minecraftforge.items.IItemHandler; import net.minecraftforge.items.ItemStackHandler; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; public class LightArmorBenchBlockEntity extends BlockEntity implements MenuProvider { private final ItemStackHandler itemHandler = new ItemStackHandler(3) { @Override protected void onContentsChanged(int slot) { super.onContentsChanged(slot); LightArmorBenchBlockEntity.this.setChanged(); } }; private static final int INPUT_SLOT = 0; private static final int OUTPUT_SLOT = 1; private LazyOptional<IItemHandler> lazyItemHandler = LazyOptional.empty(); public LightArmorBenchBlockEntity(BlockPos pPos, BlockState pBlockState) { super(CelestialBlockEntities.LIGHT_ARMOR_BENCH_BLOCK_ENTITY.get(), pPos, pBlockState); } @Override public @NotNull <T> LazyOptional<T> getCapability(@NotNull Capability<T> cap, @Nullable Direction side) { if(cap == ForgeCapabilities.ITEM_HANDLER) { return lazyItemHandler.cast(); } return super.getCapability(cap, side); } @Override public void onLoad() { super.onLoad(); lazyItemHandler = LazyOptional.of(() -> itemHandler); } @Override public void invalidateCaps() { super.invalidateCaps(); lazyItemHandler.invalidate(); } public void drops() { SimpleContainer inventory = new SimpleContainer(itemHandler.getSlots()); for(int i = 0; i < itemHandler.getSlots(); i++) { inventory.setItem(i, itemHandler.getStackInSlot(i)); } Containers.dropContents(this.level, this.worldPosition, inventory); } @Override public Component getDisplayName() { return Component.translatable("block.celestial.light_armor_bench"); } @Nullable @Override public AbstractContainerMenu createMenu(int pContainerId, Inventory pPlayerInventory, Player pPlayer) { return new LightArmorBenchMenu(pContainerId, pPlayerInventory, this); } @Override protected void saveAdditional(CompoundTag pTag) { pTag.put("inventory", itemHandler.serializeNBT()); super.saveAdditional(pTag); } @Override public void load(CompoundTag pTag) { super.load(pTag); itemHandler.deserializeNBT(pTag.getCompound("inventory")); } public void tick(Level pLevel, BlockPos pPos, BlockState pState) { } }   Here is the console output: https://pastebin.com/krgExnYT
  • Topics

×
×
  • Create New...

Important Information

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