hi guys !
trying to write my own script ,
could you please show me an example of how to interact with a entity ie oak tree (correctly)
once i define a entity ie "oak tree" do i have to write full name in other lines? or just "tree"
private State getState() {
Entity Oak_tree = getObjects().closest("Oak tree");
if (!inventory.isFull())
return State.BANK;
if (Oak_tree != null)
return State.CHOP;
return State.WAIT;
a snippet of how to change camera angle would me epic also!
i have
this.client.rotateCameraPitch(50 + random(40));
the rotatecamerapitch part has no reference :\
would appreciate any help , thank you !