1.12.1
1.12
1.11
1.10
1.9.4
1.9
1.8
1.7.10
Liteloader
If you want to check for crafting gui it should be GUICRAFTING.
Annnnndd I have Curse Prenium? Where did that come from?
The auto farm essentially requires you to hold down right click.
So I would need to find a way to:
1) Hold down right click
2) Minimize
Is this possible in this mod, and how would I go about doing it, please?
Thanks!
Yes. That's what I ended up doing.
1) You'll need a background script that runs KEY(use) over and over
2) No auto-minimize; but just do it yourself.
Thanks
No longer active.
Could you be more specific on 1)?
I'm real newbie to mobds and coding etc etc...
Thanks
There's a setting to not pause when in the ESCAPE menu:
KEYUP/KEYDOWN don't work for attack/use; you must repeat KEY(attack) or KEY(use)
Create a new script file; and bind this to a key (or maybe OnJoinGame if you want to):
In scriptnamehere.txt:
DO -> LOOP is an infinite loop; and KEY(use) is just pressing 'use' once; which simulates holding it down in an infinite loop.
Did you hold macro override while pressing it?, when a GUI is open, your keypresses are generally ignored (wouldn't want to trigger all of your scripts when typing into chat would you? =P)
The script itself looks perfect, just make sure that it actually runs (when in doubt, add a Log("clicking"))
'Cause tomorrow spring is here
Yes, it's been linked constantly, just look at like the last two pages for mkb.bplaced.com/wiki?
And no, you can't detect entities around you, only the one you're physically targetting (aiming at when within punching distance)
'Cause tomorrow spring is here
That was exactly it! Thanks, works great now. Is there any way to activate override via script, so one button press could open a chest then stash my entire inventory?
You can activate scripts via scripts yet, but that's probably not what you want
I recommend making the script something you press before opening the chest in that case
start it with Key(use);Do();Until(GUI = "GUICONTAINER") or whatever the chest is
Or you can just omit the Key(use) to just activate it and have it wait for you to open a chest yourself
'Cause tomorrow spring is here
Code:
BTW I know about the /fill command but this is for 1.7
No longer active.
$${
#xs = XPOS
#ys = YPOS
#zs = ZPOS
Log("&bConstruction started")
#yd = 0
For(#xd,1,9)
#y = #ys + #yd
#z = #zs + #zd
Echo(/setblock %#x% %#y% %#z% gold_block 0 delete)
Log(&b 1/4 layers)
#yd = 1
For(#xd,2,8)
#y = #ys + #yd
#z = #zs + #zd
Echo(/setblock %#x% %#y% %#z% gold_block 0 delete)
Log(&b 2/4 layers)
#yd = 2
For(#xd,3,7)
#y = #ys + #yd
#z = #zs + #zd
Echo(/setblock %#x% %#y% %#z% gold_block 0 delete)
Log(&b 3/4 layers)
#yd = 3
For(#xd,4,6)
#y = #ys + #yd
#z = #zs + #zd
Echo(/setblock %#x% %#y% %#z% gold_block 0 delete)
Log(&b 4/4 layers)
#yd = 4
#xd = 5
#zd = 0
#x = #xs + #xd
#y = #ys + #yd
#z = #zs + #zd
Echo(/setblock %#x% %#y% %#z% beacon 0 delete)
Log(&a Construction complete)
}$$
You could also have another layer of loops for the value of #y because it's a pyramid so it ends up being just one Echo() command used for ALL the blocks, but i hope this is a good balance between readability and logic
Untested (not sure if vanilla?, sounds like it could be), but i'm hoping it should work, or at least get you close to it
Easy, very easy
$${
Prompt(&n,$$[Number of times to loop])
Prompt(&delay,$$[Delay between each command])
Prompt(&command,$$[Command])
Do(%&n%)
Echo(%&command%)
Wait(%&delay%)
Loop
}$$
'Cause tomorrow spring is here
You can either turn it off, set it to ignore commands, turn it to queue (so it just builds slowly from that point on), or put the wait in your script (one wait(1)) after every Echo)
It's tested now though, works fine in my singleplayer
'Cause tomorrow spring is here
Can you decide how this list is formatted?
If it can be like
&list[] = Player1
&list[] = Player2
...etc
then the script simply needs to clear that var, run that file as a script, then loop over the array and echo for each name
'Cause tomorrow spring is here
Now for my question, can anyone please quickly create a script that when I press L it'll type /craft and auto craft Paper? (ID 339) then close it?