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 Details

    • spawnArmorStand

      @Nonnull public static ArmorStand spawnArmorStand(@Nonnull 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 ArmorStand spawnArmorStand(@Nonnull 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