Class ArmorStandWrapper
java.lang.Object
de.eldoria.eldoutilities.serialization.wrapper.ArmorStandWrapper
- All Implemented Interfaces:
ConfigurationSerializable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArmorStandWrapper
serialize
(ArmorStand armorStand) Wraps the armor stand into an serializable object.Spawns the wrapped armor stand at the requested location
-
Constructor Details
-
ArmorStandWrapper
-
-
Method Details
-
serialize
Wraps the armor stand into an serializable object.- Parameters:
armorStand
- armor stand to wrap- Returns:
- wrapped armor stand object.
-
serialize
- Specified by:
serialize
in interfaceConfigurationSerializable
-
spawn
Spawns the wrapped armor stand at the requested location- Parameters:
location
- location of armor stand- Returns:
- spawned entity
-