• 0

    posted a message on Macro / Keybind Mod

    Is it possible to press a button in the trading screen with villagers?

    I want to trade my emeralds to some specific items. Please help :)

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from andergtk»

    There is a "CONTINUE" statement like in Java? To early-terminate a loop's processing and thereby avoid deeply-nested "IF" statements.


    I think BREAK will do.

    http://mkb-wiki.herokuapp.com/wiki/commands?usage64=QlJFQUs
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Can I have both left and right mouse button keep clicked?

    I could use it for making a large amount of concrete.

    Posted in: Minecraft Mods
  • 0

    posted a message on Note Block Display (with GUI)

    Thanks!!


    ps. Piano GUI is so intuitive and simple, I can't imagine better one :)

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from tdue21»

    Awesome, thank you. I will try to work with this myself. But I will be looking forward to anything you can cook up :)


    Oh.. forget the boundary things. I tried making scripts using boundaries, but I found it not working. Fortunately your idea was right. But strangely the sign should be opposite.


    bind these lines to Key Down and Key Held of each arrow keys, and set repeat delay to 1 ms (See the image I attached)


    LEFT:

    $${#yaw = YAW;INC(#yaw,1);LOOK(%#yaw%,,1);}$$

    RIGHT:

    $${#yaw = YAW;DEC(#yaw,1);LOOK(%#yaw%,,1);}$$

    UP:

    $${#pitch = PITCH;DEC(#pitch,40);LOOK(YAW,%#pitch%,1);}$$

    DOWN:

    $${#pitch = PITCH;INC(#pitch,40);look(YAW,%#pitch%,1);}$$


    If you think UP and Down keys are too slow, increase numbers inside of DEC and INC functions.


    This is not 100% perfect. There are two problems.

    First one is when you press two keys simultaneosly(ex. LEFT and UP), it is slower than pressing single key and not very smooth. Second and minor problem is when you press LEFT or RIGHT key, if you pass SOUTH direction the screen is slightly distorted.


    So I hope someone make better scripts.. :)

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from tdue21»

    I have tried searching this thread, but I must admit to being overwhelmed by the amount of posts to sift through.

    I will instead risk repeating a question that may already have been answered.


    I have some physical issues regarding using a mouse, and thus was wondering if I could use this mod to bind the mouse movements to the arrow keys?

    I would like something like:


    LEFT: WHILE(pressed) Change YAW by -15

    RIGHT: WHILE(pressed) Change YAW by +15

    UP: WHILE(pressed) Change PITCH by -15

    DOWN: WHILE(pressed) Change PITCH by +15


    I have tried using both LOOK and LOOKS function, but I can't seem to get it to work.


    Anyone here that is able to help?




    I found relations between "yaw and pitch values" and character's head direction..

    First of all, YAW and PITCH values are integers, not floats.


    1. YAW

    When a player is looking NORTH, YAW value is 0

    When a player is looking EAST, YAW value is 90

    When a player is looking SOUTH, YAW value is 180

    When a player is looking WEST, YAW value is 270

    So.. you’ll have to make a boundary so when your YAW is 359 and RIGHT key is pressed(so the player turns clockwise), YAW value should be 0 instead of 360, and similar way in the opposite case pressing LEFT key.


    2. PITCH

    PITCH value is a little trickier. You would want to use PITCH values between 270 and 450 inclusive.

    When a player is looking directly above, PITCH value is 270.

    As PITCH value increases, player’s angle will be lower.

    When a player is looking straight ahead, PITCH value is 360.

    When a player is looking own feet, PITCH value is 450.

    (PITCH values between 0 and 90 are also valid, but I think this makes me confused.)

    So, if you make a boundary between 270 and 450 it should be fine.


    When a have another free time I’ll try to make script you want.. 😊

    Posted in: Minecraft Mods
  • 0

    posted a message on Note Block Display (with GUI)

    @xaero_ Glad to see this mod back :D When I made note blocks on survival server this mod was so much helpful.

    I wonder if you have plan to update this mod with new 1.12 note block mechanics. They added some new sounds (like gold block below note block makes chime bell sound, other make guitar.. and so on). If your mod support these new sounds I think it would be perfect :)


    Sounds

      • New note block sounds
        • Bone block = xylophone
        • Block of gold = bell
        • Clay = flute
        • Packed ice = chime
        • Wool = guitar
    Posted in: Minecraft Mods
  • 0

    posted a message on Schematica
    Quote from Xcom6000»

    GitHubLynx did a pull 4 days ago and stealth updated schematica to 1.12. I hope I'm not stepping on Lunatrius toes but its out for anyone who is interested.


    I tried Compiling GitHubLynx's version, but I failed on 'gradlew setupDevWorkspace' process on schematica. It was successful compiling Lunatriscore though. I wonder it is only me failing to compile schematica of that version.
    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod
    Quote from Mart3323»

    I see you have spaces after your commas.
    Normally that's very good style, but this mod's lexer is a little different, and spaces after commas confuse it IIRC =(


    Without spaces It works well. Now I can make my charachter nod.. Thank you sir :D

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    [pitch] parameter in LOOK and LOOKS command is ignored for me. :(


    my code is like


    #pitch = 40
    LOG(pitch value %#pitch%)
    LOOKS(90, %#pitch%, 3);


    I tried variable like above, and also tried constant argument like LOOKS(90, 0, 3). However, whatever value I use in pitch parameter, player's "pitch" is not moving at all(yaw angle works very well). Am I doing something wrong? My minecraft version is 1.11.2 and version of mod is 0.14.4. Thanks in advance!

    Posted in: Minecraft Mods
  • 0

    posted a message on Macro / Keybind Mod

    Can I get an example script for eating food?


    I tried something like


    pick("cooked_beef");

    do(150);
    key(use);
    loop;


    It changes my activated item slot to food, but doesn't make my character eat.


    EDIT: I found the solution here

    Posted in: Minecraft Mods
  • To post a comment, please .