
Everything posted by ChampionAsh5357
-
(1.18.2) remove xp from player
You cannot remove xp from the client player; it will not sync to the server. You should instead send a packet to the server and remove the experience from the player there. You can set experience points using either `Player#giveExperiencePoints` or `Player#giveExperienceLevels` or directly through `Player#setExperiencePoints` or `Player#setExperienceLevels`. Additionally, that is not how you listen to an event. I would suggest reading how to do so on the docs.
-
How to change default crafting recipes and disable items in vanilla minecraft
You wouldn't be modifying the game assets though? Additionally, if you want to make a mod that's backwards compatible with vanilla, I would suggest a datapack. Sure, but I would not explain how to do it since nearly any instance of registry replacement will break the game because of all the static storages of vanilla registry objects which in most instances would cause the game to crash in some capacity. Hence, I suggested the solution above as an alternative. It would also allow you to have more compatibility with other mods if you provide an open API or create an addon that supports the mod even if you do not wish to support it.
-
[1.19.2] Custom conditions linked with player capability
You would normally need to make a custom `Recipe` to handle this case; however, you don't have access to the player in those instances. As such, it would probably be better to make a separate block for this which can check the player context along with the normal recipe information.
-
How to change default crafting recipes and disable items in vanilla minecraft
Replace the recipe JSONs by supplying ones with a similar name. If you want to make it such that recipes can't be crafted until a certain point, it is much simpler to create a new block that functions the same as a crafting workbench but checks the progress. You can then disable any vanilla items by making an uncraftable recipe. If you need to change how non-JSONable recipes work, there are events for those (`PotionBrewEvent$Pre`, `AnvilUpdateEvent`, etc.). You should always avoid touching and reregistering registry objects or modifying vanilla methods as you would most likely break compatibility with any other mod. The best way is just to modify the JSONs when applicable.
-
Updating 1.18.2 to 1.19.2, errors when loading gradle changes, possibly caused by mappings
Please show your entire buildscript. Forge has changed in 1.19 now using the plugin DSL, hence there is a new method of adding the necessary libraries: https://github.com/ParchmentMC/Librarian/blob/dev/docs/FORGEGRADLE.md.
-
What is Happing?
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
Forge Gradle problems
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
How can i fix Error datapack load
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
Error in Minecraft 1.16.5 modpack when opening
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
SOLVED [1.19.2] Entity Event Triggering Problem
If you are going to use the annotation to register event listeners, all event listeners in the class need to be public static methods.
-
help---how to let an entity operate a command in code as if it operated itself?
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
MODPACK HELP! 1.17.1 forge crash. exit code 1
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
forge 1.16.5 crashes in the fml loading process
Locking for necroposting. The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
I HAVE TO MANY ERRORS ON MY SERVER
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
Game crashing as soon as i join a lan game. modded
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
error mod
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
I can't join my server.
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
Modded 1.12.2 Minecraft Server Crash
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
BUG FORGE
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
Problème lors du lancement de mon launcher minecraft avec la version Forge 1.15.2-forge-31.2.57
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
modded world not loading ver 1.16.5
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
My Game Crashes after i Join the world
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
[1.16.5] Help with making an entity attack if the player gets hurt
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
-
stackoverflow when joining server
Most likely, it is either quark or lodestone (most likely in combination) that is causing the issue. If not, simply split the mods into two piles and load the game up which each pile. If the error still occurs in one pile, keep splitting until you've whittled it down to the erroring mods.
-
Gradle | Forge error
The version you are using is no longer supported on this forum. Please update to a modern version of Minecraft to receive support. Currently supported versions are 1.19.2 (Latest) and 1.18.2 (LTS).
IPS spam blocked by CleanTalk.