Jump to content

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

Tree Puncher (2/8)

0

Reputation

  1. 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)'
  2. 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); }
  3. I want to make a gui based on the CEF mod (chromium browser) and display item icons there
  4. I want to save the result of ItemRenderer#renderGuiItem to a png file. How to do it? Is it even possible?
  5. 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?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.