Package dev.crafty.core.bridge.mobs
Interface MobBridge
- All Superinterfaces:
Bridge
- All Known Implementing Classes:
MythicMobsBridge
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the type or category name of this bridge.default Optional<org.bukkit.entity.Entity> Spawns a mob with the given name at the specifiedLocationlocation, using a default level of 1.Optional<org.bukkit.entity.Entity> Spawns a mob with the given name at the specifiedLocationlocation.Methods inherited from interface dev.crafty.core.bridge.Bridge
canRegister, getName, pluginEnabled
-
Method Details
-
spawnMob
Optional<org.bukkit.entity.Entity> spawnMob(String mobName, org.bukkit.Location location, String world, int level) Spawns a mob with the given name at the specifiedLocationlocation.- Parameters:
mobName- the name of the mob to spawnlocation- the 3D point where the mob should be spawned
-
spawnMob
default Optional<org.bukkit.entity.Entity> spawnMob(String mobName, org.bukkit.Location location, String world) Spawns a mob with the given name at the specifiedLocationlocation, using a default level of 1.- Parameters:
mobName- the name of the mob to spawnlocation- the 3D point where the mob should be spawned
-
bridgeName
Description copied from interface:BridgeReturns the type or category name of this bridge.- Specified by:
bridgeNamein interfaceBridge- Returns:
- the bridge type name
-