Jump to content

BLT

Members
  • Posts

    35
  • Joined

  • Last visited

Everything posted by BLT

  1. As i showed, code has been debug, all code runs as it should Here is ModTags class: https://github.com/bltstudios/custom_bows/blob/master/src/main/java/com/btstudios/custombows/init/ModTags.java And my acceptable_heads.json file: https://github.com/bltstudios/custom_bows/blob/master/src/main/resources/data/custombows/tags/items/acceptable_heads.json
  2. I tried that, but since its giving me the same null list I assumed it doesnt work.
  3. I have a function that gets a list of items in an Inventory, and then makes a list of all the items that have the a specific TagKey<Item>. The function is below: protected NonNullList<ItemStack> getAllOfType(TagKey<Item> tagKey, Inventory pInv) { NonNullList<ItemStack> items = null; String invEmptyCheck = pInv.isEmpty() ? "Empty" : "not Empty"; CustomBows.LOGGER.debug("pInv is " + invEmptyCheck); if(!pInv.isEmpty()) { for (ItemStack a : pInv.items) { if (Registry.ITEM.getHolderOrThrow(Registry.ITEM.getResourceKey(a.getItem()).get()).is(tagKey)); { items.add(a); } } } return items; } However, it keeps returning a null list. The log in this function returns "pInv is not Empty", but in its use case the debug says the list is empty. So I believe that the problem is with the following: if(Registry.ITEM.getHolderOrThrow(Registry.ITEM.getResourceKey(a.getItem()).get()).is(tagKey)) Or with my tag json, which you can find in my GitHub repo: https://www.github.com/bltstudios/custom_bows
  4. If you are asking about on screen: Next to the first button, which I believe shows up in the corner. If you are asking about in code: @Override protected void init() { super.init(); this.headButton = addRenderableWidget( new ImageButton(ArrowWorkstationBaseMenu.TE_HEAD_SLOT_X, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT, 0, 0, 0, HEAD_BUTTON_TEX, btn -> { showHeads = true; showBinding = false; showShaft = false; showFeather = false; showInv = false; })); if(showHeads) { int x = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_X + ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH; int y = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y; int width = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH; int height = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT; for (ItemStack a: getAllOfType(ACCEPTABLE_HEAD_TAGS, pInv)) { renderImageButton(x, y, width, height, 0,0,0, HEAD_BUTTON_TEX, a, 0); x += width; } } this.shaftButton = addRenderableWidget( new ImageButton(ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_X, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT, 0,0,0, SHAFT_BUTTON_TEX, btn -> { showShaft = true; showHeads = false; showBinding = false; showFeather = false; showInv = false; })); if(showShaft) { int x = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_X + ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_WIDTH; int y = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_Y; int width = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_WIDTH; int height = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_HEIGHT; for (ItemStack a: getAllOfType(ACCEPTABLE_SHAFT_TAGS, pInv)) { renderImageButton(x, y, width, height, 0,0,0, SHAFT_BUTTON_TEX, a, 1); x += width; } } } protected ImageButton renderImageButton(int x, int y, int width, int height, int startX, int startY, int textStartY, ResourceLocation resLoc, ItemStack itemSelection, int ind) { return addRenderableWidget(new ImageButton(x, y, width, height, startX, startY, textStartY, resLoc, btn -> { menu.blockEntity.itemHandler.setStackInSlot(ind, itemSelection); })); } protected NonNullList<ItemStack> getAllOfType(TagKey<Item> tagKey, Inventory pInv) { NonNullList<ItemStack> items = null; for (ItemStack a: pInv.items) { if(a.is(tagKey)) { items.add(a); } } return items; } In the ArrowWorkstationBaseScreen class
  5. I just finish getting my screen to load, and I am trying to have the code render buttons and the like (don't worry about the slots, I was just testing how they work). However, when the button is pressed, literally nothing happens. It is supposed to create a button for every item in the players inventory that has the tag "custombows.acceptable_heads". Here is the repo: https://github.com/bltstudios/custom_bows
  6. The breakpoint is hit. When it pauses the last thing the console says is: [15:14:24] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.client.ForgeHooksClient$ClientEvents to MOD So I would guess it is working.
  7. I have done that, and it seems to be running, I am not sure how to determine if it is running properly
  8. I think this line means it has: [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 5.0.7+5.0.7+master.6d3407cc But in case not here is the rest of the log: Connected to the target VM, address: '127.0.0.1:62809', transport: 'socket' OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended May 02, 2022 11:55:36 AM org.jline.utils.Log logr WARNING: Unable to retrieve infocmp for type dumb-color java.io.IOException: Cannot run program "infocmp": CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073) at MC-BOOTSTRAP/jline.terminal@3.12.1/org.jline.utils.InfoCmp.getInfoCmp(InfoCmp.java:547) at MC-BOOTSTRAP/jline.terminal@3.12.1/org.jline.terminal.impl.AbstractTerminal.parseInfoCmp(AbstractTerminal.java:187) at MC-BOOTSTRAP/jline.terminal@3.12.1/org.jline.terminal.impl.DumbTerminal.<init>(DumbTerminal.java:88) at MC-BOOTSTRAP/jline.terminal@3.12.1/org.jline.terminal.TerminalBuilder.doBuild(TerminalBuilder.java:401) at MC-BOOTSTRAP/jline.terminal@3.12.1/org.jline.terminal.TerminalBuilder.build(TerminalBuilder.java:259) at MC-BOOTSTRAP/terminalconsoleappender@1.2.0/net.minecrell.terminalconsole.TerminalConsoleAppender.initializeTerminal(TerminalConsoleAppender.java:231) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at MC-BOOTSTRAP/fmlloader@1.18.2-40.0.32/net.minecraftforge.fml.loading.log4j.ForgeHighlight.newInstance(ForgeHighlight.java:61) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.pattern.PatternParser.createConverter(PatternParser.java:590) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.pattern.PatternParser.finalizeConverter(PatternParser.java:657) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:420) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.pattern.PatternParser.parse(PatternParser.java:177) at MC-BOOTSTRAP/terminalconsoleappender@1.2.0/net.minecrell.terminalconsole.util.LoggerNamePatternSelector.<init>(LoggerNamePatternSelector.java:111) at MC-BOOTSTRAP/terminalconsoleappender@1.2.0/net.minecrell.terminalconsole.util.LoggerNamePatternSelector.createSelector(LoggerNamePatternSelector.java:159) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:136) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155) at MC-BOOTSTRAP/org.apache.logging.log4j.core@2.17.1/org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47) at MC-BOOTSTRAP/org.apache.logging.log4j@2.17.1/org.apache.logging.log4j.LogManager.getContext(LogManager.java:196) at MC-BOOTSTRAP/org.apache.logging.log4j@2.17.1/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:599) at MC-BOOTSTRAP/org.apache.logging.log4j@2.17.1/org.apache.logging.log4j.LogManager.getLogger(LogManager.java:585) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.Launcher.main(Launcher.java:76) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) at MC-BOOTSTRAP/cpw.mods.modlauncher@9.1.3/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) at cpw.mods.bootstraplauncher@1.0.0/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:149) Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified at java.base/java.lang.ProcessImpl.create(Native Method) at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:494) at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159) at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110) ... 48 more [11:55:36] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--launchTarget, forgeclientuserdev, --version, MOD_DEV, --assetIndex, 1.18, --assetsDir, C:\Users\btowr\.gradle\caches\forge_gradle\assets, --gameDir, ., --fml.forgeVersion, 40.0.32, --fml.mcVersion, 1.18.2, --fml.forgeGroup, net.minecraftforge, --fml.mcpVersion, 20220228.144236] [11:55:36] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 9.1.3+9.1.3+main.9b69c82a starting: java version 17.0.2 by Eclipse Adoptium [11:55:36] [main/DEBUG] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Found launch services [fmlclientdev,forgeclient,minecraft,forgegametestserverdev,fmlserveruserdev,fmlclient,fmldatauserdev,forgeserverdev,forgeserveruserdev,forgeclientdev,forgeclientuserdev,forgeserver,forgedatadev,fmlserver,fmlclientuserdev,fmlserverdev,forgedatauserdev,testharness,forgegametestserveruserdev] [11:55:36] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Found naming services : [srgtomcp] [11:55:36] [main/DEBUG] [cp.mo.mo.LaunchPluginHandler/MODLAUNCHER]: Found launch plugins: [mixin,eventbus,slf4jfixer,object_holder_definalize,runtime_enum_extender,capability_token_subclass,accesstransformer,runtimedistcleaner] [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Discovering transformation services [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found additional transformation services from discovery services: java.util.stream.ReferencePipeline$3@4504d271 [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Found transformer services : [mixin,fml] [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service mixin [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service mixin [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loading service fml [11:55:37] [main/DEBUG] [ne.mi.fm.lo.LauncherVersion/CORE]: Found FMLLauncher version 1.0 [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML 1.0 loading [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found ModLauncher version : 9.1.3+9.1.3+main.9b69c82a [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found AccessTransformer version : 8.0.4+66+master.c09db6d7 [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found EventBus version : 5.0.7+5.0.7+master.6d3407cc [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found Runtime Dist Cleaner [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: FML found CoreMod version : 5.0.2+5.0.2+master.303343f8 [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package implementation version 4.0.11+4.0.11+master.ce88bbba [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Found ForgeSPI package specification 4 [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Loaded service fml [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Configuring option handling for services [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services initializing [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service mixin [11:55:37] [main/DEBUG] [mixin/]: MixinService [ModLauncher] was successfully booted in cpw.mods.cl.ModuleClassLoader@140e5a13 [11:55:37] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=union:/C:/Users/btowr/.gradle/caches/modules-2/files-2.1/org.spongepowered/mixin/0.8.5/9d1c0c3a304ae6697ecd477218fa61b850bf57fc/mixin-0.8.5.jar%2322!/ Service=ModLauncher Env=CLIENT [11:55:37] [main/DEBUG] [mixin/]: Initialising Mixin Platform Manager [11:55:37] [main/DEBUG] [mixin/]: Adding mixin platform agents for container ModLauncher Root Container(ModLauncher:4f56a0a2) [11:55:37] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for ModLauncher Root Container(ModLauncher:4f56a0a2) [11:55:37] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container ModLauncher Root Container(ModLauncher:4f56a0a2) [11:55:37] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for ModLauncher Root Container(ModLauncher:4f56a0a2) [11:55:37] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container ModLauncher Root Container(ModLauncher:4f56a0a2) [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service mixin [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformation service fml [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Setting up basic FML game directories [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing GAMEDIR directory : F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path GAMEDIR is F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing MODSDIR directory : F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\mods [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path MODSDIR is F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\mods [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing CONFIGDIR directory : F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path CONFIGDIR is F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLPaths/CORE]: Path FMLCONFIG is F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\fml.toml [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading configuration [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing default config directory directory : F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\defaultconfigs [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing ModFile [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Preparing launch handler [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Using forgeclientuserdev as launch service [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLLoader/CORE]: Received command line version data : VersionInfo[forgeVersion=40.0.32, mcVersion=1.18.2, mcpVersion=20220228.144236, forgeGroup=net.minecraftforge] [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformation service fml [11:55:37] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Current naming domain is 'mcp' [11:55:37] [main/DEBUG] [cp.mo.mo.NameMappingServiceHandler/MODLAUNCHER]: Identified name mapping providers {srg=srgtomcp:1234} [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services begin scanning [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service mixin [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service mixin [11:55:37] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Beginning scan trigger - transformation service fml [11:55:37] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Initiating mod scan [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModListHandler/CORE]: Found mod coordinates from lists: [] [11:55:38] [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) [11:55:38] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Got mod coordinates custombows%%F:/CustomBows/CustomBows/Test/forge-1.18.2-40.0.32-mdk\build\resources\main;custombows%%F:/CustomBows/CustomBows/Test/forge-1.18.2-40.0.32-mdk\build\classes\java\main from env [11:55:38] [main/DEBUG] [ne.mi.fm.lo.ta.CommonLaunchHandler/CORE]: Found supplied mod coordinates [{custombows=[F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\resources\main, F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\classes\java\main]}] [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar with {minecraft} mods - versions {1.18.2} [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\btowr\.gradle\caches\forge_gradle\minecraft_user_repo\net\minecraftforge\forge\1.18.2-40.0.32_mapped_official_1.18.2\forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar with languages [LanguageSpec[languageName=minecraft, acceptedVersions=1]] [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\resources\main [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file main with {custombows} mods - versions {0.0NONE} [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\resources\main with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]] [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate / [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file with {forge} mods - versions {40.0.32} [11:55:38] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file / with languages [LanguageSpec[languageName=javafml, acceptedVersions=[24,]]] [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_method with Javascript path coremods/field_to_method.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod field_to_instanceof with Javascript path coremods/field_to_instanceof.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Found coremod add_bouncer_method with Javascript path coremods/add_bouncer_method.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_method.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/field_to_instanceof.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Found coremod coremods/add_bouncer_method.js [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar with {geckolib3} mods - versions {3.0.13} [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]] [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileParser/LOADING]: Considering mod file candidate C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFileInfo/LOADING]: Found valid mod file geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar with {geckolib3} mods - versions {3.0.13} [11:55:39] [main/DEBUG] [ne.mi.fm.lo.mo.ModFile/LOADING]: Loading mod file C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar with languages [LanguageSpec[languageName=javafml, acceptedVersions=[40,)]] [11:55:39] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: End scan trigger - transformation service fml [11:55:39] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found 2 language providers [11:55:39] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider minecraft, version 1.0 [11:55:39] [main/DEBUG] [ne.mi.fm.lo.LanguageLoadingProvider/CORE]: Found language provider javafml, version 40 [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Configured system mods: [minecraft, forge] [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found system mod: minecraft [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found system mod: forge [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Found 2 mods for first modid geckolib3, selecting most recent based on version data [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/]: Selected file geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar for modid geckolib3 with version 3.0.13 [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 4 mod requirements (4 mandatory, 0 optional) [11:55:39] [main/DEBUG] [ne.mi.fm.lo.ModSorter/LOADING]: Found 0 mod requirements missing (0 mandatory, 0 optional) [11:55:40] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 28190 method mappings from methods.csv [11:55:40] [main/DEBUG] [ne.mi.fm.lo.MCPNamingService/CORE]: Loaded 27073 field mappings from fields.csv [11:55:40] [main/DEBUG] [cp.mo.mo.TransformationServicesHandler/MODLAUNCHER]: Transformation services loading transformers [11:55:40] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service mixin [11:55:40] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service mixin [11:55:40] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initializing transformers for transformation service fml [11:55:40] [main/DEBUG] [ne.mi.fm.lo.FMLServiceProvider/CORE]: Loading coremod transformers [11:55:40] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_method.js [11:55:41] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [11:55:41] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/field_to_instanceof.js [11:55:41] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [11:55:41] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: Loading CoreMod from coremods/add_bouncer_method.js [11:55:41] [main/DEBUG] [ne.mi.co.CoreModEngine/COREMOD]: CoreMod loaded successfully [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@433348bc to Target : CLASS {Lnet/minecraft/world/effect/MobEffectInstance;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@63c12e52 to Target : CLASS {Lnet/minecraft/world/level/block/LiquidBlock;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@21bd20ee to Target : CLASS {Lnet/minecraft/world/item/BucketItem;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@26c47874 to Target : CLASS {Lnet/minecraft/world/level/block/StairBlock;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@421056e5 to Target : CLASS {Lnet/minecraft/world/level/block/FlowerPotBlock;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@2849434b to Target : CLASS {Lnet/minecraft/world/item/ItemStack;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformStore/MODLAUNCHER]: Adding transformer net.minecraftforge.coremod.transformer.CoreModClassTransformer@60bbacfc to Target : CLASS {Lnet/minecraft/network/play/client/CClientSettingsPacket;} {} {V} [11:55:41] [main/DEBUG] [cp.mo.mo.TransformationServiceDecorator/MODLAUNCHER]: Initialized transformers for transformation service fml [11:55:44] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [11:55:44] [main/DEBUG] [mixin/]: Processing launch tasks for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [11:55:44] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(minecraft) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(minecraft) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(minecraft) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(minecraft) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(minecraft) [11:55:44] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [11:55:44] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(custombows) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(custombows) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(custombows) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(custombows) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(custombows) [11:55:44] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(custombows)] [11:55:44] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(forge) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(forge) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(forge) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(forge) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(forge) [11:55:44] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [11:55:44] [main/DEBUG] [mixin/]: Adding mixin platform agents for container SecureJarResource(geckolib3) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentMinecraftForge for SecureJarResource(geckolib3) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentMinecraftForge rejected container SecureJarResource(geckolib3) [11:55:44] [main/DEBUG] [mixin/]: Instancing new MixinPlatformAgentDefault for SecureJarResource(geckolib3) [11:55:44] [main/DEBUG] [mixin/]: MixinPlatformAgentDefault accepted container SecureJarResource(geckolib3) [11:55:44] [main/DEBUG] [mixin/]: Processing prepare() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(geckolib3)] [11:55:44] [main/DEBUG] [mixin/]: inject() running with 5 agents [11:55:44] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:ModLauncher Root Container(ModLauncher:4f56a0a2)] [11:55:44] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(minecraft)] [11:55:44] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(custombows)] [11:55:44] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(forge)] [11:55:44] [main/DEBUG] [mixin/]: Processing inject() for PlatformAgent[MixinPlatformAgentDefault:SecureJarResource(geckolib3)] [11:55:44] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'forgeclientuserdev' with arguments [--version, MOD_DEV, --gameDir, ., --assetsDir, C:\Users\btowr\.gradle\caches\forge_gradle\assets, --assetIndex, 1.18] [11:55:44] [main/DEBUG] [mixin/]: Error cleaning class output directory: .mixin.out [11:55:44] [main/DEBUG] [mixin/]: Preparing mixins for MixinEnvironment[DEFAULT] [11:55:44] [main/DEBUG] [io.ne.ut.in.lo.InternalLoggerFactory/]: Using SLF4J as the default logging framework [11:55:44] [main/DEBUG] [io.ne.ut.ResourceLeakDetector/]: -Dio.netty.leakDetection.level: simple [11:55:44] [main/DEBUG] [io.ne.ut.ResourceLeakDetector/]: -Dio.netty.leakDetection.targetRecords: 4 [11:55:46] [main/DEBUG] [os.ut.FileUtil/]: No oshi.properties file found from ClassLoader cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc [11:55:47] [main/DEBUG] [os.ut.FileUtil/]: No oshi.architecture.properties file found from ClassLoader cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc [11:55:50] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/level/block/LiquidBlock [11:55:50] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/level/block/StairBlock [11:55:50] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/level/block/FlowerPotBlock [11:55:53] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/item/ItemStack [11:56:05] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/item/BucketItem [11:56:05] [pool-3-thread-1/DEBUG] [ne.mi.co.tr.CoreModBaseTransformer/COREMOD]: Transforming net/minecraft/world/effect/MobEffectInstance [11:56:08] [Render thread/WARN] [minecraft/VanillaPackResources]: Assets URL 'union:/C:/Users/btowr/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.18.2-40.0.32_mapped_official_1.18.2/forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2376!/assets/.mcassetsroot' uses unexpected schema [11:56:08] [Render thread/WARN] [minecraft/VanillaPackResources]: Assets URL 'union:/C:/Users/btowr/.gradle/caches/forge_gradle/minecraft_user_repo/net/minecraftforge/forge/1.18.2-40.0.32_mapped_official_1.18.2/forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2376!/data/.mcassetsroot' uses unexpected schema [11:56:08] [Render thread/INFO] [mojang/YggdrasilAuthenticationService]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [11:56:08] [Render thread/INFO] [minecraft/Minecraft]: Setting user: Dev [11:56:09] [Render thread/INFO] [minecraft/Minecraft]: Backend library: LWJGL version 3.2.2 SNAPSHOT [11:56:11] [Render thread/DEBUG] [ne.mi.co.ForgeI18n/CORE]: Loading I18N data entries: 5347 [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ModWorkManager/LOADING]: Using 4 threads for parallel mod-loading [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc - got cpw.mods.cl.ModuleClassLoader@1b1637e1 [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLModContainer/LOADING]: Creating FMLModContainer instance for com.btstudios.custombows.CustomBows [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc - got cpw.mods.cl.ModuleClassLoader@1b1637e1 [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLModContainer/LOADING]: Creating FMLModContainer instance for net.minecraftforge.common.ForgeMod [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLJavaModLanguageProvider/LOADING]: Loading FMLModContainer from classloader cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc - got cpw.mods.cl.ModuleClassLoader@1b1637e1 [11:56:11] [Render thread/DEBUG] [ne.mi.fm.ja.FMLModContainer/LOADING]: Creating FMLModContainer instance for software.bernie.example.GeckoLibMod [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.fo.ForgeVersion/CORE]: Forge Version package package net.minecraftforge.versions.forge, Forge, version 40.0 from cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.fo.ForgeVersion/CORE]: Found Forge version 40.0.32 [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.fo.ForgeVersion/CORE]: Found Forge spec 40.0 [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.fo.ForgeVersion/CORE]: Found Forge group net.minecraftforge [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.mc.MCPVersion/CORE]: MCP Version package package net.minecraftforge.versions.mcp, Minecraft, version 1.18.2 from cpw.mods.modlauncher.TransformingClassLoader@2f1d0bbc [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.mc.MCPVersion/CORE]: Found MC version information 1.18.2 [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.ve.mc.MCPVersion/CORE]: Found MCP version information 20220228.144236 [11:56:11] [modloading-worker-0/INFO] [ne.mi.co.ForgeMod/FORGEMOD]: Forge mod loading, version 40.0.32, for MC 1.18.2 with MCP 20220228.144236 [11:56:11] [modloading-worker-0/INFO] [ne.mi.co.MinecraftForge/FORGE]: MinecraftForge v40.0.32 Initialized [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Attempting to inject @EventBusSubscriber classes into the eventbus for custombows [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing com.btstudios.custombows.client.ClientModEventSubscriber to MOD [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Attempting to inject @EventBusSubscriber classes into the eventbus for geckolib3 [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing software.bernie.example.CommonListener to MOD [11:56:11] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing software.bernie.example.ClientListener to MOD [11:56:11] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: -Dio.netty.noUnsafe: false [11:56:11] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: Java version: 17 [11:56:11] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: sun.misc.Unsafe.theUnsafe: available [11:56:11] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: sun.misc.Unsafe.copyMemory: available [11:56:11] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: java.nio.Buffer.address: available [11:56:12] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: direct buffer constructor: unavailable java.lang.UnsupportedOperationException: Reflective setAccessible(true) disabled at io.netty.util.internal.ReflectionUtil.trySetAccessible(ReflectionUtil.java:31) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.internal.PlatformDependent0$4.run(PlatformDependent0.java:253) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at java.security.AccessController.doPrivileged(AccessController.java:318) ~[?:?] {} at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:247) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:294) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:88) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.ConstantPool.<init>(ConstantPool.java:34) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at net.minecraftforge.network.NetworkConstants.<clinit>(NetworkConstants.java:28) ~[forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2375%2381!/:?] {re:classloading} at net.minecraftforge.common.ForgeMod.<init>(ForgeMod.java:126) ~[forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2375%2381!/:?] {re:classloading} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {} at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[javafmllanguage-1.18.2-40.0.32.jar%2377!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[fmlcore-1.18.2-40.0.32.jar%2379!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1804) [?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) [?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?] {} at java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373) [?:?] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) [?:?] {} at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?] {} at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?] {} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?] {} [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: java.nio.Bits.unaligned: available, true [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: jdk.internal.misc.Unsafe.allocateUninitializedArray(int): unavailable java.lang.IllegalAccessException: class io.netty.util.internal.PlatformDependent0$6 (in module io.netty.all) cannot access class jdk.internal.misc.Unsafe (in module java.base) because module java.base does not export jdk.internal.misc to module io.netty.all at jdk.internal.reflect.Reflection.newIllegalAccessException(Reflection.java:392) ~[?:?] {} at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:674) ~[?:?] {} at java.lang.reflect.Method.invoke(Method.java:560) ~[?:?] {} at io.netty.util.internal.PlatformDependent0$6.run(PlatformDependent0.java:375) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at java.security.AccessController.doPrivileged(AccessController.java:318) ~[?:?] {} at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:366) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:294) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:88) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.ConstantPool.<init>(ConstantPool.java:34) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.AttributeKey$1.<init>(AttributeKey.java:27) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at io.netty.util.AttributeKey.<clinit>(AttributeKey.java:27) ~[netty-all-4.1.68.Final.jar%2332!/:4.1.68.Final] {} at net.minecraftforge.network.NetworkConstants.<clinit>(NetworkConstants.java:28) ~[forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2375%2381!/:?] {re:classloading} at net.minecraftforge.common.ForgeMod.<init>(ForgeMod.java:126) ~[forge-1.18.2-40.0.32_mapped_official_1.18.2-recomp.jar%2375%2381!/:?] {re:classloading} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:?] {} at jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) ~[?:?] {} at jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:?] {} at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) ~[?:?] {} at java.lang.reflect.Constructor.newInstance(Constructor.java:480) ~[?:?] {} at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:81) ~[javafmllanguage-1.18.2-40.0.32.jar%2377!/:?] {} at net.minecraftforge.fml.ModContainer.lambda$buildTransitionHandler$4(ModContainer.java:120) ~[fmlcore-1.18.2-40.0.32.jar%2379!/:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run$$$capture(CompletableFuture.java:1804) [?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java) [?:?] {} at java.util.concurrent.CompletableFuture$AsyncRun.exec(CompletableFuture.java:1796) [?:?] {} at java.util.concurrent.ForkJoinTask.doExec$$$capture(ForkJoinTask.java:373) [?:?] {} at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java) [?:?] {} at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) [?:?] {} at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) [?:?] {} at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) [?:?] {} at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) [?:?] {} [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent0/]: java.nio.DirectByteBuffer.<init>(long, int): unavailable [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: sun.misc.Unsafe: available [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: maxDirectMemory: 4263510016 bytes (maybe) [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: -Dio.netty.tmpdir: C:\Users\btowr\AppData\Local\Temp (java.io.tmpdir) [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: -Dio.netty.bitMode: 64 (sun.arch.data.model) [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: Platform: Windows [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: -Dio.netty.maxDirectMemory: -1 bytes [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: -Dio.netty.uninitializedArrayAllocationThreshold: -1 [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.CleanerJava9/]: java.nio.ByteBuffer.cleaner(): available [11:56:13] [modloading-worker-0/DEBUG] [io.ne.ut.in.PlatformDependent/]: -Dio.netty.noPreferDirect: false [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.co.ForgeMod/FORGEMOD]: Loading Network data for FML net version: FML2 [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Config file forge-client.toml for forge tracking [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Config file forge-server.toml for forge tracking [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Config file forge-common.toml for forge tracking [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Attempting to inject @EventBusSubscriber classes into the eventbus for forge [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.common.ForgeSpawnEggItem$CommonHandler to MOD [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.common.ForgeSpawnEggItem$ColorRegisterHandler to MOD [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.client.model.ModelDataManager to FORGE [11:56:13] [modloading-worker-0/DEBUG] [ne.mi.fm.ja.AutomaticEventSubscriber/LOADING]: Auto-subscribing net.minecraftforge.client.ForgeHooksClient$ClientEvents to MOD [11:56:14] [Render thread/DEBUG] [so.be.ge.GeckoLib/]: Registered syncable for com.btstudios.custombows.items.custom.ShortBow [11:56:14] [Render thread/DEBUG] [so.be.ge.GeckoLib/]: Registered syncable for software.bernie.example.item.JackInTheBoxItem [11:56:14] [Render thread/DEBUG] [so.be.ge.GeckoLib/]: Registered syncable for software.bernie.example.item.PistolItem [11:56:15] [Render thread/DEBUG] [ne.mi.cl.lo.ClientModLoader/CORE]: Generating PackInfo named mod:custombows for mod file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\resources\main [11:56:15] [Render thread/DEBUG] [ne.mi.cl.lo.ClientModLoader/CORE]: Generating PackInfo named mod:forge for mod file / [11:56:15] [Render thread/DEBUG] [ne.mi.cl.lo.ClientModLoader/CORE]: Generating PackInfo named mod:geckolib3 for mod file C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar [11:56:17] [Render thread/DEBUG] [io.ne.ut.in.InternalThreadLocalMap/]: -Dio.netty.threadLocalMap.stringBuilder.initialSize: 1024 [11:56:17] [Render thread/DEBUG] [io.ne.ut.in.InternalThreadLocalMap/]: -Dio.netty.threadLocalMap.stringBuilder.maxSize: 4096 [11:56:17] [Render thread/DEBUG] [io.ne.ut.in.ThreadLocalRandom/]: -Dio.netty.initialSeedUniquifier: 0xd9f05f755ee467dd [11:56:18] [Render thread/INFO] [mojang/NarratorWindows]: Narrator library for x64 successfully loaded [11:56:18] [Render thread/INFO] [ne.mi.ga.ForgeGameTestHooks/]: Enabled Gametest Namespaces: [custombows] [11:56:20] [Render thread/INFO] [minecraft/ReloadableResourceManager]: Reloading ResourceManager: Default, Mod Resources [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading configs type CLIENT [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-client.toml [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-client.toml [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Watching TOML config file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-client.toml for changes [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.co.ForgeConfig/FORGEMOD]: Loaded forge config file forge-client.toml [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading configs type COMMON [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Built TOML config for F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-common.toml [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-common.toml [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Watching TOML config file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\run\config\forge-common.toml for changes [11:56:20] [modloading-worker-0/DEBUG] [ne.mi.co.ForgeConfig/FORGEMOD]: Loaded forge config file forge-common.toml [11:56:38] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: custombows:blockstates/arrow_workstation_base.json: java.io.FileNotFoundException: custombows:blockstates/arrow_workstation_base.json [11:56:38] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'custombows:blockstates/arrow_workstation_base.json' missing model for variant: 'custombows:arrow_workstation_base#facing=west' [11:56:38] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'custombows:blockstates/arrow_workstation_base.json' missing model for variant: 'custombows:arrow_workstation_base#facing=east' [11:56:38] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'custombows:blockstates/arrow_workstation_base.json' missing model for variant: 'custombows:arrow_workstation_base#facing=south' [11:56:38] [Worker-Main-6/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'custombows:blockstates/arrow_workstation_base.json' missing model for variant: 'custombows:arrow_workstation_base#facing=north' [11:56:45] [Render thread/DEBUG] [ne.mi.fm.DeferredWorkQueue/LOADING]: Dispatching synchronous work for work queue COMMON_SETUP: 1 jobs [11:56:45] [Render thread/DEBUG] [ne.mi.fm.DeferredWorkQueue/LOADING]: Synchronous work queue completed in 1.089 ms [11:56:46] [Worker-Main-4/ERROR] [minecraft/TextureAtlas]: Using missing texture, unable to load minecraft:textures/torch_arrow_torch.png : java.io.FileNotFoundException: minecraft:textures/torch_arrow_torch.png [11:56:46] [Render thread/DEBUG] [ne.mi.fm.DeferredWorkQueue/LOADING]: Dispatching synchronous work for work queue SIDED_SETUP: 1 jobs [11:56:47] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Starting version check at https://files.minecraftforge.net/net/minecraftforge/forge/promotions_slim.json [11:56:47] [Render thread/DEBUG] [ne.mi.fm.DeferredWorkQueue/LOADING]: Synchronous work queue completed in 183.8 ms [11:56:49] [Forge Version Check/DEBUG] [ne.mi.fm.VersionChecker/]: [forge] Received version check data: { "homepage": "https://files.minecraftforge.net/net/minecraftforge/forge/", "promos": { "1.1-latest": "1.3.4.29", "1.2.3-latest": "1.4.1.64", "1.2.4-latest": "2.0.0.68", "1.2.5-latest": "3.4.9.171", "1.3.2-latest": "4.3.5.318", "1.4.0-latest": "5.0.0.326", "1.4.1-latest": "6.0.0.329", "1.4.2-latest": "6.0.1.355", "1.4.3-latest": "6.2.1.358", "1.4.4-latest": "6.3.0.378", "1.4.5-latest": "6.4.2.448", "1.4.6-latest": "6.5.0.489", "1.4.7-latest": "6.6.2.534", "1.5-latest": "7.7.0.598", "1.5.1-latest": "7.7.2.682", "1.5.2-latest": "7.8.1.738", "1.5.2-recommended": "7.8.1.738", "1.6.1-latest": "8.9.0.775", "1.6.2-latest": "9.10.1.871", "1.6.2-recommended": "9.10.1.871", "1.6.3-latest": "9.11.0.878", "1.6.4-latest": "9.11.1.1345", "1.6.4-recommended": "9.11.1.1345", "1.7.2-latest": "10.12.2.1161", "1.7.2-recommended": "10.12.2.1161", "1.7.10_pre4-latest": "10.12.2.1149", "1.7.10-latest": "10.13.4.1614", "1.7.10-recommended": "10.13.4.1614", "1.8-latest": "11.14.4.1577", "1.8-recommended": "11.14.4.1563", "1.8.8-latest": "11.15.0.1655", "1.8.9-latest": "11.15.1.2318", "1.8.9-recommended": "11.15.1.2318", "1.9-latest": "12.16.1.1938", "1.9-recommended": "12.16.1.1887", "1.9.4-latest": "12.17.0.2317", "1.9.4-recommended": "12.17.0.2317", "1.10-latest": "12.18.0.2000", "1.10.2-latest": "12.18.3.2511", "1.10.2-recommended": "12.18.3.2511", "1.11-latest": "13.19.1.2199", "1.11-recommended": "13.19.1.2189", "1.11.2-latest": "13.20.1.2588", "1.11.2-recommended": "13.20.1.2588", "1.12-latest": "14.21.1.2443", "1.12-recommended": "14.21.1.2387", "1.12.1-latest": "14.22.1.2485", "1.12.1-recommended": "14.22.1.2478", "1.12.2-latest": "14.23.5.2860", "1.12.2-recommended": "14.23.5.2859", "1.13.2-latest": "25.0.223", "1.14.2-latest": "26.0.63", "1.14.3-latest": "27.0.60", "1.14.4-latest": "28.2.26", "1.14.4-recommended": "28.2.26", "1.15-latest": "29.0.4", "1.15.1-latest": "30.0.51", "1.15.2-latest": "31.2.57", "1.15.2-recommended": "31.2.57", "1.16.1-latest": "32.0.108", "1.16.2-latest": "33.0.61", "1.16.3-latest": "34.1.42", "1.16.3-recommended": "34.1.0", "1.16.4-latest": "35.1.37", "1.16.4-recommended": "35.1.4", "1.16.5-latest": "36.2.34", "1.16.5-recommended": "36.2.34", "1.17.1-latest": "37.1.1", "1.17.1-recommended": "37.1.1", "1.18-latest": "38.0.17", "1.18.1-latest": "39.1.2", "1.18.1-recommended": "39.1.0", "1.18.2-latest": "40.1.0", "1.18.2-recommended": "40.1.0" } } [11:56:49] [Forge Version Check/INFO] [ne.mi.fm.VersionChecker/]: [forge] Found status: OUTDATED Current: 40.0.32 Target: 40.1.0 [11:56:54] [Render thread/DEBUG] [ne.mi.co.ForgeI18n/CORE]: Loading I18N data entries: 5598 [11:56:55] [Render thread/INFO] [mojang/Library]: OpenAL initialized on device OpenAL Soft on Speakers (G55) [11:56:55] [Render thread/INFO] [minecraft/SoundEngine]: Sound engine started [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x128x4 minecraft:textures/atlas/signs.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas [11:56:56] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas [11:57:01] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas [11:57:02] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas [11:57:02] [Render thread/INFO] [minecraft/TextureAtlas]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas [11:57:03] [Realms Notification Availability checker #1/INFO] [mojang/RealmsClient]: Could not authorize you against Realms server: Invalid session id [11:57:13] [Render thread/DEBUG] [ne.mi.se.ServerLifecycleHooks/CORE]: Generating PackInfo named mod:custombows for mod file F:\CustomBows\CustomBows\Test\forge-1.18.2-40.0.32-mdk\build\resources\main [11:57:13] [Render thread/DEBUG] [ne.mi.se.ServerLifecycleHooks/CORE]: Generating PackInfo named mod:forge for mod file / [11:57:13] [Render thread/DEBUG] [ne.mi.se.ServerLifecycleHooks/CORE]: Generating PackInfo named mod:geckolib3 for mod file C:\Users\btowr\.gradle\caches\forge_gradle\deobf_dependencies\software\bernie\geckolib\geckolib-1.18-forge\3.0.13_mapped_official_1.18.2\geckolib-1.18-forge-3.0.13_mapped_official_1.18.2.jar [11:57:18] [Render thread/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [11:57:18] [Render thread/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, location] and [teleport, targets] with inputs: [0.1 -0.5 .9, 0 0 0] [11:57:18] [Render thread/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, destination] and [teleport, targets] with inputs: [Player, 0123, @e, dd12be42-52a9-4a91-a8a1-11c01849e498] [11:57:18] [Render thread/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets] and [teleport, destination] with inputs: [Player, 0123, dd12be42-52a9-4a91-a8a1-11c01849e498] [11:57:18] [Render thread/WARN] [minecraft/Commands]: Ambiguity between arguments [teleport, targets, location] and [teleport, targets, destination] with inputs: [0.1 -0.5 .9, 0 0 0] [11:57:32] [Render thread/INFO] [minecraft/RecipeManager]: Loaded 7 recipes [11:57:40] [Render thread/INFO] [minecraft/AdvancementList]: Loaded 1141 advancements [11:57:40] [Render thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: Gathering id map for writing to world save Test 2 [11:57:40] [Render thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: ID Map collection complete Test 2 [11:57:41] [Render thread/INFO] [mojang/YggdrasilAuthenticationService]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD' [11:57:41] [Server thread/INFO] [minecraft/IntegratedServer]: Starting integrated minecraft server version 1.18.2 [11:57:41] [Server thread/INFO] [minecraft/MinecraftServer]: Generating keypair [11:57:42] [Server thread/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing serverconfig directory : .\saves\Test 2\serverconfig [11:57:42] [Server thread/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Loading configs type SERVER [11:57:42] [Server thread/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Built TOML config for .\saves\Test 2\serverconfig\forge-server.toml [11:57:42] [Server thread/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Loaded TOML config file .\saves\Test 2\serverconfig\forge-server.toml [11:57:42] [Server thread/DEBUG] [ne.mi.fm.co.ConfigFileTypeHandler/CONFIG]: Watching TOML config file .\saves\Test 2\serverconfig\forge-server.toml for changes [11:57:42] [Server thread/DEBUG] [ne.mi.co.ForgeConfig/FORGEMOD]: Loaded forge config file forge-server.toml [11:57:42] [Server thread/INFO] [minecraft/MinecraftServer]: Preparing start region for dimension minecraft:overworld [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:45] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:46] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:47] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:47] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:48] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:48] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:49] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 0% [11:57:49] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 2% [11:57:50] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 4% [11:57:50] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 4% [11:57:50] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 4% [11:57:51] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 9% [11:57:52] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 20% [11:57:52] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 20% [11:57:53] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 40% [11:57:53] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 40% [11:57:54] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 75% [11:57:54] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Preparing spawn area: 75% [11:57:56] [Server thread/INFO] [ne.mi.se.pe.PermissionAPI/]: Successfully initialized permission handler forge:default_handler [11:57:56] [Render thread/INFO] [minecraft/LoggerChunkProgressListener]: Time elapsed: 14379 ms [11:57:57] [Server thread/INFO] [minecraft/IntegratedServer]: Changing view distance to 4, from 10 [11:57:57] [Server thread/INFO] [minecraft/IntegratedServer]: Changing simulation distance to 12, from 0 [11:57:57] [Render thread/DEBUG] [io.ne.ch.MultithreadEventLoopGroup/]: -Dio.netty.eventLoopThreads: 8 [11:57:57] [Render thread/DEBUG] [io.ne.ch.ni.NioEventLoop/]: -Dio.netty.noKeySetOptimization: false [11:57:57] [Render thread/DEBUG] [io.ne.ch.ni.NioEventLoop/]: -Dio.netty.selectorAutoRebuildThreshold: 512 [11:57:57] [Render thread/DEBUG] [io.ne.ut.in.PlatformDependent/]: org.jctools-core.MpscChunkedArrayQueue: available [11:57:57] [Render thread/DEBUG] [io.ne.ch.DefaultChannelId/]: -Dio.netty.processId: 13784 (auto-detected) [11:57:57] [Render thread/DEBUG] [io.ne.ut.NetUtil/]: -Djava.net.preferIPv4Stack: false [11:57:57] [Render thread/DEBUG] [io.ne.ut.NetUtil/]: -Djava.net.preferIPv6Addresses: false [11:58:02] [Render thread/DEBUG] [io.ne.ut.NetUtilInitializations/]: Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1) [11:58:02] [Render thread/DEBUG] [io.ne.ut.NetUtil/]: Failed to get SOMAXCONN from sysctl and file \proc\sys\net\core\somaxconn. Default: 200 [11:58:03] [Render thread/DEBUG] [io.ne.ch.DefaultChannelId/]: -Dio.netty.machineId: 00:ff:aa:ff:fe:b3:19:3d (auto-detected) [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.numHeapArenas: 8 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.numDirectArenas: 8 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.pageSize: 8192 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.maxOrder: 11 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.chunkSize: 16777216 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.smallCacheSize: 256 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.normalCacheSize: 64 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.maxCachedBufferCapacity: 32768 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.cacheTrimInterval: 8192 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.cacheTrimIntervalMillis: 0 [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.useCacheForAllThreads: true [11:58:03] [Render thread/DEBUG] [io.ne.bu.PooledByteBufAllocator/]: -Dio.netty.allocator.maxCachedByteBuffersPerChunk: 1023 [11:58:03] [Render thread/DEBUG] [io.ne.bu.ByteBufUtil/]: -Dio.netty.allocator.type: pooled [11:58:03] [Render thread/DEBUG] [io.ne.bu.ByteBufUtil/]: -Dio.netty.threadLocalDirectBufferSize: 0 [11:58:03] [Render thread/DEBUG] [io.ne.bu.ByteBufUtil/]: -Dio.netty.maxThreadLocalCharBufferSize: 16384 [11:58:04] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Starting local connection. [11:58:04] [Netty Local Client IO #0/DEBUG] [io.ne.ut.Recycler/]: -Dio.netty.recycler.maxCapacityPerThread: 4096 [11:58:04] [Netty Local Client IO #0/DEBUG] [io.ne.ut.Recycler/]: -Dio.netty.recycler.maxSharedCapacityFactor: 2 [11:58:04] [Netty Local Client IO #0/DEBUG] [io.ne.ut.Recycler/]: -Dio.netty.recycler.linkCapacity: 16 [11:58:04] [Netty Local Client IO #0/DEBUG] [io.ne.ut.Recycler/]: -Dio.netty.recycler.ratio: 8 [11:58:04] [Netty Local Client IO #0/DEBUG] [io.ne.ut.Recycler/]: -Dio.netty.recycler.delayedQueue.ratio: 8 [11:58:04] [Netty Server IO #1/DEBUG] [io.ne.bu.AbstractByteBuf/]: -Dio.netty.buffer.checkAccessible: true [11:58:04] [Netty Server IO #1/DEBUG] [io.ne.bu.AbstractByteBuf/]: -Dio.netty.buffer.checkBounds: true [11:58:04] [Netty Server IO #1/DEBUG] [io.ne.ut.ResourceLeakDetectorFactory/]: Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector@75ecd882 [11:58:04] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Starting local connection. [11:58:05] [Server thread/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Sending ticking packet info 'net.minecraftforge.network.HandshakeMessages$S2CModList' to 'fml:handshake' sequence 0 [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Recieved login wrapper packet event for channel fml:handshake with index 0 [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Logging into server with mod list [minecraft, custombows, forge, geckolib3] [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:loginwrapper' : Version test of 'FML2' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'forge:tier_sorting' : Version test of '1.0' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:handshake' : Version test of 'FML2' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'geckolib3:main' : Version test of '0' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:unregister' : Version test of 'FML2' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:play' : Version test of 'FML2' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:register' : Version test of 'FML2' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'forge:split' : Version test of '1.1' from server : ACCEPTED [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Accepting channel list from server [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Dispatching wrapped packet reply for channel fml:handshake with index 0 [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Accepted server connection [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Recieved login wrapper packet event for channel fml:handshake with index 0 [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Received client indexed reply 0 of type net.minecraftforge.network.HandshakeMessages$C2SModListReply [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Received client connection with modlist [minecraft, custombows, forge, geckolib3] [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:loginwrapper' : Version test of 'FML2' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'forge:tier_sorting' : Version test of '1.0' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:handshake' : Version test of 'FML2' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'geckolib3:main' : Version test of '0' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:unregister' : Version test of 'FML2' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'fml:play' : Version test of 'FML2' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'minecraft:register' : Version test of 'FML2' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Channel 'forge:split' : Version test of '1.1' from client : ACCEPTED [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.NetworkRegistry/NETREGISTRY]: Accepting channel list from client [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Accepted client connection mod list [11:58:05] [Server thread/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Sending ticking packet info 'Config forge-server.toml' to 'fml:handshake' sequence 1 [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Recieved login wrapper packet event for channel fml:handshake with index 1 [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Received config sync from server [11:58:05] [Netty Local Client IO #0/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Dispatching wrapped packet reply for channel fml:handshake with index 1 [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.LoginWrapper/FMLHANDSHAKE]: Recieved login wrapper packet event for channel fml:handshake with index 1 [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Received client indexed reply 1 of type net.minecraftforge.network.HandshakeMessages$C2SAcknowledge [11:58:05] [Netty Server IO #1/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Received acknowledgement from client [11:58:05] [Server thread/DEBUG] [ne.mi.ne.HandshakeHandler/FMLHANDSHAKE]: Handshake complete! [11:58:05] [Netty Local Client IO #0/INFO] [ne.mi.ne.NetworkHooks/]: Connected to a modded server. [11:58:05] [Server thread/INFO] [ne.mi.co.AdvancementLoadFix/]: Using new advancement loading for net.minecraft.server.PlayerAdvancements@7974ddea [11:58:05] [Server thread/INFO] [minecraft/PlayerList]: Dev[local:E:baaa9615] logged in with entity id 95 at (2.2529729212043783, -60.0, 0.6420061579579402) [11:58:05] [Server thread/INFO] [minecraft/MinecraftServer]: Dev joined the game [11:58:07] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Is the server overloaded? Running 2227ms or 44 ticks behind [11:58:08] [Render thread/INFO] [minecraft/AdvancementList]: Loaded 32 advancements [11:58:38] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [11:58:46] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game... [11:58:46] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:overworld [11:58:46] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_nether [11:58:46] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_end [11:58:47] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: Gathering id map for writing to world save Test 2 [11:58:47] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: ID Map collection complete Test 2 [12:06:36] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:37] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:37] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:37] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:39] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:39] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:39] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:39] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:39] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:40] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:41] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:41] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:41] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:42] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:06:42] [Render thread/WARN] [minecraft/MenuScreens]: Failed to create screen for menu type: custombows:arrow_workstation_base [12:07:51] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game... [12:07:51] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:overworld [12:07:51] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_nether [12:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_end [12:07:52] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: Gathering id map for writing to world save Test 2 [12:07:52] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: ID Map collection complete Test 2 [12:07:52] [Server thread/INFO] [minecraft/IntegratedServer]: Saving and pausing game... [12:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:overworld [12:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_nether [12:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_end [12:07:52] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: Gathering id map for writing to world save Test 2 [12:07:52] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: ID Map collection complete Test 2 [12:07:52] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: Dev lost connection: Disconnected [12:07:52] [Server thread/INFO] [minecraft/MinecraftServer]: Dev left the game [12:07:52] [Server thread/INFO] [minecraft/ServerGamePacketListenerImpl]: Stopping singleplayer server as player logged out [12:07:53] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server [12:07:53] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players [12:07:53] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds [12:07:54] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:overworld [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_nether [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[Test 2]'/minecraft:the_end [12:07:56] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: Gathering id map for writing to world save Test 2 [12:07:56] [Server thread/DEBUG] [ne.mi.co.ForgeHooks/WP]: ID Map collection complete Test 2 [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (Test 2): All chunks are saved [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved [12:07:56] [Server thread/INFO] [minecraft/MinecraftServer]: ThreadedAnvilChunkStorage: All dimensions are saved [12:07:57] [Server thread/DEBUG] [ne.mi.fm.lo.FileUtils/CORE]: Found existing serverconfig directory : .\saves\Test 2\serverconfig [12:07:57] [Server thread/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Unloading configs type SERVER [12:08:05] [Render thread/INFO] [minecraft/Minecraft]: Stopping! Disconnected from the target VM, address: '127.0.0.1:62809', transport: 'socket' Process finished with exit code 0
  9. I think so: eventBus.addListener(this::clientSetup); MinecraftForge.EVENT_BUS.register(this);
  10. I have attempted to implement what you were saying: private void clientSetup(final FMLClientSetupEvent event) { ItemBlockRenderTypes.setRenderLayer(ModBlocks.ARROW_WORKSTATION_BASE.get(), RenderType.translucent()); //ModItemProperties.addCustomItemProperties(); event.enqueueWork(() -> { MenuScreens.register(ModMenuTypes.ARROW_WORKSTATION_BASE_MENU.get(), ArrowWorkstationBaseScreen::new); }); } but I am still getting the same error.
  11. Here is Menu: public class ArrowWorkstationBaseMenu extends AbstractContainerMenu { public final ArrowWorkstationBaseEntity blockEntity; private final Level level; private final ContainerData data; public ArrowWorkstationBaseMenu(int pContainerId, Inventory inv, FriendlyByteBuf extraData) { this(pContainerId, inv, inv.player.level.getBlockEntity(extraData.readBlockPos()), new SimpleContainerData(2)); } public ArrowWorkstationBaseMenu(int pContainerId, Inventory inv, BlockEntity entity, ContainerData data) { super(ModMenuTypes.ARROW_WORKSTATION_BASE_MENU.get(), pContainerId); checkContainerSize(inv, 4); blockEntity = ((ArrowWorkstationBaseEntity) entity); this.level = inv.player.level; this.data = data; addPlayerInventory(inv); addPlayerHotbar(inv); this.blockEntity.getCapability(CapabilityItemHandler.ITEM_HANDLER_CAPABILITY).ifPresent(handler -> { this.addSlot(new SlotItemHandler(handler, 0, 34, 40)); this.addSlot(new SlotItemHandler(handler, 1, 57, 18)); this.addSlot(new SlotItemHandler(handler, 2, 103, 18)); this.addSlot(new ModResultSlot(handler, 3, 80, 60)); }); addDataSlots(data); } public boolean isCrafting() { return data.get(0) > 0; } public int getScaledProgress() { int progress = this.data.get(0); int maxProgress = this.data.get(1); // Max Progress int progressArrowSize = 26; // This is the height in pixels of your arrow return maxProgress != 0 && progress != 0 ? progress * progressArrowSize / maxProgress : 0; } //Refer to https://github.com/diesieben07/SevenCommons if get confused again 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; private static final int TE_INVENTORY_SLOT_COUNT = 5; // must be the number of slots you have! public static final int TE_HEAD_SLOT_X = 10; public static final int TE_HEAD_SLOT_Y = 20; public static final int TE_HEAD_SLOT_WIDTH = 10; public static final int TE_HEAD_SLOT_HEIGHT = 10; public static final int TE_SHAFT_SLOT_X = 10; public static final int TE_SHAFT_SLOT_Y = 20; public static final int TE_SHAFT_SLOT_WIDTH = 10; public static final int TE_SHAFT_SLOT_HEIGHT = 10; public static final int TE_BINDING_SLOT_X = 10; public static final int TE_BINDING_SLOT_Y = 20; public static final int TE_BINDING_SLOT_WIDTH = 10; public static final int TE_BINDING_SLOT_HEIGHT = 10; public static final int TE_FEATHERS_SLOT_X = 10; public static final int TE_FEATHERS_SLOT_Y = 20; public static final int TE_FEATHERS_SLOT_WIDTH = 10; public static final int TE_FEATHERS_SLOT_HEIGHT = 10; @Override public ItemStack quickMoveStack(Player playerIn, int index) { Slot sourceSlot = slots.get(index); 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 (index < 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 (index < 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:" + index); 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, ModBlocks.ARROW_WORKSTATION_BASE.get()); } private void addPlayerInventory(Inventory playerInventory) { 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, 86 + i * 18)); } } } private void addPlayerHotbar(Inventory playerInventory) { for (int i = 0; i < 9; ++i) { this.addSlot(new Slot(playerInventory, i, 8 + i * 18, 144)); } } } MenuType class: public class ModMenuTypes { public static final DeferredRegister<MenuType<?>> MENUS = DeferredRegister.create(ForgeRegistries.CONTAINERS, CustomBows.MOD_ID); public static final RegistryObject<MenuType<ArrowWorkstationBaseMenu>> ARROW_WORKSTATION_BASE_MENU = registerMenuType(ArrowWorkstationBaseMenu::new, "arrow_workstation_base_menu"); private static <T extends AbstractContainerMenu>RegistryObject<MenuType<T>> registerMenuType(IContainerFactory<T> factory, String name) { return MENUS.register(name, ()-> IForgeMenuType.create(factory)); } public static void register(IEventBus eventBus) { MENUS.register(eventBus); } } register is called in my CustomBows class: @Mod("custombows") public class CustomBows { public static final String MOD_ID = "custombows"; private static final Logger LOGGER = LogManager.getLogger(); public CustomBows() { IEventBus eventBus = FMLJavaModLoadingContext.get().getModEventBus(); ModItems.register(eventBus); ModEntityType.register(eventBus); ModBlockEntities.register(eventBus); ModBlocks.register(eventBus); ModContainers.register(eventBus); ModMenuTypes.register(eventBus); ModRecipes.register(eventBus); eventBus.addListener(this::setup); eventBus.addListener(this::clientSetup); GeckoLib.initialize(); MinecraftForge.EVENT_BUS.register(this); } private void clientSetup(final FMLClientSetupEvent event) { ModItemProperties.addCustomItemProperties(); } private void setup(final FMLCommonSetupEvent event) { event.enqueueWork(()-> { }); } }
  12. I am trying to make a UI for one of my block entites in 1.18.2. When attempting to open the UI, it says: "Failed to create screen for menu type: custombows:arrow_workstation_base" The ArrowWorkstationBaseScreen script is below, I believe that the problem is with the init(), but it wont give me any more information other than it failed: public class ArrowWorkstationBaseScreen extends AbstractContainerScreen<ArrowWorkstationBaseMenu> { public static final TagKey<Item> ACCEPTABLE_HEAD_TAGS = ItemTags.create(new ResourceLocation(CustomBows.MOD_ID, "/tags/items/acceptable_heads")); public static final TagKey<Item> ACCEPTABLE_SHAFT_TAGS = ItemTags.create(new ResourceLocation(CustomBows.MOD_ID, "/tags/items/acceptable_shafts")); public static final TagKey<Item> ACCEPTABLE_BINDING_TAGS = ItemTags.create(new ResourceLocation(CustomBows.MOD_ID, "/tags/items/acceptable_bindings")); public static final TagKey<Item> ACCEPTABLE_FEATHER_TAGS = ItemTags.create(new ResourceLocation(CustomBows.MOD_ID, "/tags/items/acceptable_feathers")); private static final ResourceLocation TEXTURE = new ResourceLocation(CustomBows.MOD_ID, "textures/gui/arrow_workstation_base_gui_bg.png"); private static final ResourceLocation HEAD_BUTTON_TEX = new ResourceLocation(CustomBows.MOD_ID, "textures/gui/arrow_workstation_base_head_gui.png"); private static final ResourceLocation SHAFT_BUTTON_TEX = new ResourceLocation(CustomBows.MOD_ID, "textures/gui/arrow_workstation_base_head_gui.png"); private static final ResourceLocation BINDING_BUTTON_TEX = new ResourceLocation(CustomBows.MOD_ID, "textures/gui/arrow_workstation_base_head_gui.png"); private static final ResourceLocation FEATHER_BUTTON_TEX = new ResourceLocation(CustomBows.MOD_ID, "textures/gui/arrow_workstation_base_head_gui.png"); public boolean showInv = false; public boolean showHeads = false; public boolean showShaft = false; public boolean showBinding = false; public boolean showFeather = false; private ImageButton headButton; private ImageButton shaftButton; private ImageButton bindingButton; private ImageButton featherButton; private Inventory pInv; public ArrowWorkstationBaseScreen(ArrowWorkstationBaseMenu pMenu, Inventory pPlayerInventory, Component pTitle) { super(pMenu, pPlayerInventory, pTitle); this.pInv = pPlayerInventory; } @Override protected void renderBg(PoseStack pPoseStack, float pPartialTick, int pMouseX, int pMouseY) { RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); RenderSystem.setShaderTexture(0, TEXTURE); int x = (width - imageWidth) / 2; int y = (height - imageHeight) / 2; this.blit(pPoseStack, x, y, 0, 0, imageWidth, imageHeight); if (menu.isCrafting()) { blit(pPoseStack, x + 102, y + 41, 176, 0, 8, menu.getScaledProgress()); } } @Override protected void init() { super.init(); this.headButton = addRenderableWidget( new ImageButton(ArrowWorkstationBaseMenu.TE_HEAD_SLOT_X, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT, 0, 0, 0, HEAD_BUTTON_TEX, btn -> { showHeads = true; showBinding = false; showShaft = false; showFeather = false; showInv = false; })); if(showHeads) { int x = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_X + ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH; int y = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y; int width = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH; int height = ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT; for (ItemStack a: getAllOfType(ACCEPTABLE_HEAD_TAGS, pInv)) { renderImageButton(x, y, width, height, 0,0,0, HEAD_BUTTON_TEX, a, 0); x += width; } } this.shaftButton = addRenderableWidget( new ImageButton(ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_X, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_Y, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_WIDTH, ArrowWorkstationBaseMenu.TE_HEAD_SLOT_HEIGHT, 0,0,0, SHAFT_BUTTON_TEX, btn -> { showShaft = true; showHeads = false; showBinding = false; showFeather = false; showInv = false; })); if(showShaft) { int x = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_X + ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_WIDTH; int y = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_Y; int width = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_WIDTH; int height = ArrowWorkstationBaseMenu.TE_SHAFT_SLOT_HEIGHT; for (ItemStack a: getAllOfType(ACCEPTABLE_SHAFT_TAGS, pInv)) { renderImageButton(x, y, width, height, 0,0,0, SHAFT_BUTTON_TEX, a, 1); x += width; } } } @Override public void render(PoseStack pPoseStack, int mouseX, int mouseY, float delta) { renderBackground(pPoseStack); super.render(pPoseStack, mouseX, mouseY, delta); renderTooltip(pPoseStack, mouseX, mouseY); } protected ImageButton renderImageButton(int x, int y, int width, int height, int startX, int startY, int textStartY, ResourceLocation resLoc, ItemStack itemSelection, int ind) { return addRenderableWidget(new ImageButton(x, y, width, height, startX, startY, textStartY, resLoc, btn -> { menu.blockEntity.itemHandler.setStackInSlot(ind, itemSelection); })); } protected NonNullList<ItemStack> getAllOfType(TagKey<Item> tagKey, Inventory pInv) { NonNullList<ItemStack> items = null; for (ItemStack a: pInv.items) { if(a.is(tagKey)) { items.add(a); } } return items; } }
  13. I am trying to get a list of all items in the players inventory with a specific tag. My thought process is that I need to loop through the Inventory using for(ItemStack a : pInv.items), and then maybe checking tags using a.getTag().equals(tag), but that seems like it might not work, and I don't want to corrupt my instance or something. Can someone tell me if I am on the right track, and if not what I'm doing wrong?
  14. Ok, I did some more research, and this is what I have so far: ItemRenderer rend = Minecraft.getInstance().getItemRenderer(); rend.renderStatic(head, ItemTransforms.TransformType.GROUND, //Unknown int 1, //Unknown int 2, //Unknown variable PoseStack, //Unknown variable MultiBufferSource, //Unknown int 3) Can you explain what the last few parameters are and how I can give the method them?
  15. So I have tried implementing this, and have immediately run into a problem. I am guessing that I need to create a new ItemRenderer, so I tried that: ItemRenderer headRend = new ItemRenderer(); However, the constructor takes a lot of parameters that I don't know how to implement. Could you explain how I am supposed to make a ItemRenderer to use the renderStatic method, as it is not static.
  16. I am making a workstation that when specific slots are filled, they show up with the model of the ItemStack at the Y level of an int in the workstation block, and at a x and y of a Location (specifically this Location constructor : Location(World world, double x, double y, double z, float yaw, float pitch)) stored as a var for each item type, and at a offset of the same Location type stored as a var in the ItemStack's derived class. In the workstation's class there is a second Location of the same type which is the connected offset. I have all the variables set up, and a function: //Displays Items, returns true if it worked, returns false if it didnt work. private boolean DisplayItems(ItemStack head, ItemStack shaft, ItemStack binding, ItemStack feathers, int connect, int maxConnect) { } The int connect tells the function what step in lerping between connected and unconnected, and the int maxConnect tells the function the max step for the lerping. My main problems is that I don't know how to render the ItemStack's models, how to arrange them by accessing the ItemStack's derived class's offset, how to lerp their positions when connect is greater than zero, and whether or not this is even the right way of doing this. Thanks ahead of time for your help!
  17. I am trying to make a custom workstation. I understand that an object like this needs a BlockEntity, but I only know how to make a simple inventory, not something as complex as this: On the left, I would like to have a few inventory boxes, that when you click on them, a scrollable 1 slot in height and x slots in width window pops out the side. It shows all items that can go in that particular inventory box that are currently in your inventory or in another block's inventory within a float called "MAX_REACH". Then, when all those slots are filled with an item that works, you click a button in the middle x amount of times (x being how many slots are filled, as there will be some optional slots). Once you click on the button enough times, a slot appears with the crafted item, and you can either click on it and select a slot in your inventory to put it in, or hover over it and press "q" to put it into a nearby inventory or if they are all full or there is none nearby, drop on the ground. I dont know if this is possible, and if it is possible, how to get started. I dont need lots of code, but at least some tutorials, docs, or minecraft's or other mod's classes that I can look into for each part to understand how to get started. Thanks ahead of time!
  18. I was able to find a great solution after searching Blockbench addons. For anyone looking at this in the future, look into GeckoLib!
  19. I am trying to make a custom item model that can be viewed in 1st and 3rd person, in inventory, on ground and other places. I was searching both Google and YouTube, but found nothing that works. I also want it to have custom animations, not any of the built in ones. I would like to use Blockbench to make both the models and animations, as I know how to do that.
  20. I know the basics of object oriented langauges like C#, I am not completely familiar with Java, I dont know everything. I know how to override, using the "@Override" keyword. However, you said that this method is in a class called Projectile, which is not Arrow, how do I access Projectile from Arrow?
  21. So if i'm extending from Arrow, how do I override that function?
×
×
  • Create New...

Important Information

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