Class ArmorStandUtils
java.lang.Object
io.github.thebusybiscuit.slimefun4.utils.ArmorStandUtils
This class holds utilities for
ArmorStand
, useful for classes
dealing with ArmorStand
s that are not from HologramsService
- Author:
- JustAHuman
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArmorStand
spawnArmorStand
(Location location) Spawns anArmorStand
at the givenLocation
Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Awaystatic ArmorStand
spawnArmorStand
(Location location, String customName) Spawns anArmorStand
at the givenLocation
with the given custom name
Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away
-
Method Details
-
spawnArmorStand
@Nonnull public static ArmorStand spawnArmorStand(@Nonnull Location location, @Nonnull String customName) Spawns anArmorStand
at the givenLocation
with the given custom name
Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away- Parameters:
location
- TheLocation
to spawn theArmorStand
customName
- TheString
custom name theArmorStand
should display- Returns:
- The spawned
ArmorStand
-
spawnArmorStand
Spawns anArmorStand
at the givenLocation
Set Properties: Invisible, Silent, Marker, No-Gravity, No Base Plate, Don't Remove When Far Away- Parameters:
location
- TheLocation
to spawn theArmorStand
- Returns:
- The spawned
ArmorStand
-