mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Left handed API
This commit is contained in:
parent
4180e72054
commit
b2715aeeed
1 changed files with 10 additions and 0 deletions
|
@ -145,6 +145,16 @@ public abstract class CraftMob extends CraftLivingEntity implements Mob {
|
|||
public int getMaxHeadPitch() {
|
||||
return getHandle().getMaxHeadXRot();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLeftHanded() {
|
||||
return getHandle().isLeftHanded();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setLeftHanded(boolean leftHanded) {
|
||||
getHandle().setLeftHanded(leftHanded);
|
||||
}
|
||||
// Paper end
|
||||
|
||||
// Paper start
|
||||
|
|
Loading…
Reference in a new issue