-
Posts
3284 -
Joined
-
Last visited
-
Days Won
62
Everything posted by ChampionAsh5357
-
Custom Entity Attributes problem, in 1.16.5 and 1.18.2
ChampionAsh5357 replied to tomschmidt's topic in Modder Support
Then apologies, but then we cannot help you on this forum: 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). -
Custom Entity Attributes problem, in 1.16.5 and 1.18.2
ChampionAsh5357 replied to tomschmidt's topic in Modder Support
You have a lot of methods that return null and don't call the super of a method, which causes plenty of errors. However, the code provided is for 1.16.5, which is not supported on this forum. If you would like to provide the updated 1.18.2 code, I will give a proper answer. Otherwise, I will lock this thread since it is no longer supported. Additionally, the answer I'll provide will not work in 1.16.5 due to the changes past 1.17. -
Custom Entity Attributes problem, in 1.16.5 and 1.18.2
ChampionAsh5357 replied to tomschmidt's topic in Modder Support
Provide the entirety of your custom entity class. -
In what context? The names of the current dimension can always be obtained through a `Level` instance which you most likely have in some interface abstract. There's not really a good way to do this. You could attempt to find all `PlacedFeature`s which are registered for ore generation, but it depends on how other mods choose to implement this. The best you could do would be for vanilla.
-
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 reply
-
- 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).
-
This forum is in English only, so please provide your posts in that language. Additionally, supply the debug.log as that error does not mean much on its own.
-
How to apply effects to players and mobs in a radius
ChampionAsh5357 replied to JosefS6's topic in Modder Support
I would look into `BeaconBlockEntity` since it does this exact behavior. -
My server wont let anyone mine stone
ChampionAsh5357 replied to LeviathanFish's topic in Modder Support
Normally, the spawn chunk is protected from being broken. There is a setting in the server properties that disables this. -
Try the direct download link instead.
-
You need to set the blit offset to higher than 150 iirc via `#setBlitOffset` before rendering and reset the value after. Screens still render in three dimensions, it's just that the flat two dimensional like projection makes it difficult to see. The blit offset is used to account for this. Still, you need to render the texture after the item has rendered.
- 1 reply
-
- 1
-
Could anyone assist me with this crash?
ChampionAsh5357 replied to MountainMorus's topic in Support & Bug Reports
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 reply
-
- 1
-
Does not create server boot file
ChampionAsh5357 replied to victorcg03's topic in Support & Bug Reports
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). -
displayName of player Model not changing
ChampionAsh5357 replied to Synthesyzer's topic in Modder Support
You need to set the content in `RenderNameTagEvent`. Note, this is a client only event. You will need to sync your manager to the client with the data from the server. You should probably do this every time the kingdom updates. The tick method you have I don't believe does anything since the formatters will set them whenever they need to. -
[1.19.2] Custom conditions linked with player capability
ChampionAsh5357 replied to Lior Hassin's topic in Modder Support
Look at `WorkbenchBlock` and `CraftingMenu` from vanilla. From there, you just need make it possible for the recipe to access the player. If you know some code inspection, it should be simple. From there, come back once you reach a brick in your coding. It's much easier to work from some midpoint so that we can clarify and explain where to go from there instead of teaching from scratch. -
JSON replacement is a vanilla system using datapacks. You can modify behavior in any which way without worrying. I've already explained above. Override recipes and loot table JSONs for changing/disabling things. If not supported, use an associated event. Since you want the recipes to be unlocked based upon the player, you will most likely need to create a new block which supports taking in the player as part of the recipe calculation.