• 1

    posted a message on No Tridents in Drowned farm?

    Yes, this is a farm based on that one by Ilmango but a bit smaller. Like I say, I'm not drowning zombies. I *am* getting nautilus shells so what is in their hands appears to be being harvested but no tridents so far. I was using a looting 3 sword when I got the trident I have but by my understanding, that only increases the odds a little. Ilmango's farm does have you kill the drowned yourself though.


    I may try setting up a farm on a different server so I don't affect others with afk.

    Posted in: Survival Mode
  • 0

    posted a message on No Tridents in Drowned farm?

    So I have a somewhat slow drowned farm on an SMP server. I just AFKed it for a while (actually by accident) and now I have a double chest full of zombie flesh, a stack and a quarter of nautilus shells and some other sundry items. But no tridents. I do actually have a trident from before I set up the kill room and killed them manually. I was about 6 nautilus shells in before I got it. So is this just statistics or are the tridents falling to my lava blade somehow (picture attached)?


    This is a river biome drowned farm and I'm not drowning zombies just to be clear.

    Posted in: Survival Mode
  • 0

    posted a message on Placing blocks, client to server. Sanity check?

    I basically have it figured out. The client sends a CPlayerTryUseItemOnBlockPacket. This makes things a little tricky as instead of just "place a block here", I have to work out which part of an existing block I'm applying the new block to. Nothing too complicated though. I already have the item slot changer worked out. and moving around.

    Posted in: Modification Development
  • 0

    posted a message on Enabling debugging of network packets?

    I've been trying to enable the debugging of network packets as described here:


    https://wiki.vg/Debugging


    I haven't had any luck though. I've tried the XML in the .minecraft directory, the versions\1.16.2 directory and with the full path specified elsewhere on my C drive. It never complains the file is missing but also never seems to process it. I tried changing the logfile name in the XML but it always goes to latest.log which indicates it is ignoring the file (yet I still see the -D option in the launcher log).


    [Info: 2020-11-05 18:58:31.4322019: ClientStarter.cpp(818)] Java argument:-Dlog4j.configurationFile=c:\scratch\log4j2.xml

    And I have tried / instead of \


    Unfortunately, there's not a lot of alternative info but I did find this https://bugs.mojang.com/browse/MCL-13018 which makes me think it may not just be me. Does anyone have the skinny on this?

    Posted in: Java Edition Support
  • 0

    posted a message on Placing blocks, client to server. Sanity check?

    Thanks. This will be to work with a vanilla server (or at least not be a server based mod) so I'm wanting to use the base protocol. I found a mod called paver hack which works similarly to what I want to do but there is no source so I'm not sure if its methods are still possible (it works by moving the player so possibly).


    Next step is probably to add a bunch of debugging to the network layer. Unless that's an option I can turn on anyway.

    Posted in: Modification Development
  • 0

    posted a message on Placing blocks, client to server. Sanity check?

    So I want a modded client to tell the server to place blocks from the player. From what I can read, this was done, at some point, by sending a packet containing the information about where the block was to be placed. This seems simple enough. Digging through the source, I don't appear to be able to find anything remotely like this and it's looking like what is sent in terms of the protocol is "the player is here", "the player is looking there", "the player has right-clicked". I.e. much lower-level stuff. Does this make sense or am I barking up the wrong tree?

    Posted in: Modification Development
  • 0

    posted a message on [Solved] Custom Jar and authentication for SMP

    Thanks. I actually just got it working and I think a posting from you was part of it. There were two things, first the json file as you say. I was trying to copy from fabric but should have used a previous version (the fabric one was simpler so I was hoping to get away with that). This was the thread that helped:


    https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/modification-development/2911748-creating-a-launch-profile-for-my-mod


    (Yes, it was you so double thanks)


    It *still* wouldn't work after that but different issue. I had to add assets and data folders to the jar. The info for that came from here


    https://github.com/Hexeption/MCP-Reborn/issues/41


    I used 7z for the same effect


    Now it's working. I'll take a look at the rest of your comment in a second but it looks detailed so I just wanted to get this out first.

    Posted in: Modification Development
  • 0

    posted a message on [Solved] Custom Jar and authentication for SMP

    So I got everything decompiled with MCP-reborn with no issues and first step is just to compile a new version of MC with no changes (I'm using Intellij). Runclient brings up Minecraft no problem. Unfortunately, when I go to do multiplayer, it gives me an error (of course) because I'm not starting it through the launcher.


    So I took a look at the versions folder for the official launcher. I already have fabric-loader installed so I tried copying the json from that and modifying it with values that were appropriate to my .jar file. Looked good at first but, of course, the launcher had actually overwritten the .jar file with the official one. I figured it had to know which version to replace it with so I took out the "inheritsFrom" line but now it just crashes (exit code 0).


    So can anyone tell me how to run my modded client with logging in? It doesn't particularly matter how though obviously, one that integrates with the original launcher would be preferred.I have tried searching for the answer for this but mostly what I've come up with is really old and out-of-date stuff. I'm not even asking for a detailed answer but if anyone can point me in the right direction, it would be much appreciated.


    Here is my json file for inspection.

    {
    
      "id": "zap-1.16.2",
      "releaseTime": "2020-10-17T23:32:50-0500",
      "time": "2020-10-17T23:32:50-0500",
      "type": "release",
      "mainClass": "net.minecraft.client.main.Main",
      "arguments": {
        "game": []
      }
    } 

    This is the error I get from the launcher. This is odd as it looks to me like this is the class that works for runclient from intellij


    [Info: 2020-10-27 00:53:50.4054885: GameCallbacks.cpp(163)] Game/game () Info Error: Could not find or load main class net.minecraft.client.main.Main

    Posted in: Modification Development
  • To post a comment, please .