Jump to content
Search In
  • More options...
Find results that contain...
Find results in...



Recommended Posts

Hello! whenever I use the processrightclick method it does nothing... here's my code!

using the click

public void openMarketContainer() {
        if (Mineclub.controller != null) {
            Mineclub.controller.processRightClick(Mineclub.player, Mineclub.player.world, Hand.MAIN_HAND);
        } else {
            Mineclub.controller.processRightClick(Mineclub.player, Mineclub.player.world, Hand.MAIN_HAND);

creating the playercontroller

 public static void setController() {
        clienthandler = Minecraft.getInstance().getConnection();
        if (clienthandler != null) {
            controller = new PlayerController(Minecraft.getInstance(), clienthandler);
            Mineclub.player.sendMessage(new StringTextComponent("Created CONTROLLER"), UUID.fromString("195953ec-9073-4c89-8c96-345821c9ce14"));
            if (controller == null) {
                Mineclub.player.sendMessage(new StringTextComponent("CONTROLLER IS NULL"), UUID.fromString("195953ec-9073-4c89-8c96-345821c9ce14"));
        } else {
            Mineclub.player.sendMessage(new StringTextComponent("Client Handler Null"), UUID.fromString("195953ec-9073-4c89-8c96-345821c9ce14"));


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.