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. You can see how immersive engineering does it here: https://github.com/BluSunrize/ImmersiveEngineering/blob/289fa688194dc1b640245cee5ad902ecfd7d2564/src/main/java/blusunrize/immersiveengineering/common/world/Villages.java#L122
  2. Download the 1.19.2 version of journeymap https://www.curseforge.com/minecraft/mc-mods/journeymap/files/all?filter-game-version=1738749986%3A73407
  3. To see what the player is looking at, you can do var hitResult = Minecraft.getInstance().hitResult; The hitResult.getType() will tell you if it is a block. The rest you will need to code yourself. Probably using the PlayerTickEvent? Don't forget to check the phase and side of that event. If you want to do it on the server, then you will need to use the slower Entity.pick() method for the player. I don't think you want to be doing that every tick multiplied by the number of players.
  4. That repo hasn't been updated in a month. It contains no data folder: https://github.com/liambcode/forge-1.19.2-43.1.30-mdk/tree/master/src/main/resources
  5. Issue with the illuminations mod. Check you have the latest version then contact the mod author.
  6. Your config file flywheel-client.toml is invalid/corrupted. You can find it in the config subfolder. If you don't have a backup of this file and don't know how to fix it, you can delete the file and it will recreate it with default values.
  7. warjort replied to DGK's topic in Support & Bug Reports
    This is just the wrong version of optifine FAQ: You should have a log for this. And it says you have a crash report: To fix the problem you need to go to the optifine download page and click on 1.18.2 "Preview versions" then download the latest version.
  8. I don't see anything strange in that log. It just seems to have to stopped. If have the java jdk installed rather than just the jre there is a tool called jstack that can be used to diagnose these kind of problems. https://docs.oracle.com/en/java/javase/17/docs/specs/man/jstack.html If you get the process id (pid) of the server process from task manager you can then type on the command line jstack -l pid which will show what all the threads of the java virtual machine are doing.
  9. BlockState.setValue() does not mutate the state. It returns you a new BlockState with the property you modified. BlockState newState = oldState.setValue(...)
  10. Issue with the modelfix mod, check you have the latest version then contact the mod author.
  11. There are no errors or warnings in your logs. So there is very little help we can give you. You should look at task manager to see if the java process running minecraft has issues, e.g. 100% cpu usage I think the only way you are going to find this, is experimenting with removing mods until find which one is causing the problem. (Backup your world first).
  12. The error says one of your mods is modifying the skeleton's AI in an invalid way. There is nothing in that error that identifies the problem mod and there is no other mention of a problem in your log. Above, I have underlined the mods that are mentioned as modifying code in this area. You should start by checking you have the latest version of these mods (do the same for your other mods as well). Then check if any of them have known issues about this is in their bug reports and/or contact the mod authors. Failing that, the only thing you can do is to make a backup of your world and then experiment with removing mods until you find the problem mod. Since you say this is "random" this is going to be a difficult task. The most likely mods would be those that are about changing mobs or combat or new/obscure mods that have very few downloads
  13. warjort replied to DGK's topic in Support & Bug Reports
    Upload it to a file sharing site and post a link. But make sure it actually contains information about you trying to start minecraft. If the game crashes and you then restart the launcher it will clear the file so we won't see the problem.
  14. warjort replied to DGK's topic in Support & Bug Reports
    If it started the game at all, you will have files in the logs subfolder. If your crash begins with hs_err_pid just post the first 20 lines or so. You can also post the launcher_log.txt
  15. warjort replied to DGK's topic in Support & Bug Reports
    Post a link to the logs/debug.log so we can see the error.
  16. warjort replied to Sodz1aX's topic in Support & Bug Reports
    You need to post your logs/debug.log if you want help.
  17. Look in your run/logs/debug.log You probably have an error about missing textures, models or invalid json there. Failing that, you need to ask geckolib. That mod is responsible for loading the model.
  18. Why do you keep posting this? You've already been told multiple times that 1.16.5 is no longer supported in this forum. https://forums.minecraftforge.net/topic/118043-each-time-i-teleport-using-waystone-my-game-crashes/#comment-519392 https://forums.minecraftforge.net/topic/118018-each-time-i-teleport-using-waystone-my-game-crashes/#comment-519294 I suggest you contact the waystones mod author.
  19. You know as much as about this as I do. It's not really my area of expertise. I do know there is some caching code in there. So maybe you are hitting that? See for example AmbientOcclusionFace.calculate() and BlockModelRenderer.Cache I've tried a couple of times to understand how minecraft's lighting code works, but it is spaghetti. ๐Ÿ™‚ Maybe you can use your debugger to disable the cache to see if that is your problem?
  20. If you look at the code for the method you are using, it uses the BlockAndTintGetter (the player.level) you pass to do its calculations of light levels. If you want to alter things, you will probably need to create a wrapper/delegate implementation of that interface that changes the values returned by the real ClientLevel?
  21. If you look at LevelRender.renderHitOutline() it uses (pseudo code) blockPos - camera.getPosition() So, the PoseStack must be at the camera position when that event is called. You can't translate to anywhere. PoseStack.translate() is a relative operation so passing all 0 does nothing. ๐Ÿ™‚ Try something like: var target = event.getTarget(); var cpos = event.getCamera().getPosition(); // camera var bpos = target.getBlockPos().relative(target.getDirection()); // block var poseStack = event.getPoseStack(); poseStack.pushPose(); poseStack.translate(bpos.getX() - cpos.x, bpos.getY() - cpos.y, bpos.getZ() - cpos.z); // your code here poseStack.popPose();
  22. You need to give it more memory. It is configured in your launcher/installations.
  23. Forge supports altering the camera's angles and fov. See ViewportEvent and its subclasses. It has no event for moving the camera. Probably because it is tied to the entity. The camera location is calculated from the eye position of the player or entity being spectated and updated every tick as they move. The eye position is calculated from the entity's location and eye height. The eye height is calculated from the entity's pose (standing, crouching, sleeping, etc.) when it changes. You could do player.setForcePose(Pose.CROUCHING). Or another way might be to call player.refreshDimensions() while subscribing to EntityEvent.Size to alter the eye height? You probably need to do it on the server for it to work properly.

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.