Class LuaEntity
java.lang.Object
dev.selena.luacore.utils.entities.LuaEntity
Used for handling of LuaCore Entities
-
Constructor Summary
ConstructorDescriptionLuaEntity
(org.bukkit.entity.Entity entity) used for setting up stuff for the LuaEntity -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isLuaEntity
(org.bukkit.entity.Entity entity) Used for seeing if an entity is a LuaEntity (This is plugin-specific)
-
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
-