Han Posted August 4, 2016 Share Posted August 4, 2016 Does anyone know how many milliseconds it takes to start a fire at the beginning of an inventory? Need to know asap Quote Link to comment Share on other sites More sharing options...
BurritoBug Posted August 4, 2016 Share Posted August 4, 2016 set a timer when the animation starts Quote Link to comment Share on other sites More sharing options...
Han Posted August 4, 2016 Author Share Posted August 4, 2016 I would, but it'd be so inaccurate Quote Link to comment Share on other sites More sharing options...
RDM Posted August 4, 2016 Share Posted August 4, 2016 778 Quote Link to comment Share on other sites More sharing options...
Explv Posted August 4, 2016 Share Posted August 4, 2016 (edited) Why would you need to know that? I'm assuming you want to know how long to sleep for, if not, disregard this: The simplest way to sleep until a fire is lit, is to sleep until the player's position has changed. The player always moves after lighting a fire, so you can just do something like: Position currentPos = S.myPosition(); if(S.getInventory().getItem("Logs").interact()) { new ConditionalSleep(15_000) { @ Override public boolean condition() throws InterruptedException { return !S.myPosition().equals(currentPos) && !S.myPlayer().isMoving(); } }.sleep(); } Edited August 4, 2016 by Explv 1 Quote Link to comment Share on other sites More sharing options...
FrostBug Posted August 5, 2016 Share Posted August 5, 2016 Pretty sure the first one is random. After that it's 1 tick per log (or 2, not sure) Quote Link to comment Share on other sites More sharing options...
Pak Yak Posted August 6, 2016 Share Posted August 6, 2016 trial n error? lmao Quote Link to comment Share on other sites More sharing options...