Jump 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. That's for you to decide. "blah" is a placeholder for your code. ๐Ÿ™‚ You could also replace the .forEach() with .stream().toList() or .iterator() if you are not familiar with consumer iteration.
  2. Block.asItem() assuming your block has a registered BlockItem
  3. The way to get the list for all logs (including modded logs) is: ForgeRegistries.ITEMS.tags().getTag(ItemTags.LOGS).forEach(item -> blah); and similar for ItemTags.PLANKS But there is no association between the 2 lists except for that provided by the recipes.
  4. Simply override the extractItem() for your IItemHandler to disallow/ignore extraction from that slot. See for example SidedInvWrapper used by the furnace that only allows extraction from a slot according to the side of the block.
  5. Download the correct version of journeymap for 1.192 https://www.curseforge.com/minecraft/mc-mods/journeymap/files/all?filter-game-version=1738749986%3a73407
  6. Probably https://github.com/sp614x/optifine/issues/7103
  7. Your terrablender config file is broken. If you don't have a backup and don't know how to fix it, you can delete the file and it should recreate it with default values.
  8. You are not registering your worldgen properly. See: https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/?do=findComment&comment=512366
  9. Look at how the compass works, in particular CompassItem.inventoryTick() NOTE: inventoryTick() happens on both the client and the server Playing sounds is explained in the "Sounds" section here: https://forge.gemwire.uk/wiki/Main_Page
  10. Minecraft.getInstance().player.isCreative() Although depending upon what you are doing, you might want to use cameraEntity instead of player (for if the user is spectating another player)?
  11. https://johann.loefflmann.net/en/software/jarfix/index.html
  12. @Mod.EventBusSubscriber(modid = MOD_ID, value = Dist.CLIENT) public class ClientEvents { @SubscribeEvent public static void camera(ViewportEvent.ComputeCameraAngles event) { event.setRoll(180f); } }
  13. As was said above. The error says one of your mods has badly coded network code. The error does not say which one. The only way to find it, is to experiment with removing mods until you find the problem mod. (Backup your world before removing mods). NOTE: I am assuming you are still getting the same error after doing your update, because you don't post an updated log.
  14. https://forums.minecraftforge.net/topic/117139-how-can-you-program-in-a-forge-mod-that-the-player-gets-an-effect-when-he-wears-armour-for-example/
  15. There is no way to change the NBT of an item crafted in the crafting table. Well there is, but it is not intended behaviour, glitchy and only works in some circumstances. ๐Ÿ™‚ If you want this kind of thing you need to write your own "crafting table" where you can control what gets put in the result slot. I think you are confusing your requested behaviour with the IForgeItem.getRemainingItem() behaviour. Where you can change the item used in the crafting recipe. e.g. turning a lava bucket into an empty bucket, or damaging a tool used in crafting Or maybe you are thinking of the "hardcoded" repair processing in the anvil?
  16. warjort replied to Tucky143's topic in Modder Support
    I am not seeing your reported crash with that repo. Maybe because that code is more than 3 weeks old and so is not the code you are actually using? I am seeing you not registering any attributes for an entity: because you are not using EntityAttributeCreationEvent So I still can't answer your question. You need to post a version of that repo that reproduces the problem and/or post the debug.log with the error.
  17. You can't call RegistryObject.get() during mod initialization. It defeats the whole point. Use this to learn why: https://forge.gemwire.uk/wiki/Main_Page In particular the "Stages of Mod Loading" and "Registration" sections.
  18. You might also consider using a mod like this one: https://github.com/bernie-g/geckolib/wiki
  19. You know you can click "installations" at the top of the screen to view and edit all your installed profiles?
  20. If the installer log you posted is the complete file, it looks like your install didn't complete properly. There should be a message at the bottom of the file saying it finished. Try reinstalling and make sure it tells you it completed successfully.
  21. According to your log it is installing 43.1.32, e.g. You should also have something in C:\Users\monte\AppData\Roaming\.minecraft\versions\1.19.2-forge-43.1.32
  22. I just tried this. It works fine for me. Post the log that appears alongside the installer jar (same name with a .log on the end) when you install things.
  23. You know you are talking yourself with all these questions about blockbench models/animations? These are the forge support forums. You want the blockbench support forums or discord. Also note these forums are for support. They are not teaching/tutorial forums. We answer specific and focused questions, we don't write your mod for you.

Important Information

By using this site, you agree to our Terms of Use.

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.