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. This is a crash in Microsoft's java implementation, you should contact them using that link.
  2. Issue with your byg configuration file. You have a reference to "friendsandfoes:beekeeper", but you don't seem to have that mod installed.
  3. https://github.com/MehVahdJukaar/JustEnoughEffectDescriptions/issues/18
  4. Not using forge. It is difficult to see how forge could provide this feature if 2 mods wanted to do different things. If you really want to do it, look at something like: https://github.com/Shadows-of-Fire/Apotheosis/blob/1.18/src/main/java/shadows/apotheosis/mixin/CombatRulesMixin.java Doing the same thing would obviously make your mod conflict with apotheosis. Don't expect any further help on this, this is not a forge modding issue. ๐Ÿ™‚
  5. You can't put the obfuscated jar of a mod in the run/mods folder. The development environment is a deobfuscated environment. The way to include other mods is via dependencies with fg.deobf to deobfuscate them. Examples from the mdk: https://github.com/MinecraftForge/MinecraftForge/blob/b5d585555964b6149707514454ec3202a69cb66f/mdk/build.gradle#L134 the comments also have links to the relevant gradle docs.
  6. Did you restart windows after changing the hosts file? Also, double check that you actually saved the changes. Unless you have administrator rights, you won't be able to save that file. If that doesn't work, try the clean reinstall of java I suggested above.
  7. Can you access this? https://launchermeta.mojang.com/mc/game/version_manifest.json That ip address 134.209.132.125 doesn't work for me. Try removing those 3 lines from your hosts file. In the past, errors similar to yours have sometimes been resolved by completely uninstalling java and then reinstalling it - followed by restarting windows.
  8. You are trying to use 1.19 journey map with 1.19.2, this won't work Download the latest 1.19.2 beta: https://www.curseforge.com/minecraft/mc-mods/journeymap/files/all?filter-game-version=1738749986%3a73407
  9. livingEntity.level.playSound(null, x, y, z, KCSound.WHAT.get(), SoundSource.MASTER, 1, 1); If you pass a player as the first parameter then that player is excluded from the network broadcast. Passing the player is intended for when have some other mechanism to play it for the player that caused the sound. e.g. you already played it on the client before it even got to the server.
  10. Incompatibility between steampowered and create: https://github.com/TeamMoegMC/SteamPowered/issues/41
  11. I still don't know and you still haven't posted the log. ๐Ÿ™‚ For curseforge you need to enable the forge debug log in the minecraft settings. Continuing to guess - under the assumption the error message is misleading, maybe this is a OS permissions issue or something else wrong with those files or the folder that contains them? Since you are using curseforge: Try redownloading the modpack as a different profile. You can also change the installation location for everything minecraft related in its "Minecraft Modding Folder" settings.
  12. public static final ModRecipeManager instance = new ModRecipeManager(); // What is the value of GSON here? private static final Gson GSON = new GsonBuilder().setPrettyPrinting().disableHtmlEscaping().create();
  13. From what I can tell, you are trying to save the entity into the itemstack on the client. Look at how the creeper interacts with flint and steel in Creeper.mobInteract() for an example how to do sided processing properly. Note the use of sidedSuccess and level.isClientSide.
  14. Ah, I looked at the actual code and that event only works if you are interacting with a block or entity. I guess the clue is in the name of the event, although the javadoc doesn't mention this? ๐Ÿ™‚ For a generic item use, like eating or your use case, it uses InteractionResult.shouldSwing() Sorry, I don't know what the correct code is in this case.
  15. var tagManager = ForgeRegistries.ITEMS.tags(); var tagKey = tagManager.createTagKey(new ResourceLocation("minecraft:logs")); var tag = tagManager.getTag(tagKey);
  16. Another possibility is the error message is lying. ๐Ÿ™‚ e.g. java is misinterpreting the windows error code In which case, you should contact the toolbelt mod author to find out if they are doing something weird with their config file.
  17. https://johann.loefflmann.net/en/software/jarfix/index.html
  18. 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
  19. 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? ๐Ÿ™‚
  20. 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); }
  21. You have just enough effects installed, but this is an addon for JEI (Just Enough Items) which you don't have.
  22. https://github.com/sp614x/optifine/issues/6974
  23. 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.
  24. That uses Level.setBlockAndUpdate() or the yarn equivalent. https://github.com/Fourmisain/DirTNT/blob/e8d58ae41c8f2d97de4c3f467200ef184be3c271/src/main/java/fourmisain/dirtnt/entity/DirtTntEntity.java#L90

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.