Allows you to spawn NMS armor stands easily
Maven repo:
Code (Text):
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.RaiTaki</groupId>
<artifactId>NMSStandAPI</artifactId>
<version>v0.1</version>
</dependency>
EXAMPLE:
Code (Text):
NMSArmorStand stand = new NMSArmorStand(p.getLocation()); // Spawn location
stand.setInvisible(false);
stand.setArms(true);
stand.setInvisible(true);
stand.setMarker(true);
stand.setSmall(true);
stand.setCustomName("aaa");
stand.setCustomNameVisible(true);
stand.setEquipment("head", new ItemStack(Material.Iron_Sword)) // mainhand -- offhand -- feet -- legs -- chest -- head
stand.setBodyrotation(new Vector3f(50,50,50)); // Rotation
stand.setheadRotation(new Vector3f(50,50,50));
stand.setLeftarmrotation(new Vector3f(50,50,50));
stand.setLeftlegrotation(new Vector3f(50,50,50));
stand.setRightarmrotation(new Vector3f(50,50,50));
stand.setRightlegrotation(new Vector3f(50,50,50));
stand.spawn(); //Spawns stand
stand.display(p.getLocation(), 0D); // Displays around that location, if radius is 0 sends packets to all players if radius > 0, sends to players in radius