Class XEntity

java.lang.Object
com.cryptomorin.xseries.XEntity

public class XEntity
extends Object
XEntity - YAML Entity Serializer
Supports 1.9+ Using ConfigurationSection Example:
     ConfigurationSection section = plugin.getConfig().getConfigurationSection("champions.king");
     Entity entity = XEntity.spawn(loc, section);
 
Entity: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Entity.html
Version:
1.1.1
Author:
Crypto Morin
See Also:
XMaterial, XItemStack, XPotion
  • Constructor Summary

    Constructors 
    Constructor Description
    XEntity()  
  • Method Summary

    Modifier and Type Method Description
    static org.bukkit.entity.Entity edit​(org.bukkit.entity.Entity entity, org.bukkit.configuration.ConfigurationSection config)  
    static org.bukkit.entity.Entity spawn​(org.bukkit.Location location, org.bukkit.configuration.ConfigurationSection config)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • spawn

      public static org.bukkit.entity.Entity spawn​(org.bukkit.Location location, org.bukkit.configuration.ConfigurationSection config)
    • edit

      public static org.bukkit.entity.Entity edit​(org.bukkit.entity.Entity entity, org.bukkit.configuration.ConfigurationSection config)