-
[1.14.4] GUI. Clickable word in text
There is a line of text ( FontRender#drawSplitString() ). It contains the word #clickMe#. How do I process a click on a selected word? I want to make an analog of <a href="#">ClickMe</a>. In other words, I have a GUI where large text is displayed. I need to perform actions when I click on certain words. How can this be done?
-
[1.14.4] What is the best way to remove vanilla recipes?
I read various topics and tried to override the recipe using JSON, returning either AIR or "count": 0. The method works, but the "empty" recipe remains in the recipe book, choosing which crafting grid is filled, but there is no result. How to remove a recipe from a book? Or maybe there is another way to delete recipes? Through the registrar, I could not delete the recipe.
-
[1.12] Block meta
In 1.7.10 there is a method world.setBlockMetadataWithNotify(). How to do similar in 1.12?
-
[1.12] Upgrade to the new version
Thank you! I'm planning to start re-writing the code. The question is, will not I have to rewrite the mod for 1.13 if I now rewrite the mod for 1.12?
-
[1.12] Upgrade to the new version
I plan to update the mod from 1.7.10 to 1.12+. And in the spring it is planned to update 1.13. Because I have such a question ... And how much different are the new versions from the inside? (1.8-1.12) If directly, is it worth waiting for 1.13? Or can I start now to go to 1.12?
-
[1.8] How to set Difficulty.HARD for new world by default
In single player. On the server it is possible to configure in the configuration, but in single player, players forget to set the mode to Hard.
-
[1.8] How to set Difficulty.HARD for new world by default
How to set Difficulty.HARD for new world by default?
-
[1.8] Disable sleep
* This event is not {@link Cancelable}.
-
[1.8] Disable sleep
How to turn off sleep? When not all players sleep on the server, the player simply lies on the bed. How to do also, but in a single player game?
-
[1.8] Compass target
How do I change the point the compass points to? In a Bukkit this is easy. But I do not understand how to do this in Forge.
-
[1.8] MinecraftForge.addGrassPlant
In older versions, there was such a method. In the new there. Is there an analog? It adds to the spawn new plants when using bone meal on a block of land. Thanks!
-
[1.7.10] Remove vanilla furnace
There is an option to make your furnace, but then to remove from the game the old furnace? That is, replace the old furnace during generation (for example, a village) with a new one or simply delete it?
IPS spam blocked by CleanTalk.