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
FieldsModifier and TypeFieldDescriptionfinal AtomicIntegerfinal @NotNull LevelledMobsprotected Integerprotected Integer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoubleboolean@NotNull org.bukkit.Location@NotNull LevelledMobs@NotNull org.bukkit.WorldgetWorld()@NotNull Stringprotected voidpopulateData(@NotNull org.bukkit.World world, @NotNull org.bukkit.Location location) voidsetSummonedLevel(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
-