Everything posted by warjort
-
Kicked from server, can't log back in. Happens after randoms actions e.g. eating zombflesh
Looks like a known issue? https://github.com/stepsword/potionidpacketfixer/issues/1
-
Kicked from server, can't log back in. Happens after randoms actions e.g. eating zombflesh
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
-
Kicked from server, can't log back in. Happens after randoms actions e.g. eating zombflesh
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
-
Kicked from server, can't log back in. Happens after randoms actions e.g. eating zombflesh
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.
-
Ores Not rendered
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
-
[1.19] Hide the HealthBar display
https://forums.minecraftforge.net/topic/117131-health-bar-removing/#comment-516182
-
Error loading class: java/util/Map$Entry (java.lang.IllegalArgumentException: Unsupported class file major version 63)
remove the entity culling and legendary tooltips mods from the server, they are broken client side only mods.
-
My server keeps crashing
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
-
java.lang.IllegalStateException: Pose stack not empty [1.19.2]
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().
-
How to set texture for dynamically registered blocks from already existing blocks [1.18.2]
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.
-
How to set texture for dynamically registered blocks from already existing blocks [1.18.2]
Start new threads for new questions and don't mix topics. This thread is already way too long.
-
When entering a specific zone, the entire server is lagged
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.
-
Help witn byg (The Biomes you'll Go)
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.
-
Optifine Crashing World Startup
Download the correct version of optifine for the version of forge you are using.
-
[1.19.x] Any documentation or references at all for custom container screens? (AbstractContainerScreen class)
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.
-
1.19.2 Custom Grass doesn't allow flowers or plants to be placed on top?
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.
-
[1.19/1.18.2] Fire Block Burns Forever
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.
-
Minecraft crashed opening a chest from a shipwreck, now i can't load the world
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).
-
The handshake failed due to an unexpected packet format???
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
-
[1.19/1.18.2] Fire Block Burns Forever
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
-
[1.19.2] Teleporting player to custom dimension freezes the game on "Loading terrain..." but the /tp command still works
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.
-
Site out of order (HTTP Code: 403)
https://support.curseforge.com/en/support/home
-
Minecraft Modded Crashing [1.18.2]
Use the correct version of optifine for the version of forge you are using.
-
[1.19.2] Teleporting player to custom dimension freezes the game on "Loading terrain..." but the /tp command still works
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()
-
Villager POI breaks, literally
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.
IPS spam blocked by CleanTalk.