Package me.lokka30.levelledmobs.wrappers
Class LivingEntityWrapperBase
java.lang.Object
me.lokka30.levelledmobs.wrappers.LivingEntityWrapperBase
- Direct Known Subclasses:
LivingEntityPlaceholder
,LivingEntityWrapper
Baseclass for LivingEntityWrapper and LivingEntityPlaceholder to hold various information about
mobs
- Since:
- 3.1.0
-
Field Summary
Modifier and TypeFieldDescriptionfinal AtomicInteger
final @NotNull LevelledMobs
protected Integer
protected Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
double
boolean
@NotNull org.bukkit.Location
@NotNull LevelledMobs
@NotNull org.bukkit.World
getWorld()
@NotNull String
protected void
populateData
(@NotNull org.bukkit.World world, @NotNull org.bukkit.Location location) void
setSummonedLevel
(Integer summonedLevel)
-
Field Details
-
main
-
summonedLevel
-
spawnedTimeOfDay
-
inUseCount
-
-
Constructor Details
-
LivingEntityWrapperBase
-
-
Method Details
-
populateData
protected void populateData(@NotNull @NotNull org.bukkit.World world, @NotNull @NotNull org.bukkit.Location location) -
clearEntityData
protected void clearEntityData() -
getIsPopulated
public boolean getIsPopulated() -
getDistanceFromSpawn
public double getDistanceFromSpawn() -
getMainInstance
-
getLocation
@NotNull public @NotNull org.bukkit.Location getLocation() -
getWorld
@NotNull public @NotNull org.bukkit.World getWorld() -
getWorldName
-
setSummonedLevel
-