xkorot
Members-
Posts
6 -
Joined
-
Last visited
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
xkorot's Achievements
Tree Puncher (2/8)
0
Reputation
-
Hello. How to patch vanilla server classes? I cloned the forge repository. Edited the class. Executed the command genPatches, then build. Found a ready-made file with ready-made classes (projects/forge/build/libs/forge-1.18.2-0.0.0.jar). Where do I put these classes so that they are on the server? I'm try to put into libraries/net/minecraft/server/1.18.2-20220404.173914/server-1.18.2-20220404.173914-srg.jar Or libraries/net/minecraftforge/forge/1.18.2-40.2.0/forge-1.18.2-40.2.0-server.jar But get exception Caused by: java.lang.NoSuchMethodError: 'net.minecraft.network.chat.FormattedText net.minecraft.network.chat.FormattedText.m_130775_(java.lang.String)'
-
I'm trying to make a block with gui, where save and load some NBT data. I put my data in method. But if quit and join to world, data is empty. How to update nbt? @Override protected void saveAdditional(CompoundTag nbt) { nbt.put("mykey", myvalue); }
-
[1.18.2] ItemRenderer#renderGuiItem save result to png file
xkorot replied to xkorot's topic in Modder Support
I want to make a gui based on the CEF mod (chromium browser) and display item icons there -
I want to save the result of ItemRenderer#renderGuiItem to a png file. How to do it? Is it even possible?
-
Hi! How to get server response, when I send custom packet from client? In old version 1.12.2 I just return my response in IMessageHandler public IMessage onMessage(MyPacket message, MessageContext ctx) { //some code... return response; } is it possible in 1.18.2?