Everything posted by warjort
-
My Minecraft with forge 1.18.2 and mods crash without error
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.
-
Trying to figure out Ore Generation. Can someone help?
your link is a 404 - not found
-
Rendering part of a block
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.
-
The game crashed whilst rendering overlay. Could not initialize class org.orecruncher.sndctrl.audio.SoundUtils
Issue with dynamic surroundings. Check you have the latest version then contact the mod author.
-
Location of a PlacedFeature? [1.19]
The vanilla chunk generator doesn't remember where it places normal features like it does structures or biomes.
-
ATM7 1.18.2 : Datapacks prevented the world from loading
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.
-
findNearestMapStructure always returns null?
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; } }
-
Crashing when loading in chunk with boat!
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.
-
Crashing when loading in chunk with boat!
It depends on your launcher. This is the first hit using a google search: https://apexminecrafthosting.com/how-to-allocate-more-ram/
-
Block break event
https://forge.gemwire.uk/wiki/Dynamic_Loot_Modification
-
Crashing when loading in chunk with boat!
You need to give the game more memory.
-
My Minecraft with forge 1.18.2 and mods crash without error
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.
-
My Minecraft with forge 1.18.2 and mods crash without error
I have asked you twice to show the launcher_log.txt If you are using curseforge it is in the curseforge/minecraft/install folder
-
Failed to run processor
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.
-
Failed to run processor
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
-
My Minecraft with forge 1.18.2 and mods crash without error
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.
-
How do I get a list of players who are currently on a server from the clientside?
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.
-
How do I get a list of players who are currently on a server from the clientside?
Maybe look at what the SocialInteractionsScreen/PlayerList does?
-
Forge 1.18.2 Crash rendering overlay
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.
-
Newbie sorry. Do an event when push a metal button
The method is called on both the client and sever. Check level.isClientSide
-
illegal packet received terminating connection
Cracked clients are not supported in this forum. Buy the game.
-
My Forge Server 1.18.2 doesnt save Playerdata
Post your debug.log so we can see the error that occurs when it tries to save your player.
-
[1.18.2] How to increase the rarity of vanilla oregeneration? Or how "Ore Veins" works
Are you talking about this? https://github.com/misode/mcmeta/blob/78e5dcab9d94299c0acbfe81d1bfd9354c228843/data/minecraft/worldgen/noise_settings/overworld.json#L334
-
Newbie sorry. Do an event when push a metal button
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.
-
Trying to figure out Ore Generation. Can someone help?
https://forums.minecraftforge.net/topic/115928-1182-error-trying-to-register-a-custom-feature-based-on-kelpfeature-solved/
IPS spam blocked by CleanTalk.