• 0

    posted a message on Dividing all scores in an objective by N

    Thank you! This is exactly what I was looking to do.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Dividing all scores in an objective by N

    Hello everyone.


    I'm trying to divide all players scores for a certain objective by a certain amount.

    In my dividing centimeters walked by 100 to achieve meters walked.


    Here is my data so far:

    +--------+-------+
    | Player | Score |
    +--------+-------+
    | p1     | 500   |
    +--------+-------+
    | p2     | 820   |
    +--------+-------+
    | p3     | 9900  |
    +--------+-------+



    Now, I want to divide all scores by 100.

    +--------+-------+
    | Player | Score |
    +--------+-------+
    | p1 | 5 |
    +--------+-------+
    | p2 | 8 |
    +--------+-------+
    | p3 | 99 |
    +--------+-------+

    I've been using /execute run @a scoreboard players operation @p... to run an operation on each individual score. I just need some help doing cmWalked / 100 = mWalked.

    Thanks,

    xcvr48.

    Posted in: Commands, Command Blocks and Functions
  • 0

    posted a message on Factorio like inventory management

    Hello all. I've been playing Factorio for a bit now, and have recently gotten back into Minecraft. I'm wondering if anybody here can create a small mod to implement some (or all?) of the inventory management shortcuts in Factorio. I find them to be very useful and would love to see them in Minecraft.


    Here are a few of the shortcuts:

    - CTRL + M1 on an item: Transfer all, or as many as possible, of the same item into the player's inventory or the open inventory

    - CTRL + M1 on an empty slot: Transfer all, or as many of as possible, of all items in the inventory into the player's inventory or the open inventory.

    - SHIFT + M2 on an item: Like shift click we have already in Minecraft, but only transfers half the stack.

    - CTRL + M2 on an empty slot/item: Like CTRL + M1 above, but only half


    Here's a better list of all the shortcuts.


    Thanks,

    xcvr48.

    Posted in: Requests / Ideas For Mods
  • To post a comment, please or register a new account.