Everything posted by warjort
-
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/
-
Newbie sorry. Do an event when push a metal button
If it's your own block, you override the use() method. See ButtonBlock.use();
-
1,18.2 forge
Post a link to your logs/debug.log or launcher_log.txt
-
Bug ticking player on loading every world
You are trying to use the FTB Ultimine mod for 1.18 with minecraft 1.19 Download the correct version of that mod.
-
Failed to run processor
Update your java to a recent version.
-
mouseClicked event handler - Constant crashes when I use shift+click
Issue with the smooth swapping mod. Check you have the latest version then contact the mod author.
-
Forge 1.18.2 Task :runClient FAILED
https://forums.minecraftforge.net/topic/117925-forge-1192-43147-crashing-on-startup-with-exit-code-1/#comment-519007
-
Newbie sorry. Do an event when push a metal button
Subscribe to the RightClickBlock event.
-
can someone help me out with this
I can't fix it either. You don't post the full log. I would guess there is an earlier error for the fruitrees mod you don't show since one of its objects wasn't registered properly? As I said on your other thread. Build your modpack one mod at a time and test it. Then you know which mod is causing problems. What are you going to do when we help you fix another 10 errors and you can finally launch the game but you get a problem that doesn't cause a crash? You will have no idea which of the 100+ mods you have is causing the problem. And probably we won't either.
-
[1.19] Custom registry not producing delegates
Can you explain why you need this? Vanilla's Holder objects are a way to reference objects that don't exist yet, e.g. a value that will be placed in a registry later by datapack loading, or resolving circular references. Forge has this mechanism in the RegistryObject. RegistryObject<T> extends Supplier<T> e.g. if you want to an Item to reference a potion effect (which are registered after Items) you do something like (untested pseudo code): public MyItem(Properties props, Supplier<MobEffect> potion) { super(props); // remember how to get the potion (not registered yet) this.potion = potion; } public void usePotion() { // Retrieve the potion at runtime (will exist) this.potion().get().doStuff(); } RegistryObject<MobEffect> MY_POTION = ...; // Pass the "supplier" to the constructor RegistryObject<Item> MY_ITEM = ITEMS.register("my_item", () -> new MyItem(props, MY_POTION));
-
can someone help me out with this
Conflict between backpacked and wallywhip.
-
can someone help me out with this
Looks like a conflict between betteranimalsplus and whisperwoods. Check you have the latest version of these mods then contact the mod authors.
-
Help with datapacks unable to load
Looks like an issue with one of your mods or datapacks having invalid datapack definitions. Most likely stoneholm since that is mentioned?
-
I need Help for this i try to do my Own modpack and this Is What its was
You have a number of mods that want a different version of minecraft, forge and other mods. Or the mods are just missing. Check you have the latest versions and try the latest release of forge. Also, the correct way to make a modpack is not to dump a large number of random mods in your mods folder and then expect us to fix it for you. Install mods "one-by-one" and check each doesn't cause problems.
-
Friend is getting false version mismatch error when trying to join server
That is not a debug log. It contains barely any information except the client disconnected.
-
Friend is getting false version mismatch error when trying to join server
I am not seeing any disconnect or failed login in that log? Make sure you are posting a log from the time of the failed login. And post the client log as well. I can see one login that the server thinks has the correct mods.
-
Friend is getting false version mismatch error when trying to join server
Post a link to the logs/debug.log from the server and the client.
-
Harvest tool
https://forge.gemwire.uk/wiki/Tags Put your cursor on a vanilla ore block and press F3 then look in the bottom right. In particular the needs_xxx_tool and mineable tags.
IPS spam blocked by CleanTalk.