Commits

Martoph authored and md_5 committed 850e7b14008
SPIGOT-974: Add ArmorStand locking API
No tags

nms-patches/EntityArmorStand.patch

Modified
9 9 +import org.bukkit.craftbukkit.CraftEquipmentSlot;
10 10 +import org.bukkit.craftbukkit.inventory.CraftItemStack;
11 11 +import org.bukkit.entity.ArmorStand;
12 12 +import org.bukkit.entity.Player;
13 13 +import org.bukkit.event.player.PlayerArmorStandManipulateEvent;
14 14 +// CraftBukkit end
15 15 +
16 16 public class EntityArmorStand extends EntityLiving {
17 17
18 18 private static final Vector3f bj = new Vector3f(0.0F, 0.0F, 0.0F);
19 +@@ -29,7 +38,7 @@
20 + private final NonNullList<ItemStack> armorItems;
21 + private boolean armorStandInvisible;
22 + public long bi;
23 +- private int bv;
24 ++ public int bv; //PAIL private -> public, rename disabledSlots
25 + public Vector3f headPose;
26 + public Vector3f bodyPose;
27 + public Vector3f leftArmPose;
19 28 @@ -55,6 +64,13 @@
20 29 this.setPosition(d0, d1, d2);
21 30 }
22 31
23 32 + // CraftBukkit start - SPIGOT-3607, SPIGOT-3637
24 33 + @Override
25 34 + public float getBukkitYaw() {
26 35 + return this.yaw;
27 36 + }
28 37 + // CraftBukkit end

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut