Class LuaEntity

java.lang.Object
dev.selena.luacore.utils.entities.LuaEntity

public class LuaEntity extends Object
Used for handling of LuaCore Entities
  • Constructor Summary

    Constructors
    Constructor
    Description
    LuaEntity(org.bukkit.entity.Entity entity)
    used for setting up stuff for the LuaEntity
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isLuaEntity(org.bukkit.entity.Entity entity)
    Used for seeing if an entity is a LuaEntity (This is plugin-specific)

    Methods inherited from class java.lang.Object

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

    • LuaEntity

      public LuaEntity(org.bukkit.entity.Entity entity)
      used for setting up stuff for the LuaEntity
      Parameters:
      entity - The entity you want to parse
  • Method Details

    • isLuaEntity

      public static boolean isLuaEntity(org.bukkit.entity.Entity entity)
      Used for seeing if an entity is a LuaEntity (This is plugin-specific)
      Parameters:
      entity - The entity you want to check
      Returns:
      True if contains the "LuaCoreEntity" NBT for your plugin