Class ArmorStandWrapper
java.lang.Object
de.eldoria.eldoutilities.serialization.wrapper.ArmorStandWrapper
- All Implemented Interfaces:
org.bukkit.configuration.serialization.ConfigurationSerializable
public class ArmorStandWrapper
extends Object
implements org.bukkit.configuration.serialization.ConfigurationSerializable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ArmorStandWrapper
serialize
(org.bukkit.entity.ArmorStand armorStand) Wraps the armor stand into an serializable object.org.bukkit.entity.ArmorStand
spawn
(org.bukkit.Location location) 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 interfaceorg.bukkit.configuration.serialization.ConfigurationSerializable
-
spawn
public org.bukkit.entity.ArmorStand spawn(org.bukkit.Location location) Spawns the wrapped armor stand at the requested location- Parameters:
location
- location of armor stand- Returns:
- spawned entity
-