Skip to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

warjort

Members
  • Joined

  • Last visited

Everything posted by warjort

  1. I am no expert on trees, but I know the basics of how this works. You don't show your PlacedFeature? PlacedFeatures have a list of PlacementModifiers. The vanilla trees use PlacementUtils.filteredBlockBySurvival() where the Block parameter is the sapling. This will call your sapling block's canSurvive(), see BushBlock.canSurvive() for the default implementation. Also, it is recommended to use DeferredRegister rather than the vanilla registration methods. https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature/#comment-512366
  2. Here's some similar bug reports on github, maybe one is relevant to you? https://github.com/search?q=Cannot+invoke+"net.minecraft.resources.ResourceLocation.toString()"+because+"p_130086_"+is+null&type=issues
  3. The most likely ones will be the mods you have with fewest downloads. If this problem existed in any popular mods it would have been reported and fixed already. ๐Ÿ™‚
  4. So we found the error message, but unfortunately it is one of those that doesn't identify the mod. All it says is that it can't send the recipes to the client because there is that null ResourceLocation [23Aug2022 21:52:30.530] [Netty Server IO #1/DEBUG] [net.minecraft.network.Connection/]: Failed to sent packet io.netty.handler.codec.EncoderException: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:104) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:764) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:790) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:758) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:808) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306) ~[netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at net.minecraft.network.Connection.m_243087_(Connection.java:209) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at net.minecraft.network.Connection.lambda$sendPacket$8(Connection.java:198) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) [netty-transport-4.1.77.Final.jar%2384!/:4.1.77.Final] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:995) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.77.Final.jar%2381!/:4.1.77.Final] at java.lang.Thread.run(Thread.java:833) [?:?] Caused by: java.lang.NullPointerException: Cannot invoke "net.minecraft.resources.ResourceLocation.toString()" because "p_130086_" is null at net.minecraft.network.FriendlyByteBuf.m_130085_(FriendlyByteBuf.java:610) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_179469_(ClientboundUpdateRecipesPacket.java:50) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at net.minecraft.network.FriendlyByteBuf.m_236828_(FriendlyByteBuf.java:162) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at net.minecraft.network.protocol.game.ClientboundUpdateRecipesPacket.m_5779_(ClientboundUpdateRecipesPacket.java:27) ~[server-1.19.2-20220805.130853-srg.jar%23348!/:?] at net.minecraftforge.network.filters.VanillaPacketSplitter.appendPackets(VanillaPacketSplitter.java:68) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?] at net.minecraftforge.network.filters.ForgeConnectionNetworkFilter.splitPacket(ForgeConnectionNetworkFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?] at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:60) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?] at net.minecraftforge.network.filters.VanillaPacketFilter.encode(VanillaPacketFilter.java:23) ~[forge-1.19.2-43.1.2-universal.jar%23353!/:?] at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:89) ~[netty-codec-4.1.77.Final.jar%2380!/:4.1.77.Final] ... 16 more The only way to find the problem mod will be remove mods until the problem stops happening.
  5. Yes it looks to be related to the new chat system: https://feedback.minecraft.net/hc/en-us/articles/7525860212749-Minecraft-Java-Edition-1-19-1-Pre-Release-4
  6. I don't know what that "[Not Secure]" is. Maybe it is related to new chat system in 1.19.2? Did you type "test" in the system console or something?
  7. That file does show any error from what I can see. You can turn it back to "info" now. ๐Ÿ™‚ Can you try doing what I said above
  8. That is an error on the server for a different mod. If the client log does not contain the error, the next step is to look at the server's debug.log with the -Dforge.logging.mojang.level=debug in your user_jvm_args.txt
  9. Can you try changing this line <Root level="info"> to <Root level="debug">
  10. It looks like their log4j configuration is here? -Dlog4j.configurationFile=C:\Users\david\AppData\Roaming\gdlauncher_next\datastore\assets\objects\bd\client-1.12.xml
  11. You need to ask gdlauncher how to get the forge debug.log Or how to change their log file you posted before to show debug information.
  12. That is not the logs/debug.log Your actual error message looks like something on the client is to trying to write null data into a network packet, but doesn't give anymore information than that. This leads to you getting disconnected. This is probably one of those places where Mojang doesn't put the error message in the log file properly. If you add the following to the jvm arguments of your client it might display this error, but then only if you have the proper debug.log -Dforge.logging.mojang.level=debug
  13. [23ago.2022 11:42:27.250] [Render thread/ERROR] [net.minecraftforge.fml.javafmlmod.FMLModContainer/]: Exception caught during firing event: net/minecraftforge/client/IItemRenderProperties Index: 1 Listeners: 0: NORMAL 1: ASM: class com.legacy.mining_helmet.MiningHelmetRegistry onRegister(Lnet/minecraftforge/registries/RegisterEvent;)V java.lang.NoClassDefFoundError: net/minecraftforge/client/IItemRenderProperties This is an error in the mining helmet mod you have. I don't even see the version you have on curseforge? https://www.curseforge.com/minecraft/mc-mods/miners-helmet/files/all?filter-game-version=1738749986%3a73407
  14. You need to post a link to your logs/debug.log so we can see what the real error is.
  15. The latest version of creative core says it supports 1.19, 1.19.1 and 1.19.2 It is also a library mod so the problem could be one of the mods that uses it. https://www.curseforge.com/minecraft/mc-mods/creativecore/relations/dependents?filter-related-dependents=3 If you can't get it to work, contact the mod author(s)
  16. This is the latest version for 1.19: https://www.curseforge.com/minecraft/mc-mods/jei/files/3903068 jei-1.19-forge-11.1.1.239.jar you have jei-1.19-forge-11.0.0.206.jar
  17. warjort replied to giro's topic in Support & Bug Reports
    You have a "mods" folder correct? You will also have "logs" folder. In there is the debug.log If it is not there, you need to ask aternos.
  18. Can you confirm "Acceso denegado" means "access denied"? Like I said above, it can be other files/permissions, e.g. the folder might have the wrong permissions, so you can't add files to the folder. If you really do have permission. It should let you create other files in that folder, edit the file or even delete it (make a backup first).
  19. Yes, If you click where it says "all" twice it will change to "sources". From this you will see it is a problem with ambientadditions: ambientadditions (216404ms) Server thread90.74% coda.ambientadditions.common.entities.HarlequinShrimpEntity.travel()90.58% coda.ambientadditions.common.entities.HarlequinShrimpEntity.baseTick()0.08% coda.ambientadditions.common.entities.ShameFacedCrabEntity.baseTick()0.08% coda.ambientadditions.common.entities.HarlequinShrimpEntity.requiresCustomPersistence()0.01% coda.ambientadditions.common.entities.ShameFacedCrabEntity.requiresCustomPersistence()0.00% In particular its HarlequinShrimpEntity Make sure you have the latest version of this mod then contact the mod author.
  20. java.io.FileNotFoundException: C:\Users\Rubรฉn\AppData\Roaming\.minecraft\libraries\de\oceanlabs\mcp\mcp_config\1.18.2-20220404.173914\mcp_config-1.18.2-20220404.173914-mappings.txt (Acceso denegado) The error says you don't the operating system permissions to open/modify that file. This usually happens because you ran minecraft/forge with administrator privileges as some point and the file is now owned by the administrator account. You need to give your user the permission to this file and probably others in the .minecraft folder? see for example: https://answers.microsoft.com/en-us/windows/forum/all/how-to-change-folder-and-file-permissions-in/783e7040-d18f-4c04-a0f3-830b4841bb68
  21. As I said above, use that spark mod to diagnose what the real problem is. Then we won't be guessing. You can also use TaskManager to see if you get a lot memory paging when the lag occurs.
  22. That sounds excessive. How much ram do you actually have? If you allocate more memory than is physically available, the operating system will have to swap memory to and from disk. This will degrade your performance. It can also lead to long garbage collections when java needs to do a full garbage collection. This could behave exactly like you describe.
  23. The "waiting for server" means the server thread has too much work to do. You probably have some warnings about server ticks taking too long in your log? This has nothing to do with graphics. You can use the spark mod to get information about what the server thread is doing: https://www.curseforge.com/minecraft/mc-mods/spark look at its wiki for how to use it.
  24. Honestly, even though that method has 3 lines of code, I think all 3 of them are probably wrong? ๐Ÿ™‚ * onItemUseFirst() is for intercepting what would normally call Block.use() method and redirecting it to your processing for this item. e.g. suppose you had a paint item that changed the color of colorable blocks instead of activating their gui * You are modify the item stack on the client so this change will never be saved. * Calling super will return PASS which means it will call the Block.use() and also means it will never call your method on server. I would guess you want your code to look more like EggItem.use() - one of the easier Item.use() methods to understand. Note the use of Level.isClientSide and sidedSuccess() e.g. You would have something like (untested pseudo code): public InteractionResultHolder<ItemStack> use(Level p_41128_, Player p_41129_, InteractionHand p_41130_) { ItemStack itemstack = p_41129_.getItemInHand(p_41130_); if (!p_41128_.isClientSide) { // We are on the server here MinecraftServer server = p_41228_.getServer(); PlayerList players = server.getPlayerList(); // Insert the rest of your logic here } p_41129_.awardStat(Stats.ITEM_USED.get(this)); if (!p_41129_.getAbilities().instabuild) { itemstack.shrink(1); } return InteractionResultHolder.sidedSuccess(itemstack, p_41128_.isClientSide()); }
  25. That method is an instance method which means you need a reference to a MinecraftServer instance/object to use it. e.g. ServerLevel has a getServer() - that is also not a static method ๐Ÿ™‚ If you are looking to do some periodic processing, there is a TickEvent.ServerTickEvent that has a getServer()

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.