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. That log is the same as the previous one. This is the support page for curseforge: https://support.curseforge.com/en/support/home As I said before, you need to ask them how to fix it.
  2. Look at what tesslateBlock() does. The simple version without ambient occlusion is in pseudo code; initialise the render state from the model and other passed parameters; foreach direction { get the light for that face; get the quads for that face; put the quads with the lighting parameters in the vertex consumer; } do the same for quads that are not attaced to a face; You want to do the same code but only for the faces you want to draw. I have no idea how you would identify which of the extra quads not attached to a face you need to draw unless you know specifics about how the quads were baked.
  3. Issue with dynamic surroundings. Check you have the latest version then contact the mod author.
  4. The vanilla chunk generator doesn't remember where it places normal features like it does structures or biomes.
  5. It is not clear from your description, but I guess from your error message you removed dungeons_arise? If you did, look in kubejs/data/dungeons_arise. The ATM 7 modpack author has overridden the worldgen for this mod. When you uninstall the mod, it still tries to override this data and fails.
  6. Your holder is for the wrong registry. You need to get one from the active server registry. This works for me based on your code: @Mod.EventBusSubscriber(modid = MODID) public class Events { @SubscribeEvent public static void commands(RegisterCommandsEvent event) { event.getDispatcher().register(Commands.literal("blah").executes(Events::blah)); } public static int blah(CommandContext<CommandSourceStack> context) throws CommandSyntaxException { var entity = context.getSource().getEntityOrException(); if (entity instanceof Player player && !player.getLevel().isClientSide()) { ServerLevel level = (ServerLevel) player.getLevel(); // Your code using the builtin regisry which is not used at runtime // HolderSet<Structure> holderset = HolderSet.direct(Structures.JUNGLE_TEMPLE); // Code using the server registry Registry<Structure> registry = level.registryAccess().registryOrThrow(Registry.STRUCTURE_REGISTRY); HolderSet<Structure> holderSet = registry.getHolder(BuiltinStructures.JUNGLE_TEMPLE).map(HolderSet::direct).orElseThrow(); BlockPos pos = player.blockPosition(); Pair<BlockPos, Holder<Structure>> pair = level.getChunkSource().getGenerator().findNearestMapStructure(level, holderSet, pos, 100, false); // This always returns null BlockPos structurepos = pair.getFirst(); int strx = structurepos.getX(); int stry = structurepos.getY(); int strz = structurepos.getZ(); player.displayClientMessage(Component.literal("Location " + Integer.toString(strx) + ", " + Integer.toString(stry) + ", " + Integer.toString(strz) + "!"), (false)); } return 1; } }
  7. It sounds like that chunk is corrupted? You can post your logs/debug.log to see if there is logged error that can be fixed. But your best solution would be restore the save from a backup.
  8. It depends on your launcher. This is the first hit using a google search: https://apexminecrafthosting.com/how-to-allocate-more-ram/
  9. warjort replied to Faxu_'s topic in ForgeGradle
    https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification
  10. You need to give the game more memory.
  11. I don't see you starting to launch minecraft/forge in that log. Did you restart the launcher after the crash like I told you not to? I do see this error which suggests there is a problem with your forge jar not being installed properly? I believe curseforge has a "repair profile" option that might fix this. Otherwise, you will have to contact curseforge to ask them how to fix it.
  12. I have asked you twice to show the launcher_log.txt If you are using curseforge it is in the curseforge/minecraft/install folder
  13. You are still using an old version of java. The latest is build 351 https://www.oracle.com/java/technologies/javase/8all-relnotes.html The ssl trust certificates included in your version have expired.
  14. Can't help you if you don't show the new log. We have no psychic powers. Also, post your c:\windows\system32\drivers\etc\hosts - replace c:\windows with wherever you have windows installed
  15. There is nothing in the debug.log, it just stops when loading resource packs. If that really is the full debug.log post your launcher_log.txt - make sure it is from just after the crash, if you restart the launcher it will clear the log. Also check if you have a file beginning hs_err_pid in your minecraft folder from the time of the crash. If you do, don't post the full file, just the first 20 lines.
  16. We are not a search engine. This is a support forum. Your questions should be about real problems. You not being able to search in your IDE is not a problem for this forum. The class is PlayerTabOverlay.
  17. Maybe look at what the SocialInteractionsScreen/PlayerList does?
  18. Issue with the sndctrl mod. I think that's a fork of dynamic surroundings? Check you have the latest version then contact the mod author.
  19. The method is called on both the client and sever. Check level.isClientSide
  20. Cracked clients are not supported in this forum. Buy the game.
  21. Post your debug.log so we can see the error that occurs when it tries to save your player.
  22. Are you talking about this? https://github.com/misode/mcmeta/blob/78e5dcab9d94299c0acbfe81d1bfd9354c228843/data/minecraft/worldgen/noise_settings/overworld.json#L334
  23. Being new is not an excuse. This forum does not exist, so you don't have to do your own research. It is a support forum not a school. You only need RightClickBlock if it is not your block. For the rest, read the code of ButtonBlock.use() and try to understand what it is doing. Looking where Block.use() is called from in the other minecraft code will give you more context for what is happening. Or look at other Block's use() methods that do things more like what you want to do. For your specific questions * You are passed a Level, BlockState and BlockPos which uniquely identifies the block (this is minecraft 101). A look at ButtonBlock.press() shows how they are used to change the state from unpressed to pressed. * The BlockHitResult has the side (direction). There have been at least 3 questions just this week in this forum about hit results and many others before that.
  24. https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/

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.