mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 12:27:59 +01:00
Left handed API
This commit is contained in:
parent
4180e72054
commit
b2715aeeed
@ -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 New Issue
Block a user