#863: Add LivingEntity#isClimbing

This commit is contained in:
Martoph 2021-06-14 19:11:46 +10:00 committed by md_5
parent 77058c79de
commit 3252ff189c
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

View File

@ -606,6 +606,11 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
return getHandle().isSleeping(); return getHandle().isSleeping();
} }
@Override
public boolean isClimbing() {
return getHandle().isClimbing();
}
@Override @Override
public AttributeInstance getAttribute(Attribute attribute) { public AttributeInstance getAttribute(Attribute attribute) {
return getHandle().craftAttributes.getAttribute(attribute); return getHandle().craftAttributes.getAttribute(attribute);