Everything posted by warjort
-
Forge installer not opening acting like just a file not a program
https://johann.loefflmann.net/en/software/jarfix/index.html
-
com.electronwill.nightconfig.core.io.WritingException happens when i open all the mods 7 for 1.18.2
I don't know then. The error says a different process has it open. When you say "i tried restarting", that means you restarted windows? You checked the error is still the same and not a different one? You should post your logs/debug.log Maybe you can use something like this to find the process that has the file open? https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
-
[1.19.2] Please help me add an effect to the player
This is the correct signature for an event. public static void setHeadacheWhenPlayerMountingOnBoat(EntityMountEvent event) { Not just players can mount boats. Many people use them for transporting animals or villagers. You need to check the entity mounting the boat is a player. You also need to check it is actually a boat being mounted. Entity passenger = event.getEntityMounting(); Entity vehicle = event.getEntityBeingMounted(); if (event.isMounting() && vehicle instanceof Boat && passenger instanceof Player player) { player.addEffect(new MobEffectInstance(KCEffect.HEADACHE.get(), 400)); } Why did you not share this error? Do you think we have psychic powers? ๐
-
How to turn off the animation when the item is damaged?
That has nothing to do with the item durability. It's the player's arm swinging when you use an item. ๐ I think you can change this by subscribing to InputEvent.InteractionKeyMappingTriggered Then use something like (untested pseudo code) ItemStack itemStack = Minecraft.getInstance().player.getItemInHand(event.getHand()); if (itemStack.is(YOUR_ITEM.get())) { event.setSwingHand(false); }
-
Crash when open inventory what mod do it please help!
You have just enough effects installed, but this is an addon for JEI (Just Enough Items) which you don't have.
-
Minecraft Forge 1.18.2 crashing
https://github.com/sp614x/optifine/issues/6974
-
[1.19.2] On explode spawn blocks?
That mod does it from a mixin, but it looks entirely unnecessary. They obviously don't understand how subclasses work. ๐ All you need to do is override the explode() method of PrimedTnt and do your custom explode processing.
-
[1.19.2] On explode spawn blocks?
That uses Level.setBlockAndUpdate() or the yarn equivalent. https://github.com/Fourmisain/DirTNT/blob/e8d58ae41c8f2d97de4c3f467200ef184be3c271/src/main/java/fourmisain/dirtnt/entity/DirtTntEntity.java#L90
-
com.electronwill.nightconfig.core.io.WritingException happens when i open all the mods 7 for 1.18.2
Looks like you already have minecraft/forge running using that file. Or it might be you are editing the file using something like notepad that locks the file. If you don't think this is true, It could be a previous game of minecraft didn't end properly and is still running in the background. You can use Windows Task Manager to see if there are any java processes running.
-
[1.19.2] On explode spawn blocks?
Define "spawn blocks". You can spawn a FallingBlockEntity? Or maybe you mean an ItemEntity? Or maybe you just want to Level.setBlock()? Spawning blocks is something you could do with the old "wand of animation". But I don't think anybody has ported the erebus mod to recent versions of minecraft. ๐
-
I keep getting this crash may be caused by an invalid java runtime configuration
You have a lot of mods that want a different version of forge. As well as 2 mods that want a different version of blockui and structurize. I know at least the latest version of "create" needs forge 40.1.60 while you have 40.1.0 https://github.com/Creators-of-Create/Create/blob/efdcbb4154e95cb95144cc0306930b461d81f048/src/main/resources/META-INF/mods.toml#L22 Try using the latest version of forge for 1.18.2 which is 40.1.73 Since it looks like you are using curseforge, you can change this in the "Advanced Settings" of the "profile options" of your profile. Click the 3 vertical dots on your profile's page.
-
java.lang.IllegalArgumentException: Can't find attribute null
Looks like an issue with UnionLib. But since this is a library mod, it could be one of the mods that uses it. https://www.curseforge.com/minecraft/mc-mods/unionlib/relations/dependents?filter-related-dependents=3 Make sure you have the latest version(s) then contact the mod author(s).
-
[1.19] Creating new Biome
Not to the vanilla overworld. Things you can do include; * override/replace the vanilla overworld using the datapack mechanism - not recommended for a mod to do by default * use a WorldPreset to create a new "world type" that appears in the "create new world screen" and has a copy of the vanilla overworld with your biome included * use an existing library mod like: https://www.curseforge.com/minecraft/mc-mods/terrablender There are probably other options along similar lines.
-
[1.19] Creating new Biome
Exactly what I said, a biome is useless by itself, you need to have a dimension that uses it.
-
[1.19] Creating new Biome
If you just want to modify a biome, you can use: https://forge.gemwire.uk/wiki/Biome_Modifiers
-
[1.19] Creating new Biome
You can make a biome using the datapack mechanism: https://minecraft.fandom.com/wiki/Biome/JSON_format Your mod is automatically a datapack, you place the files in src/main/resources/data Or you can create them in code using the DeferredRegister mechanism. But having a biome won't do you much good unless you have dimension with a ChunkGenerator/BiomeSource that uses it. e.g. your own custom dimension
-
[1.19.2] How to set properly getMinCost and getMaxCost on Enchantment
I don't really understand all the details of this, it is based on random numbers and a weird algorithm. ๐ I think most people just choose a vanilla enchantment they want to be similar to and tweak its cost calculation? If you really want to understand it: The basic idea is that it calculates an enchantment cost for each slot in EnchantmentHelper.getEnchantmentCost() - uses some random numbers. p_220289_ is the slot number (0 to 2) and p_220290_ is the enchanting power of the "bookshelves". Then it runs selectEnchantment() for each slot p_220300_ is the cost(s) from above, but it gets modified using some more random numbers. This then uses getAvailableEnchanmentResults() with the modified p_220300_ to compare against your min/max costs. That wiki has a link to a table that has values from 1.14 https://minecraft.fandom.com/wiki/Enchanting/Levels
-
Error: java.lang.NoSuchMethodError: 'void . Error showing everytime i load into a world, can someone help?
Incompatiblity between supplementaries and create. You don't have the latest of version of supplementaries: https://www.curseforge.com/minecraft/mc-mods/supplementaries/files/all?filter-game-version=1738749986%3a73250 If that doesn't fix it, contact the mod author.
-
I Broke the mod pack I was useing after uptading it
Issue with byg (or one of your resource packs) This is not the latest version: https://www.curseforge.com/minecraft/mc-mods/oh-the-biomes-youll-go/files/all?filter-game-version=1738749986%3a73250 If that doesn't fix it, contact the mod author.
-
"Errors in currently selected datapacks prevented the world from loading." when updating world from 1.16.5 to 1.18.2
Actually, I think I misread the code. This stuff can be quite difficult to read. ๐ I think it is looking for a dimension without a type? It is definitely looking for something within the world generation settings/dimensions that is missing a type.
-
"Errors in currently selected datapacks prevented the world from loading." when updating world from 1.16.5 to 1.18.2
The thing that DFU actually checks for is a "generator" without a "type". https://minecraft.fandom.com/wiki/Custom#Generator_types
-
org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
You are trying to use 1.19 version of journeymap in 1.19.2: https://github.com/TeamJM/journeymap/issues/488 The only versions currently compatible with 1.19.2 are betas: https://www.curseforge.com/minecraft/mc-mods/journeymap/files/all?filter-game-version=1738749986%3a73407 If that doesn't work, contact the mod author.
-
I can't create worlds from forge 40.1.54 onwards (54 is the last one that does allow me)
https://github.com/sp614x/optifine/issues/6974
-
Translate things between minecraft forge versions
See your previous question: https://forums.minecraftforge.net/topic/115137-1192-translating-classesmethods-from-1165/ Translating from fabric isn't going to help you with old forge mods. Fabric uses a completely different mapping called "yarn".
-
Custom Projectile on Keybind?
Look at the code in GhastShootFireballGoal. You need to create the fireball, configure it, then level.addFreshEntity() to spawn it.
IPS spam blocked by CleanTalk.