Everything posted by warjort
-
Getting the "LivingEntity"
Override onAddedToWorld() in your Entity class it's a method added by forge from the IForgeEntity interface. Pay attention to what the javadoc says about calling super.
-
[1.18.2] NBT errors on world close
Look in the code for AbstractArrow.addAdditionalSaveData() There's only 1 place where it does Registry.getKey() and that's for the soundEvent. So it basically says your SoundEvent isn't registered. The reason for this is probably because you override getDefaultHitGroundSoundEvent() to return null. That method is used in instance initialisation.
-
[1.18.2] Spawn any lightning and create a custom one
Don't paraphrase errors. Show the full error message preferably by posting a link to the run/logs/debug.log
-
Forge keeps crashing
You have 1.18 mods in your mods folder when trying to run minecraft 1.19.2 I can see caelus, origins and voicechat by looking at the file names.
-
1.19 Forge Server, Crashes on any player Join.
Issue with the luckperms mod. Check you have the latest version then contact the mod author.
-
[1.19] Can you define an Enum or List for a command argument?
There is an EnumArgument subclass of ArgumentType provided by forge. Never used it myself.
-
Colliding entity with block.
It's groundhog day 🙂 https://forums.minecraftforge.net/topic/117788-my-game-crashes-every-time-i-try-to-play-my-modded-world/#comment-518564 Same error you reported yesterday.
-
My game crashes every time I try to play my modded world.
.
-
[1.18.2] Spawn any lightning and create a custom one
You are not setting the position for the lightning bolt entity. It is probably spawning at 0,0,0 Look at ServerLevel.tickChunk() for how vanilla does it. I assume you are spawning it on the server? See https://forge.gemwire.uk/wiki/Making_Entities for how to define the attributes for your entity and other things. The parameter passed to build() is used by DFU (datafixerupper) So it's pretty much irrelevant unless Mojang somehow know about your Entity and want to apply a fix to its persistent data. 🙂
-
Invalid player data when trying to join my own Minecraft server
Issue with FTB Essentials or ftblibrary. Check you have the latest versions of these mods then the contact the mod author(s).
-
[1.18.2] Tile entity Problem
Looks like a conflict between quark and xnet. It says it is ignoring the problem, but you should check with the mod authors to see if this is your issue.
-
[1.18.2] Tile entity Problem
Did you check the debug.log on both the client and server? I don't know how you expect me to help if I can't see the logs to look for potential problems. If you are confident it's not the mods whose blocks you are having problems with, I don't know. Maybe you've installed a mod that has like 100 downloads and was never properly tested outside of singleplayer? The mods with alpha or beta in the name would be my first candidates. I don't see an obvious problem in the mod list, like using a mod that's meant for minecraft 1.19. The debug log lists the found mods at the start. You could have killed 2 birds with 1 stone. 🙂
-
[main/ERROR]: Failed to build unique mod list after mod discovery.
You can't have both jade and wthit, they are different forks of Waila.
-
Can't load to server
One of your mods has broken networking code. There is no information in that error to say which one. Post the debug.log. Or experiment with removing mods until you find the problem mod. (Backup your world before removing mods).
-
[1.18.2] Exception caught during firing event: Registry Object not present: truevillagers:farmer
I am "not sure" either, since you don't post the log. You haven't actually shown it is calling that register method. Only that there is a static method that does, which may or may not be called. Debuggers or logging are your friend.
-
1.19 My block entity has a problems with hoppers!
https://forge.gemwire.uk/wiki/Capabilities#IItemHandler (for NOT using WorldlyContainer) https://forge.gemwire.uk/wiki/Capabilities/Attaching#Persisting_LevelChunk_and_BlockEntity_capabilities (for marking a block entity changed when its inventory actually changes) https://forge.gemwire.uk/wiki/Block_Entities (block entities in general)
-
[1.18.2] Exception caught during firing event: Registry Object not present: truevillagers:farmer
The error says your entity is not registered. But you don't show the code that does that. Most likely because you haven't called register(IEventBus) for your EntityType's DeferredRegister https://forge.gemwire.uk/wiki/Registration/1.18 but there could be error in your run/logs/debug.log. You should also register your renderer by subscribing to EntityRenderersEvent.RegisterRenderers on the mod event bus with value = Dist.CLIENT
-
Problems with Dependencies
Just use the latest release of forge for 1.18.2 This kind of thing usually happens because mods want recent versions of forge for bug fixes and new features. e.g. create requires at least forge 40.1.60 while you have 40.1.0 https://github.com/Creators-of-Create/Create/blob/0c5ccf38ee15f446f385290f2238f2ae975681cd/gradle.properties#L11
-
[1.18.2] Tile entity Problem
If you want help you need to show the debug.log maybe there is an error that explains why there is a problem? The modlist you show doesn't even contain version numbers. But you should really contact the mod author. There is nothing we can do to fix mods, only point you at which mod is causing problems. You seem to already know that?
-
Forge Gradle
Show the error you are getting. If you add --stacktrace or --debug when building on the command line it will show the full error.
-
Gradle fails to download net.minecraftforge and net.minecraft artefacts for MC1.18.2
How can this be a bug in forge gradle if your standalone program is also giving you the same error? This is the code that forge gradle uses. It's just a URL.openStream() https://github.com/MinecraftForge/ForgeGradle/blob/1fce46ef54e42adb69176edb0e8c3401a707b39c/src/common/java/net/minecraftforge/gradle/common/tasks/DownloadMCMeta.java#L53 All the details are handled by java or beneath that your OS. I can only suggest you check your OS is up-to-date. And try a different more recent java, e.g. https://adoptium.net/ You can also ask on fedora's support forum to see if there are known issues in this area. Something like changing a dns cache setting may fix it?
-
errors with 1.19.2 mods and forge
Issue(s) with the krypton mod, check you have the latest version then contact the mod author.
-
IWorldReader not found
IWorldReader is 1.16 and before. I guess you are following an out-of-date tutorial? There will probably be more than just class names that need changing. But if you really want to continue with it, use the discord bot mentioned in the link I provided to get the modern names of classes.
-
org.spongepowered.asm.mixin.transformer error
Use the 1.19.2 version of journeymap https://www.curseforge.com/minecraft/mc-mods/journeymap/files/all?filter-game-version=1738749986%3A73407
-
IWorldReader not found
https://gist.github.com/50ap5ud5/beebcf056cbdd3c922cc8993689428f4#full-migration-to-mojang-mappings
IPS spam blocked by CleanTalk.