-
Posts
3284 -
Joined
-
Last visited
-
Days Won
62
Everything posted by ChampionAsh5357
-
Well yeah, mixins are applied manually and vanilla entries are added before mods are even loaded. This generally wouldn't work on Fabric too, but since you can initialize registry objects whenever you want, you typically don't encounter it. I can think of a way that involves getting the specific item list from the weighted random, and replacing the immutable list with another to append the entry that would need to be done after registries (so probably common setup), but I would recommend against it as there are probably some side effects I would be neglecting. SpawnPlacementRegisterEvent and check if the position is in a structure. See LocationPredicate
-
I can point you to the Minecraft wiki as, like I said, a user playing your mod can simply disable the recipes and ore generation themselves through a datapack. If someone really wants to disable your stuff, there is already a way to do so without your intervention.
-
[1.18.2] Sync block inventory with item
ChampionAsh5357 replied to Daeruin's topic in Modder Support
So, there are two methods. You could do something like the shulker box and write the capability data to the correct location to the item and then just write it back on placement. Or, you can override `spawnAfterBreak` to modify the itemstack with the capability data of the block entity and then just write to block within blockitem with the other update tag methods. -
Red/Black Screen after loading (Mod Conflicts)
ChampionAsh5357 replied to H of the Greed's topic in Support & Bug Reports
I can't seem to find anything, so you may just want to increase the amount of memory allocated to the game profile and see if that fixes the issue. You can search how to do that. -
Client crash after seconds of being in the server
ChampionAsh5357 replied to Dieguini223's topic in Support & Bug Reports
Looking at the connection timeouts, it is likely that you have an improperly configured network that is only blocking traffic in one direction instead of both as it is trying to connect with ipv6 in one direction and using ipv4 in the other, preventing the connection from occurring. As such, you need to change the settings for your device or router to either block ipv6 traffic incoming and outgoing, or don't block either. -
[1.18.2] Client Crash when it loads into the server
ChampionAsh5357 replied to Dieguini223's topic in Support & Bug Reports
Looking at the connection timeouts, it is likely that you have an improperly configured network that is only blocking traffic in one direction instead of both as it is trying to connect with ipv6 in one direction and using ipv4 in the other, preventing the connection from occurring. As such, you need to change the settings for your device or router to either block ipv6 traffic incoming and outgoing, or don't block either. -
Game client crashes when I open a door
ChampionAsh5357 replied to Chris Parent's topic in Support & Bug Reports
Likely is an issue with scaffoldingpower. -
Error with modelfix it seems.
-
In order to root out one of the more common issues, we'll need to see your hosts file. Here's the steps to getting this file. 1) Press the Win + R key on your keyboard. 2) Paste the following into the prompt that opens: notepad %windir%\system32\drivers\etc\hosts 3) Use Ctrl+A to select everything in the file, then Ctrl+C into the textbox to post to this thread.
-
Hello I am having some issues.
ChampionAsh5357 replied to ImUncreative's topic in Support & Bug Reports
As 1.16.5 is not supported on this forum, I'll give you a simple answer. If you are loading up a version, the mods folder must only contain mods for that version. You can have multiple mods folders if you have different game directories for each profile configuration, but otherwise that must be it. -
Probably caused by this as you are attempting to run a 1.19.2 mod for 1.19.3.
-
Minecraft 1.19.2 crashes after launching the game
ChampionAsh5357 replied to OtterCraft's topic in Support & Bug Reports
Try removing OptiFine and see if it works. -
In order to root out one of the more common issues, we'll need to see your hosts file. Here's the steps to getting this file. 1) Press the Win + R key on your keyboard. 2) Paste the following into the prompt that opens: notepad %windir%\system32\drivers\etc\hosts 3) Use Ctrl+A to select everything in the file, then Ctrl+C into the textbox to post to this thread.
-
Look at the arguments of DefferedRegister#register. It takes in the name and a supplier of the argument type.
-
Don't. There's a number of issues that can occur when attempting to disable a particular feature. You should either leave the configuration up to the user through the datapack to disable specific recipes or ore generation. Alternatively if this is really necessary, you could use the config with a conditional on the given feature placement and the recipe conditions.