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. You don't have the memory to do this. As the error says: In your case you can see you only have 8M of swap space (AvailPageFile) left of out 17781M: I would suggest you close other programs to free up memory. You could try to use a larger swap file, but if this just leads to memory getting swapped to and from disk this is going to harm your performance.
  2. Don't know sorry. I've never used flatdir so I don't know how it works or interacts with ForgeGradle deobfuscation. You might have to attach the sources manually in your ide?
  3. If your library is the obfuscated version, you need to use fg.deobf, examples from the mdk https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/mdk/build.gradle#L134
  4. No idea - pun intended ๐Ÿ™‚ Try running .\gradlew --debug genIntellijRuns so you can see what it is doing. NOTE: the debug output may contain sensitive information so don't just post it here without checking what it contains
  5. See: https://forums.minecraftforge.net/topic/115182-blockbehaviourproperties/ Except you want to look at the tags for an iron block.
  6. That's very unlikely. You should trust the error message which says your manifest.json in the gradle cache is corrupted/incompletely downloaded. This likely happened on a previous build you ran but you didn't spot the error message? One simple way to fix this is exit your ide. If you have run gradle from the command line, also type "gradlew --stop" to stop any background processes. Then delete the cache. This will force ForgeGradle to redownload everything from scratch.
  7. The sky villages mod you have says it is compatible with 1.18 and 1.18.1, it doesn't say it works with 1.18.2 https://www.curseforge.com/minecraft/mc-mods/sky-villages-forge/files There is no version listed for 1.18.2, you should contact the mod author.
  8. Your version of jei is so out-of-date, it's not even on the first page of the mod's 1.19 downloads. ๐Ÿ™‚ https://www.curseforge.com/minecraft/mc-mods/jei/files/all?filter-game-version=1738749986%3a73407 Download the latest version that has a "Game Version" of 1.19 which is your version of minecraft.
  9. Forge doesn't haven't an api for this. Minecraft itself never really has this information. You can find a similar question asked (except in reverse) here: https://forums.minecraftforge.net/topic/114283-119-screen-point-xy-to-world-coordinates-xyz In simplistic terms Minecraft does its world rendering in "world coordinates" only later after it has worked out what should be displayed does it translate it to "screen coordinates". And what is translated at that point has long since lost its connection to the block abstraction. The assumption that blocks are in some sense cubic or even confined to a 1x1x1 cube is also incorrect. Try looking a lectern and pay attention to the shape and extent of its hitbox. ๐Ÿ™‚ Finally, directly using the opengl java api (instead of Minecraft's rendering api) is strongly discouraged. Calling native code to do it is pretty much the same thing, if not worse.
  10. What does this have to do with forge? "This is the support section for those modding with Forge"
  11. https://github.com/TeamJM/journeymap/issues/488 The only version of journeymap available for 1.19.1 is a beta: https://www.curseforge.com/minecraft/mc-mods/journeymap/files
  12. The above shows dynmap starting doing its processing Its still doing stuff 4 minutes later at the end of your log, blocking starting the server and not allowing players to connect. There's also a tonne of errors like this: You need to speak to the mod author.
  13. https://github.com/sp614x/optifine/issues/6974
  14. A negative scaling means a reflection and I guess the reflection in the y direction is because world coords are "updside down" compared to screen coords (which I think is what the font drawing uses?) I tried your 1,1,1 scaling and it is drawing the text, just not where you can see it in first person. You can see the bottom of the backwards large text when you press F5. ๐Ÿ™‚
  15. You can use the spark mod to get basic information about what is using heap memory. https://www.curseforge.com/minecraft/mc-mods/spark https://spark.lucko.me/docs/Command-Usage#spark-heapsummary But unless you know how to read the output it might not mean much to you. The more complicated https://spark.lucko.me/docs/Command-Usage#spark-heapdump needs a tool that can analyse hprof files. e.g. https://www.eclipse.org/mat/ These can often do more complicated stuff like looking for suspected memory leaks. You might find the learning curve for this kind of tool daunting if you have never done something like this before and don't have a working knowledge of java. ๐Ÿ™‚
  16. You can always "throttle" if your checks are expensive. Every entity has a "tickCount" so doing your check once per second (20 ticks) would look like this: if (player.tickCount % 20 == 0) { // Your logic here }
  17. You should try cloning your own repository to a different folder then seeing if that works. It's likely the stuff in your real folder doesn't match what is on github in some important way. Try running a "git diff" and "git status" to see if there are uncommitted changes.
  18. Modifying vanilla blocks is a bad idea and it is unnecessary for your use case. You just need an event - which could be PlayerLoggedInEvent from what you say above or something more generic like PlayerTickEvent (called every 0.05 secs) then do your logic.
  19. Fire is different to most mob effects. You can see an example of how to do it in Entity.lavaHurt() For others you LivingEntity.addEffect() using a MobEffect(Instance), see for example WitherSkeleton.doHurtTarget()
  20. I had a go at implementing something like what you are doing, this is what I came up with based on your code: public static void highlightBlock(DrawSelectionEvent.HighlightBlock event) { Minecraft instance = Minecraft.getInstance(); BlockHitResult hit = event.getTarget(); Vec3 pos = hit.getLocation(); Component text = new TextComponent("test"); PoseStack matrixStack = event.getPoseStack(); matrixStack.pushPose(); Vec3 cameraPosition = event.getCamera().getPosition(); Quaternion rotation = event.getCamera().rotation(); matrixStack.translate((double) pos.x - cameraPosition.x, (double) pos.y - cameraPosition.y, (double) pos.z - cameraPosition.z); matrixStack.scale(-0.025F, -0.025F, -0.025F); matrixStack.mulPose(rotation); Font font = instance.font; float f2 = (float)(-font.width(text) / 2); MultiBufferSource bufferSource = event.getMultiBufferSource(); int packedLight = instance.getEntityRenderDispatcher().getPackedLightCoords(instance.player, event.getPartialTicks()); instance.font.drawInBatch(text, f2, 0f, -1, false, matrixStack.last().pose(), bufferSource, false, 0, packedLight); matrixStack.popPose(); } This is not perfect since it actually draws the text kind of inside the block. Something you can see is especially a problem when you look at solid block from above. I'm sure you can fix this and other shortcomings. ๐Ÿ™‚
  21. You shouldn't just post "it does not work" after you change something. We need to see the full logs/debug.log You might have fixed the reported problem and now have a different error. But, since you don't have the latest version of forge for 1.19.2 - 43.0.8, you can try downloading that: https://files.minecraftforge.net/net/minecraftforge/forge/index_1.19.2.html You should also try without any mods. If that works, it would indicate that it is one of your mods that is the broken jar.
  22. It isn't what was asked for, but it does contain this error. You have an incompletely downloaded jar file. The error message doesn't say which one, but I would guess from the context it is one of the forge jars? When you installed forge, did it say it completed normally? Try reinstalling forge.
  23. Optifine for 1.16.5 isn't going to work with 1.19.2 According to their download page, they don't yet support 1.19.2 (not even a preview version): https://optifine.net/downloads
  24. Most likely you have a very old version of java installed on your machine and curseforge is using it because it is the java in your operating system path . This comes up multiple times a week in relation to the Forge installer. e.g. https://forums.minecraftforge.net/topic/113778-version-119-41098-not-installing-due-to-javaxnetsslsslhandshakeexceptionsunsecurityvalidatorvalidatorexception/ If that doesn't fix it, you will need to speak to curseforge: https://support.curseforge.com/en/support/home

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.