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. Looks like a known issue? https://github.com/stepsword/potionidpacketfixer/issues/1
  2. The stacktrace is Caused by: java.lang.IndexOutOfBoundsException: readerIndex(7) + length(4) exceeds writerIndex(7): PooledUnsafeDirectByteBuf(ridx: 7, widx: 7, cap: 7) at io.netty.buffer.AbstractByteBuf.checkReadableBytes0(AbstractByteBuf.java:1442) ~[netty-all-4.1.68.Final.jar%2327!/:4.1.68.Final] at io.netty.buffer.AbstractByteBuf.readInt(AbstractByteBuf.java:809) ~[netty-all-4.1.68.Final.jar%2327!/:4.1.68.Final] at net.minecraft.network.FriendlyByteBuf.readInt(FriendlyByteBuf.java:949) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket.handler$zpa000$readTail(ClientboundUpdateMobEffectPacket.java:533) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at net.minecraft.network.protocol.game.ClientboundUpdateMobEffectPacket.<init>(ClientboundUpdateMobEffectPacket.java:51) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at net.minecraft.network.ConnectionProtocol$PacketSet.m_178327_(ConnectionProtocol.java:419) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at net.minecraft.network.ConnectionProtocol.m_178321_(ConnectionProtocol.java:471) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at net.minecraft.network.PacketDecoder.decode(PacketDecoder.java:32) ~[client-1.18.2-20220404.173914-srg.jar%23218!/:?] at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:507) ~[netty-all-4.1.68.Final.jar%2327!/:4.1.68.Final] at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:446) ~[netty-all-4.1.68.Final.jar%2327!/:4.1.68.Final] Which shows it is a problem with MobEffects. There is a mixin in that stacktrace modifying the packet handling which appears to be from the potionidpacketfixer mod
  3. It is both since we don't know from that error message which side the error occurs. For the client it depends which launcher you are using. For the vanilla launcher: Launcher -> Installations -> Edit the Forge Profile you are using -> More Options -> Add the Argument to the JVM Arguments For curseforge there is an "Additional Arguments" in the minecraft settings. For the server you put it in the user_jvm_args.txt
  4. One of your mods has broken network code. There is nothing in the log or the error message you show that suggests which one. Check you have the latest versions of your mods. You can try adding the following system property to your java/jvm parameters to see if it gives more information in a full stacktrace for that DecoderException -Dforge.logging.mojang.level=debug Otherwise you will have to experiment with removing mods or search your mod's issues pages for known issues.
  5. warjort replied to Jostend's topic in Mods
    https://forge.gemwire.uk/wiki/Biome_Modifiers or https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/#comment-512366
  6. https://forums.minecraftforge.net/topic/117131-health-bar-removing/#comment-516182
  7. remove the entity culling and legendary tooltips mods from the server, they are broken client side only mods.
  8. Issue with placebo trying to modify the anvil block. But you are using minecraft 1.19.2 and placebo doesn't have a 1.19 release: https://www.curseforge.com/minecraft/mc-mods/placebo/files
  9. Not my area of expertise, but the error means you are pushing matrices onto the PoseStack and then not pop()ing them. I can see your applyTransform() looks like you copied it from 1.18.2's IForgeBakedModel/ForgeHooksClient.handlePerspective() But if you look at the 1.19.2 version of this code, IForgeBakedModel.applyTransform() that you override, it calls ItemTransform.apply() that applies the transform without a push().
  10. Yes I noticed that and changed my response. It's still impossible to keep track of and answer a thread that is a random collection of unrelated questions. Being in the same mod does not make them the same topic.
  11. Start new threads for new questions and don't mix topics. This thread is already way too long.
  12. It looks like you get this error when the game tries to load an entity from disk but the game can't find the EntityType. In this case the id for the EntityType in the saved data isn't even present. It should be giving an error message like: Skipping Entity with id modid:entity So we don't even know which mod is causing the problem. I can think of 2 ways to find the problem mod. 1) Use something like NBTExplorer to look at the chunk data for that area and see if you can identify the entities are not getting saved properly and if they have any clue to which mod they belong to. 2) Experiment with removing mods until you find the problem one. Backup the world first. But You should be able to do this experiment in a single player copy of your world.
  13. Please don't post text as images and post the full debug.log But, your error screen above tells you which byg config files are broken. e.g. config/byg/trades.json5 If you can't figure out how to fix it, contact the mod author.
  14. Download the correct version of optifine for the version of forge you are using.
  15. This is not a teaching forum. It is a support forum. Use the minecraft source code to find examples close to what you want to do. When you have specific problems/questions you can come back to this forum. But we are not going to write your mod for you.
  16. We don't have any psychic powers. If you don't show the details of what you have actually done we can't help you.
  17. This is how I got your requirements to work: @Mod.EventBusSubscriber(modid = ExampleMod.MODID) public class Events { @SubscribeEvent public static void startFires(LeftClickBlock event) { var itemStack = event.getItemStack(); if (itemStack.is(ExampleMod.MY_SWORD.get())) { var minecraft = Minecraft.getInstance(); BlockHitResult blockhitresult = (BlockHitResult) minecraft.hitResult; minecraft.gameMode.useItemOn(minecraft.player, minecraft.level, event.getHand(), blockhitresult); event.setCanceled(true); } } } Then I just copied the flint and steel useOn() code into my sword item. I still think this is kind of an abuse of that event though.
  18. Looks like an issue with oculus's batched entity rendering. Probably conflicting with another mod (e.g. flywheel is also mentioned above)? Check you have the latest versions then contact the mod author(s).
  19. Your question contains no useful information, not even the name of the mod pack. But this support forum is for forge. Curseforge help can be found here: https://support.curseforge.com/en/support/home
  20. You are using that event in the wrong way and you are only doing things on the client side which means nothing gets persisted or seen by other players. You should be coding this in your useOn() method for your item like the flint and steel and pay attention to the use of sidedSuccess() https://forge.gemwire.uk/wiki/Sides https://forge.gemwire.uk/wiki/Block_Interaction
  21. I don't know then, it's not my area of expertise. Most likely it has something to do with changeDimension() being for vanilla dimensions that have "portals" or for dimensions that are already loaded? Look at TeleportCommand.performTeleport() which uses different code.
  22. https://support.curseforge.com/en/support/home
  23. Use the correct version of optifine for the version of forge you are using.
  24. I don't think you should be using arbitrary code in an event that is obviously a policy decision callback. i.e. It's not meant to have side-effects Look at the code that follows that event in ServerPlayer.startSleepingInBed() and see what code you will break by moving the player to a different dimension. e.g. updating the sleeping players in the wrong dimension A safer place to do that teleport code is in your own PlayerTickEvent handler. handleNetherPortal() which also calls Entity.changeDimension() is called from Entity.baseTick()
  25. You can't re-register the Blocks.BEE_NEST or Blocks_BEEHIVE they are already registered in vanilla's PoiTypes class. And you don't need that reflection call - it was for 1.18.2 where it didn't do anything there either, just remove it.

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.