SPIGOT-974: Add ArmorStand locking API

By: Martoph <sager1018@gmail.com>
This commit is contained in:
CraftBukkit/Spigot
2020-08-23 09:53:19 +10:00
parent 4625e066e8
commit 8a80efc01d
2 changed files with 26 additions and 0 deletions

View File

@@ -16,6 +16,15 @@
public class EntityArmorStand extends EntityLiving {
private static final Vector3f bj = new Vector3f(0.0F, 0.0F, 0.0F);
@@ -29,7 +38,7 @@
private final NonNullList<ItemStack> armorItems;
private boolean armorStandInvisible;
public long bi;
- private int bv;
+ public int bv; //PAIL private -> public, rename disabledSlots
public Vector3f headPose;
public Vector3f bodyPose;
public Vector3f leftArmPose;
@@ -55,6 +64,13 @@
this.setPosition(d0, d1, d2);
}