mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Left handed API
This commit is contained in:
parent
8f72ada8c9
commit
5c9be07722
1 changed files with 16 additions and 0 deletions
|
@ -204,4 +204,20 @@ public interface Mob extends LivingEntity, Lootable {
|
||||||
*/
|
*/
|
||||||
void setAggressive(boolean aggressive);
|
void setAggressive(boolean aggressive);
|
||||||
// Paper end - Missing Entity API
|
// Paper end - Missing Entity API
|
||||||
|
|
||||||
|
// Paper start - left-handed API
|
||||||
|
/**
|
||||||
|
* Check if Mob is left-handed
|
||||||
|
*
|
||||||
|
* @return True if left-handed
|
||||||
|
*/
|
||||||
|
public boolean isLeftHanded();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set if Mob is left-handed
|
||||||
|
*
|
||||||
|
* @param leftHanded True if left-handed
|
||||||
|
*/
|
||||||
|
public void setLeftHanded(boolean leftHanded);
|
||||||
|
// Paper end - left-handed API
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue