Class ArmorStandUtils

java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.ArmorStandUtils

public class ArmorStandUtils extends Object
This class holds utilities for ArmorStand, useful for classes dealing with ArmorStands that are not from HologramsService
Author:
JustAHuman
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.entity.ArmorStand
    spawnArmorStand(org.bukkit.Location location)
    Spawns an ArmorStand at the given Location
    Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away
    static org.bukkit.entity.ArmorStand
    spawnArmorStand(org.bukkit.Location location, String customName)
    Spawns an ArmorStand at the given Location with the given custom name
    Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • spawnArmorStand

      @Nonnull public static org.bukkit.entity.ArmorStand spawnArmorStand(@Nonnull org.bukkit.Location location, @Nonnull String customName)
      Spawns an ArmorStand at the given Location with the given custom name
      Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away
      Parameters:
      location - The Location to spawn the ArmorStand
      customName - The String custom name the ArmorStand should display
      Returns:
      The spawned ArmorStand
    • spawnArmorStand

      @Nonnull public static org.bukkit.entity.ArmorStand spawnArmorStand(@Nonnull org.bukkit.Location location)
      Spawns an ArmorStand at the given Location
      Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away
      Parameters:
      location - The Location to spawn the ArmorStand
      Returns:
      The spawned ArmorStand