ScriptEntity:

-Added setInvisible, setSneaking, setSprinting, and getUniqueID() functions.

ScriptLivingBase:
-Added getLookVec() function

ScriptPlayer:
-Added stopUsingItem(), clearItemInUse(), playSound(name,volume,pitch), mountEntity(entity), dropOneItem(shouldDropStack), canHarvestBlock(block), interactWith(entity) functions
This commit is contained in:
Luis C.M committed 2022-05-03 11:26:04 -05:00
1 parent 8db16459df
commit d41b3b7a7e
3 files changed
+50 -4

No files matched your search

@@ -117,6 +117,10 @@ public class ScriptLivingBase<T extends EntityLivingBase> extends ScriptEntity<T
public void swingHand(){
entity.swingItem();
}
public String getLookVec(){
return entity.getLookVec().toString();
}
/**
* Works the same as the <a href="http://minecraft.gamepedia.com/Commands#effect">/effect command</a>