Everything posted by warjort
-
[1.19.2] Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(12) + ...
I don't see anything identify a problem mod in that log, but I do see this before the error you are getting Maybe the server debug.log has some information? That log does at least show which mods have custom network code Which should help in cutting down the search?
-
item error
Same error as before, but this time with a folder name in your assets directory?
-
[1.19.2] How to render item
ItemRenderer e.g. see how the CampfireRenderer uses it.
-
mod failed to load correctly
Forge can't create your mod. Probably because there is no public no args constructor?
-
[1.18.2] How to get painting entity at block position
A painting is an entity. You need to use one of the level.getEntities() methods with the bounding box (AABB) saying where you are looking.
-
Payload may not be larger than 1048576 bytes
There is no error in the server log. The client seems to stop responding when processing the registries. Add the same system property to your client launcher so we can see what is happening there. Also if you just going to remove all the mods. You should try a fresh reinstall of the server with a new world save. That will rule out something corrupted in your save files causing this.
-
RunClient not working
Look at the ResourceLocation class for valid namespaces (modids)
-
[19.3] How do I do logical server side setup?
We are talking about very different things. There are the mod event bus events that run at game startup to do one time initialisation. Then there are the runtime events for when the actual server/runtime is starting (ServerLifecycleEvents + others). Which do things that need to change things based on which save is loaded.
-
[19.3] Example code.
See the javadoc for CapabilityProvider.reviveCaps() i.e. getting access to the original capabilities for removed objects. Don't forget to invalidateCaps() afterwards.
-
How to OP a player using ops.json?
When you create the world/save. Or you can temporarily enable cheat mode if you "open to lan".
-
How to OP a player using ops.json?
In singleplayer you enable cheat mode to get op privileges.
-
[19.3] Example code.
Technically a provider is a superset of that because not all providers will/have to fire the attach event.
-
[19.3] Example code.
An entity is a provider. A provider is anything that can have capabilities attached to it. What it is talking about is a provider that has internal capabilites not registered in the CapabilityDispatcher - e.g. it overrides getCapability() instead. See for example the internal inventory capabilities in LivingEntity (equipment slots) or BaseContainerBlockEntity (vanilla containers). It has to override invalidateCaps() to invalidate these additional capabilities. When you attach your capability to a say an entity, you can add that listener which will tell you when the entity has been removed from the world so you can do any additional tidyup e.g. if your capability uses other internal capabilites that need to be invalidated.
-
[1.19.2] Internal Exception: io.netty.handler.codec.DecoderException: java.lang.IndexOutOfBoundsException: readerIndex(12) + ...
That is an error in the networking code of one of your mods. Post a link to your logs/debug.log to see if it has any clue to which mod is causing it. Using the wrong (1.19) version of journey map with 1.19.2 is an FAQ in this forum. But usually the only way to find the problem mod is to experiment with removing mods until the problem goes away. (Backup your world before removing mods).
-
Crash Help
Issue with the same mod - actually its library mod (puzzleslib). Check you have the latest version then contact the mod author.
-
[1.19.2] [SOLVED] Cannot get passengers of an entity when there are multiple instances of the entity in the world.
You don't create a loop. Minecraft is "event driven". You set some state inside your entity then override Entity.tick() or one of its called methods to do the check. You should look at how LivingEntity handles Levitation in travel() - called by tick(). Levitation is a MobEffect rather than a simple flag inside the entity.
-
minetogether connect won't work
Post a link to the logs/debug.log so we can see the error.
-
Crash Help
Issue with the armorstatues mod. This claims it is was fixed in 4.0.1: https://github.com/Fuzss/armorstatues/issues/1 You have 4.0.0 while the latest is 4.0.2 https://www.curseforge.com/minecraft/mc-mods/armor-statues/files
-
[1.19.2] reequip animation | pickaxe not pickaxe | ghos of a block | its is doing this on propourse dont it
Try the latest preview release of optifine. That version is old. For the rest, I will repeat, for the last time. Small pieces of code are NOT enough. And youtube videos are useless. I can't read the code or debug a video. e.g. What does this do? MTiers.STEEL_SMALL Inside that is the mining level which determines what can be mined, or more accurately what will drop items when mined. And since it is a custom tier it needs to be registered properly. But that is just a guess. I have no desire to spend 20 posts playing a guessing game to try to get enough information from you to locate the real problem. Either show all the code, or learn how to attach a debugger to a minecraft production instance and debug obfuscated code. 🙂
-
Exit Code -1073740940
The first 20 lines is for the hs_err_pid file. 🙂 The hs_err_pid file doesn't obfuscate the command line which contains your login tokens. So I don't want you to post the whole of that file. For the launcher_log.txt we need to see the whole thing. The error will be towards bottom, but not the very bottom. And post it to a file upload site instead of dumping large files in the forums.
-
[1.19.2] [SOLVED] Cannot get passengers of an entity when there are multiple instances of the entity in the world.
Entity.tick() is run on both the client and server. You can't access client side state from the server. Only in singleplayer mode will they be in the same memory space. https://forge.gemwire.uk/wiki/Sides#Reaching_Across_Logical_Sides You also can't store entity state in a static field. It must be in an instance (per entity) field. Otherwise multiple entities will write over the same shared data. It's also considered bad practice to use Exceptions for non-exceptional program flow. There are hasControllingPassenger() or getControllingPassenger() available for your use case. Or you could check getPassengers().isEmpty() if it is not a controlling passenger.
-
[1.19.2] reequip animation | pickaxe not pickaxe | ghos of a block | its is doing this on propourse dont it
This code says to always play the animation if the new item is your item?
-
[1.19.2] reequip animation | pickaxe not pickaxe | ghos of a block | its is doing this on propourse dont it
Sorry, but you've been told many times that snippets are not enough to debug anything but the most trivial problems. We shouldn't have to keep repeating ourselves.
-
Codigo de error: 1 (Minecraft 1.19.2 con forge 43.1.52
Issue with your graphics driver. See: https://forums.minecraftforge.net/topic/119038-1192-failed-to-run-example-mod-on-fresh-setup/#comment-522788 Or contact AMD.
-
1.18.2 forge server doesn't function in the slightest. Are my mods incompatible or am i doing something wrong?
Use java 17, mixin does not support java 19