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. https://github.com/sp614x/optifine/issues/6974
  2. And wrong, you should have been using the ore dictionary ๐Ÿ™‚ Vanilla would use Registry.BLOCK.getTag(BlockTags.LEAVES) but i guess the correct way to do it with forge is? ForgeRegistries.BLOCKS.tags().getTag(BlockTags.LEAVES)
  3. It won't work the way are you are doing it. Your method won't be invoked everytime. ItemStack.getAttributeModifiers() has some caching code that effectively does: if (alreadyCalculatedModifiers != null) { return alreadyCalculatedModifiers; } return callYourCode(); If you want something more dynamic that is called everytime, register for forge's ItemAttributeModifierEvent.
  4. NOTE: If you are going to use java 18 for development, make sure you have something like the following in your build.gradle which will tell it to compile code for java 17 not 18 - you want users who only have java 17 to be able to run your code.
  5. Yes Minecraft 1.18+ requires java 17+ https://docs.minecraftforge.net/en/1.18.x/gettingstarted/
  6. https://github.com/sp614x/optifine/issues/6974
  7. https://github.com/sp614x/optifine/issues/6974
  8. Maybe Entity.push(Entity) is what you want?
  9. The problem is likely caused by the root certificates that are included with java. When you installed 1.18 those certificates were still valid, now they have expired (remember your java is old). By updating java you get more recent valid certificates. Of course, old java might not be the actual cause of your ssl handshake problem at all. It is just one of the common causes.
  10. More villagers has not been updated for the most recent changes in forge. Your problem is forge for 1.19 has not had a stable/recommend release yet so not all mods will work (unless they are quickly tracking changes in forge).
  11. biomesoplenty needs the terrablender mod installed
  12. Probably because Oracle changed the license to their java runtime environment. It is no longer "free". Try https://adoptium.net/
  13. You can't run minecraft 1.19 with java 8. Mojang's launcher comes with a more recent version of java. But when you run forge's installer that won't be used. It will use whatever you have installed manually and is configured on your PATH variable in your environment settings, in your case 1.8.0_31.
  14. Minecraft does that when you for example setTame() on a Cat. If you look at Zombies smashing turtle eggs. This just checks the mob griefing rule inside the goal itself. There's also a notion of "control flags" where you can enable/disable flags in the goal selector and match those against flags in the goal to see which can run. Never played with that, and it doesn't look widely used in vanilla? My question to you is how are you saving the config changed by the command? See the discussion on the other thread.
  15. Just register a game rule and reference it in your AI. The game rule will handle saving it per world correctly and the command/permissions to change it. See here: https://forums.minecraftforge.net/topic/113444-storing-constant-data-in-a-json-file/#comment-504361
  16. My guess is you have a similar issue to the jar.zip problem mentioned here: https://forums.minecraftforge.net/topic/113483-mods-not-showing-up-in-game-119/#comment-504496 But you can't see the .zip part because you have extensions hidden in windows explorer?
  17. You don't directly register into registries with forge. You are trying to do it in the mod's constructor. You should use the same DeferredRegistry pattern you used for the serializers to register the recipe types.
  18. The error is with the obfuscate mod. I don't see a 1.18 version of that mod on curseforge? Which version do you have installed? https://www.curseforge.com/minecraft/mc-mods/obfuscate/files
  19. You are missing a dependency - the vr_library mod.
  20. I believe this is caused by your maxFps being set to zero in the options.txt in your minecraft folder? Change the value in minecraft's video settings. Or if that doesn't work, change it in the file and restart minecraft.
  21. You need to get people's informed permission to collect data about them. And having an open rest endpoint that anybody can query isn't good either (even if the data might seem trivial).
  22. You don't need to update a minimap every 0.05 seconds. I'm pretty sure you are writing an x-ray.๐Ÿ™‚ Anyway have a look at BlockPos.findClosestMatch() or one of the other static methods like betweenClosed(). Their main optimisation I guess is using MutableBlockPos instead of creating 120,000 new BlockPos() like you are.
  23. getBurnTime() returns an int. 100/200 = 0 for an int cast it to a float first ((float) 100)/200 = 0.5 But you will probably want to use String.format() on the result to choose the significant digits?
  24. This issue was fixed in forge 40.1.54, you have 40.1.53 https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.1.60/forge-1.18.2-40.1.60-changelog.txt

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.