- InventoryItem* createPickedUpItem(){return NULL;}
- u16 punch(const std::string &toolname, v3f dir);
+ int punch(v3f dir,
+ const ToolCapabilities *toolcap=NULL,
+ ServerActiveObject *puncher=NULL,
+ float time_from_last_punch=1000000);
+ void rightClick(ServerActiveObject *clicker);
+ void setPos(v3f pos);
+ void moveTo(v3f pos, bool continuous);
+ float getMinimumSavedMovement();
+ std::string getDescription();
+ void setHP(s16 hp);
+ s16 getHP();
+ /* LuaEntitySAO-specific */
+ void setVelocity(v3f velocity);
+ v3f getVelocity();
+ void setAcceleration(v3f acceleration);
+ v3f getAcceleration();
+ void setYaw(float yaw);
+ float getYaw();
+ void setTextureMod(const std::string &mod);
+ void setSprite(v2s16 p, int num_frames, float framelength,
+ bool select_horiz_by_yawpitch);
+ std::string getName();
+ void setArmorGroups(const ItemGroupList &armor_groups);