Jump to content

NindyBun

Members
  • Posts

    88
  • Joined

  • Last visited

Everything posted by NindyBun

  1. So back in 1.16.5, I was able to get the burn time of an itemstack like coal with ForgeHooks.getBurnTime(itemstack); but how would I do the same in 1.18.1?
  2. C:\Users\ANDY\.gradle\caches\forge_gradle\assets --gameDir . --fml.forgeVersion 37.1.1 --fml.mcVersion 1.17.1 --fml.forgeGroup net.minecraftforge --fml.mcpVersion 20210706.113038 2022-02-26 02:06:59,346 main WARN Advanced terminal features are not available in this environment [02:06:59] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeclientuserdev, --version, MOD_DEV, --assetIndex, 1.17, --assetsDir, C:\Users\ANDY\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 37.1.1, --fml.mcVersion, 1.17.1, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20210706.113038] [02:06:59] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.0.24+9.0.24+main.7be9f01d starting: java version 16.0.2 by Oracle Corporation [02:06:59] [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] [02:06:59] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [02:06:59] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,object_holder_definalize,runtime_enum_extender,capability_token_subclass,capability_inject_definalize,accesstransformer,runtimedistcleaner] [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@2320fa6f [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [02:06:59] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 1.0 loading [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 9.0.24+9.0.24+main.7be9f01d [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 5.0.7+5.0.7+master.6d3407cc [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 5.0.2+5.0.2+master.303343f8 [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 4.0.11+4.0.11+master.ce88bbba [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 4 [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [02:06:59] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@77846d2c [02:06:59] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.4 Source=union:/C:/Users/ANDY/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.4/4ec7d77d9ab32596ca0b78bb123956734767e3a/mixin-0.8.4.jar%2325! Service=ModLauncher Env=CLIENT [02:06:59] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [02:06:59] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [02:06:59] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [02:06:59] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [02:06:59] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [02:06:59] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\mods [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\mods [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\config [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\config [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\config\fml.toml [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing default config directory directory : C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\run\defaultconfigs [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing ModFile [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using forgeclientuserdev as launch service [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=37.1.1, mcVersion=1.17.1, mcpVersion=20210706.113038, forgeGroup=net.minecraftforge] [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [02:06:59] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp' [02:06:59] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234} [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [02:06:59] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [02:06:59] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan [02:06:59] [main/DEBUG] [ne.mi.fm.lo.mo.ModListHandler/CORE]: Found mod coordinates from lists: [] [02:06:59] [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) [02:06:59] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Got mod coordinates examplemod%%C:/Users/ANDY/Desktop/Minecraft Modding/BurnerGun_1.17.1\build\resources\main;examplemod%%C:/Users/ANDY/Desktop/Minecraft Modding/BurnerGun_1.17.1\build\classes\java\main from env [02:06:59] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Found supplied mod coordinates [{examplemod=[C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\build\resources\main, C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\build\classes\java\main]}] [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file forge-1.17.1-37.1.1_mapped_official_1.17.1-recomp.jar with {minecraft} mods - versions {1.17.1} [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\ANDY\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.17.1-37.1.1_mapped_official_1.17.1\forge-1.17.1-37.1.1_mapped_official_1.17.1-recomp.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]] [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\build\resources\main [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file main with {burnergun} mods - versions {4.0.0} [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\ANDY\Desktop\Minecraft Modding\BurnerGun_1.17.1\build\resources\main with languages [LanguageSpec[languageName=javafml, acceptedVersions=[37,)]] [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file with {forge} mods - versions {37.1.1} [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]] [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_method.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\ANDY\.gradle\caches\forge_gradle\deobf_dependencies\mezz\jei\jei-1.17.1\8.3.1.62_mapped_official_1.17.1\jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar with {jei} mods - versions {8.3.1.62} [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\ANDY\.gradle\caches\forge_gradle\deobf_dependencies\mezz\jei\jei-1.17.1\8.3.1.62_mapped_official_1.17.1\jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[37,)]] [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\ANDY\.gradle\caches\forge_gradle\deobf_dependencies\mezz\jei\jei-1.17.1\8.3.1.62_mapped_official_1.17.1\jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar with {jei} mods - versions {8.3.1.62} [02:07:00] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\ANDY\.gradle\caches\forge_gradle\deobf_dependencies\mezz\jei\jei-1.17.1\8.3.1.62_mapped_official_1.17.1\jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[37,)]] [02:07:00] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [02:07:00] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 2 language providers [02:07:00] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0 [02:07:00] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 37 [02:07:00] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found 2 mods for first modid jei, selecting most recent based on version data [02:07:00] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Selected file jei-1.17.1-8.3.1.62_mapped_official_1.17.1.jar for modid jei with version 8.3.1.62 [02:07:00] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 4 mod requirements (4 mandatory, 0 optional) [02:07:00] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 0 mod requirements missing (0 mandatory, 0 optional) [02:07:01] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 26870 method mappings from methods.csv [02:07:01] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 25986 field mappings from fields.csv [02:07:01] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [02:07:01] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin [02:07:01] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin [02:07:01] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [02:07:01] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading coremod transformers [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js [02:07:01] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@5f117b3d to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@a7ad6e5 to Target : CLASS {Lnet/minecraft/world/level/block/LiquidBlock;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@3b1ed14b to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@690bc15e to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@1bc776b7 to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@475646d4 to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@a0f53fc to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V} [02:07:01] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [02:07:02] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [02:07:02] [main/DEBUG] [mixin/]: Processing launch tasks for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [02:07:02] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(minecraft) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(minecraft) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(minecraft) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(minecraft) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(minecraft) [02:07:02] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [02:07:02] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(burnergun) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(burnergun) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(burnergun) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(burnergun) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(burnergun) [02:07:02] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(burnergun)] [02:07:02] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(forge) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(forge) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(forge) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(forge) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(forge) [02:07:02] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [02:07:02] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(jei) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(jei) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(jei) [02:07:02] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(jei) [02:07:02] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(jei) [02:07:02] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(jei)] [02:07:02] [main/DEBUG] [mixin/]: inject() running with 5 agents [02:07:02] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [02:07:02] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [02:07:02] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(burnergun)] [02:07:02] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [02:07:02] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(jei)] [02:07:02] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclientuserdev' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\ANDY\.gradle\caches\forge_gradle\assets, --assetIndex, 1.17] [02:07:02] [main/DEBUG] [mixin/]: Error cleaning class output directory: .mixin.out [02:07:02] [main/DEBUG] [mixin/]: Preparing mixins for MixinEnvironment[DEFAULT] Exception in thread "main" java.lang.RuntimeException: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 3 at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:90) Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 3 at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3751) at java.base/java.lang.String.substring(String.java:1907) at [email protected]/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/[email protected]/net.minecraftforge.fml.loading.targets.ForgeClientUserdevLaunchHandler.lambda$launchService$0(ForgeClientUserdevLaunchHandler.java:38) at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37) ... 7 more Process finished with exit code 1 https://github.com/NindyBun/BurnerGun_1.17.1 So I was migrated my 1.16.5 mod into 1.17.1-37.1.1 and after relocating files and methods, I ran the runClient but it gave me an error and I don't know why. So if anyone has an idea, it would be greatly appreciated.
  3. https://github.com/NindyBun/BurnerGun_1.16.5-3.0.0/blob/master/src/main/java/com/nindybun/burnergun/client/renderer/BlockRenderer.java I just did it this way and it works much better
  4. As the title suggests, I want to somehow highlight or visually show an area of blocks around the place the player is looking at. I heard I can use DrawBlockHighlightEvent and/or GLStateManager but how would I go about doing so?
  5. Since I already have tags setup in my capability elsewhere in BurnerGunInfoStorage, then there is no reason to call getOrCreateTag; I'd just need to call the capability like this? Originally I did that because I wasn't sure if the nbt values from BurnerGunInfo carried so I put it into the itemStack as well. But if there wasn't a reason to do that and I could've just called the capabilities .writeNBT() and returned that then it would made more sense.
  6. This is confusing the heck out of me. How is it still modifying the getOrCreateTag, in what way, where is it doing that? What is the fundamental structure of the NBT tag? Is there a reference I can refer to? How am I storing the BurnerGunInfo data in the CAPABILITY_NBT_TAG and the "base" nbt tag if I'm not adding anything to it. Should I have just returned the nbt values from BurnerGunInfo capability? Should I store the BurnerGunInfoProvider.burnergunInfoCapability.writeNBT() into a tag and return that since I also set the data over there? Is that what you meant when I had already stored the data in the CAPABILITY_NBT_TAG?
  7. https://github.com/NindyBun/BurnerGun_1.16.5/blob/master/src/main/java/com/nindybun/burnergun/common/items/Burner_Gun/BurnerGun.java So I made a new tag, set all the data into there, and put it into "combinedTag"; and other than not working in creative mode, the slider works on a server. The "capabilityTag" is part of the ItemHandler capability, I have a seperate capability that stores the nbt data. Not sure if I had to do that though.
  8. Now I have it working using the way i set the other nbt, but now every time I open my inventory in creative mode (haven't tried survival mode), it resets all of my nbt values which didn't usually happen if I recall. So at this point I don't even know why nbt resets when I open my inventory.
  9. So I got the debug to work when running the server, and the slider does change the nbt values, the only problem here is that the slider doesn't show the current value; it just shows zero even though the nbt value is not zero.
  10. I'm not getting what you mean when, So am I not supposed to add stuff to the "base tag" and I should make a new tag under my ModID? Okay...so where have I been duplicating the tags? In the readShareTag when I'm setting the values? Then how can I properly set/get nbt tags, is there someplace I can look into to help understand how I should approach this?
  11. So what im getting at is that I should only have the "base tag" there and none of that other stuff I added? And to set/get nbt I should just directly call getOrCreateTag and send a packet to the server everytime I want to change an nbt data? Or am I completely off.
  12. I tried running the server with the debug option but it doesn't seem to debug anything. Then I tried running debug on both client and server, and client can debug but server still can't...I swear I've done it a year ago...
  13. If I could figure out how I could see that in the Debug function that's be great. In any case, When I close the screen I send a packet to the server to change set the new nbt value, but I can't tell if it was sent or received from the server; I can tell it was sent and received when debugged on the client but how can I debug the server?
  14. Yes the packet does in fact work on the client, just not when playing on the server.
  15. I was already using packets to send the changes to the server but it still doesn't seem to change values.
  16. So I made a volume slider and it I can make it change values however ,when I close the screen the slider doesn't save the value into my items nbt. Supposedly the void onChangesSliderValue should automatically work to change the values right? https://github.com/NindyBun/BurnerGun_1.16.5/blob/master/src/main/java/com/nindybun/burnergun/client/screens/settingsScreen.java
  17. FINALLY, the whole problem was that I was accessing the wrong nbt tag in readShareTag this whole time.
  18. https://github.com/NindyBun/BurnerGun_1.16.5/blob/master/src/main/java/com/nindybun/burnergun/common/network/packets/PacketFuelValue.java Okay...I got the fuel renderer to work properly after fixing the get/readsharetag but now when I try to play on a dedicated server, the fuel renderer doesn't work, I don't know if my packet handler is right.
  19. I continued messing with it and noticed that when the fuel value is above 500_000 which is half of the max buffer, the fuel renderer shows that it goes down, but when it gets below 500_000, I have to open my itemstack's gui to update it and I don't understand why it doesn't update by it self under 500_000.
  20. Scratch that. I have found one problem that is my fuel renderer is working as intended when the fuel level increases, but when it decreases the value doesn't change until I enter my world again. Why does that happen? https://github.com/NindyBun/BurnerGun_1.16.5/blob/master/src/main/java/com/nindybun/burnergun/client/renderer/FuelValueRenderer.java#L63
  21. https://github.com/NindyBun/BurnerGun_1.16.5/blob/master/src/main/java/com/nindybun/burnergun/common/items/GlitteringDiamond.java I was able to get the capability working but now I'm stuck on how to save the data...
  22. Okay, so I think I made the beginning of a capability but how do I set and get values? https://github.com/NindyBun/BurnerGun_1.16.5/tree/master/src/main/java/com/nindybun/burnergun/common/capabilities
  23. I've only ever used capability for messing with the itemstack's inventory so I don't exactly know how the process of using it for data goes, and I have read the documentation multiple times but I just can't wrap my head around it. To synchronize my data I would do that in the form of packets right? But what should I be sending and to where?
×
×
  • Create New...

Important Information

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