will program for free PS: i only know the basics but am willing to work hard and learn alot
1
If you're just starting out with Java, my request may not be easy...
I was looking for a custom mouse/keyboard shortcut mod. There are already some mods out there which do addshortcuts, however I have not found any so far that fit my needs. If you have the time or desire to fill this request, then thanks!
What I would like: A mod which adds the ability to make custom inventory key/mouse press shortcuts via a configuration file, in a list format something like this, when the given conditions are met (perhaps if a field is left blank or not included in the config for a shortcut it is ignored for that shortcut?):
Example Shortcut:
Conditions:
-Buttons:(key or mouse button type pressed, multiple values separated with comma)
-Inv_Type:(inventory type you have open)
-Slot:(inventory slot # the mouse pointer is hovering over upon pressing the button, if multiple values are specified, hovering over any one is accepted)
-Item_Amount:(Item amount in slot the mouse is hovering over)
-Item_Type:(Type of item in the slot mouse is hovering over, as numerical id)
Results:
-move:(slot numbers/slot the mouse is over, multiple values separated with comma)
-place:(slot number/slot the mouse is over to place the above slot's items in, multiple values separated with comma. If more values are specified above than in the "place" node, only move the amount of slots from the "move" node as will fit in the slots allotted in the "place" node. The same applies if there is physically no more inv space; don't move the items. The order for movement will follow a pattern of
-move: 1,2,3,4
............VVVV
-place: 5,6,7,8
So that 1 moves to 5, 2 moves tot 6, ect.
If a specified slot is full, use the next available slot in the inv to place in.)
To demonstrate what I meant by the complexness above, here's an example:
Hotbar_to_inv:
Conditions:
-Buttons: space,LShift,Button1-This requires you press space, left shift, and left click
-Inv_Type: Inventory-This requires that you have the normal character inv open
-Slot: -this node is blank, and is ignored
-Item_Amount: -this node is blank, and is ignored
-Item_Type: -This node is blank, and is ignored
Results:
-Move: 1,2,3,4,5,6,7,8,9-this selects your entire hotbar to be moved.
-Place: 10,11,12,13,14,15,16,17,18-this moves the stuff to the top of your inv
Another example:
Inv_to_chest:
Conditions:
-Buttons: space,Button2-This requires you press space, and left click
-Inv_Type: chest-This requires that you have a small chest inc open
-Slot: -this node is blank, and is ignored
-Item_Amount: -this node is blank, and is ignored
-Item_Type: -This node is blank, and is ignored
Results:
-Move: mouse
-Place: (whatever the id of the first slot is in the chest part of the inv)
Feel free to alter this to be better. If you can program this, that'll be great for people who would like a mod like this, and you may learn a ton of new Java techniques!
Thanks,
LordDarthBob
I was looking for a custom mouse/keyboard shortcut mod. There are already some mods out there which do addshortcuts, however I have not found any so far that fit my needs. If you have the time or desire to fill this request, then thanks!
What I would like: A mod which adds the ability to make custom inventory key/mouse press shortcuts via a configuration file, in a list format something like this, when the given conditions are met (perhaps if a field is left blank or not included in the config for a shortcut it is ignored for that shortcut?):
Example Shortcut:
Conditions:
-Buttons:(key or mouse button type pressed, multiple values separated with comma)
-Inv_Type:(inventory type you have open)
-Slot:(inventory slot # the mouse pointer is hovering over upon pressing the button, if multiple values are specified, hovering over any one is accepted)
-Item_Amount:(Item amount in slot the mouse is hovering over)
-Item_Type:(Type of item in the slot mouse is hovering over, as numerical id)
Results:
-move:(slot numbers/slot the mouse is over, multiple values separated with comma)
-place:(slot number/slot the mouse is over to place the above slot's items in, multiple values separated with comma. If more values are specified above than in the "place" node, only move the amount of slots from the "move" node as will fit in the slots allotted in the "place" node. The same applies if there is physically no more inv space; don't move the items. The order for movement will follow a pattern of
-move: 1,2,3,4
............VVVV
-place: 5,6,7,8
So that 1 moves to 5, 2 moves tot 6, ect.
If a specified slot is full, use the next available slot in the inv to place in.)
To demonstrate what I meant by the complexness above, here's an example:
Hotbar_to_inv:
Conditions:
-Buttons: space,LShift,Button1-This requires you press space, left shift, and left click
-Inv_Type: Inventory-This requires that you have the normal character inv open
-Slot: -this node is blank, and is ignored
-Item_Amount: -this node is blank, and is ignored
-Item_Type: -This node is blank, and is ignored
Results:
-Move: 1,2,3,4,5,6,7,8,9-this selects your entire hotbar to be moved.
-Place: 10,11,12,13,14,15,16,17,18-this moves the stuff to the top of your inv
Another example:
Inv_to_chest:
Conditions:
-Buttons: space,Button2-This requires you press space, and left click
-Inv_Type: chest-This requires that you have a small chest inc open
-Slot: -this node is blank, and is ignored
-Item_Amount: -this node is blank, and is ignored
-Item_Type: -This node is blank, and is ignored
Results:
-Move: mouse
-Place: (whatever the id of the first slot is in the chest part of the inv)
Feel free to alter this to be better. If you can program this, that'll be great for people who would like a mod like this, and you may learn a ton of new Java techniques!
Thanks,
LordDarthBob
