DebilasTuNX
-
Posts
4 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by DebilasTuNX
-
-
But what about bones, if i pick them up and bury them, how would i do it then?private long feathersCollected;private long prevInvCount;@Overridepublic void onStart(){ prevInvCount = getInventory().getAmount("Feather");}@Overridepublic int onLoop(){ long invCount = getInventory().getAmount("Feather"); if(invCount > prevInvCount) featherCount += (invCount - prevInvCount); else prevInvCount = invCount; ...}
-
How to track how much i picked up of one specific item? I want to kill chickens and track how many feathers i gain
How to track how much i picked up of one specific item?
in Scripting Help
Posted