Package be.seeseemelk.mockbukkit.entity
Class HumanEntityMock
java.lang.Object
org.bukkit.command.CommandSender.Spigot
org.bukkit.entity.Entity.Spigot
be.seeseemelk.mockbukkit.entity.EntityMock
be.seeseemelk.mockbukkit.entity.LivingEntityMock
be.seeseemelk.mockbukkit.entity.HumanEntityMock
- All Implemented Interfaces:
MessageTarget
,Frictional
,net.kyori.adventure.audience.Audience
,net.kyori.adventure.pointer.Pointered
,net.kyori.adventure.sound.Sound.Emitter
,net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>
,Attributable
,CommandSender
,AnimalTamer
,Damageable
,Entity
,HumanEntity
,LivingEntity
,InventoryHolder
,Metadatable
,Nameable
,Permissible
,ServerOperator
,PersistentDataHolder
,ProjectileSource
- Direct Known Subclasses:
PlayerMock
Mock implementation of a
HumanEntity
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.entity.Entity
Entity.Spigot
-
Field Summary
Fields inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
alive, attributes, health
Fields inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
server
-
Constructor Summary
ModifierConstructorDescriptionprotected
HumanEntityMock
(@NotNull ServerMock server, @NotNull UUID uuid) -
Method Summary
Modifier and TypeMethodDescriptionvoid
assertGameMode
(GameMode expectedGamemode) Assert that the player is in a specific gamemode.void
void
closeInventory
(@NotNull InventoryCloseEvent.Reason reason) boolean
discoverRecipe
(@NotNull NamespacedKey recipe) int
discoverRecipes
(@NotNull Collection<NamespacedKey> recipes) boolean
dropItem
(boolean dropAll) @Nullable Firework
fireworkBoost
(@NotNull ItemStack fireworkItemStack) float
@NotNull Location
int
getCooldown
(@NotNull Material material) @NotNull Set<NamespacedKey>
int
@NotNull Inventory
float
int
@Nullable FishHook
int
@NotNull GameMode
@NotNull PlayerInventory
@NotNull ItemStack
@Nullable ItemStack
@NotNull ItemStack
@Nullable Location
@NotNull MainHand
@NotNull InventoryView
@Nullable Location
int
float
int
int
int
boolean
hasCooldown
(@NotNull Material material) boolean
hasDiscoveredRecipe
(@NotNull NamespacedKey recipe) boolean
boolean
boolean
boolean
@Nullable InventoryView
@Nullable InventoryView
openCartographyTable
(@Nullable Location location, boolean force) openEnchanting
(Location location, boolean force) @Nullable InventoryView
openGrindstone
(@Nullable Location location, boolean force) openInventory
(@NotNull Inventory inventory) void
openInventory
(@NotNull InventoryView inventory) @Nullable InventoryView
openMerchant
(@NotNull Villager trader, boolean force) openMerchant
(@NotNull Merchant merchant, boolean force) void
@Nullable InventoryView
openSmithingTable
(@Nullable Location location, boolean force) @Nullable InventoryView
openStonecutter
(@Nullable Location location, boolean force) openWorkbench
(Location location, boolean force) @Nullable Entity
@Nullable Entity
void
setCooldown
(@NotNull Material material, int ticks) void
setEnchantmentSeed
(int seed) void
setExhaustion
(float value) void
setFoodLevel
(int foodLevel) void
setGameMode
(@NotNull GameMode mode) void
setItemInHand
(@Nullable ItemStack item) void
setItemOnCursor
(@Nullable ItemStack item) void
setLastDeathLocation
(@Nullable Location location) void
setSaturatedRegenRate
(int ticks) void
setSaturation
(float value) void
setShoulderEntityLeft
(Entity entity) void
setShoulderEntityRight
(Entity entity) void
setSleeping
(boolean sleeping) Set whether this entity is slumbering.void
setStarvationRate
(int ticks) void
setUnsaturatedRegenRate
(int ticks) boolean
setWindowProperty
(InventoryView.Property prop, int value) boolean
boolean
undiscoverRecipe
(@NotNull NamespacedKey recipe) int
undiscoverRecipes
(@NotNull Collection<NamespacedKey> recipes) void
wakeup
(boolean setSpawnLocation) Methods inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
addPotionEffect, addPotionEffect, addPotionEffects, attack, broadcastSlotBreak, broadcastSlotBreak, canBreatheUnderwater, clearActiveItem, damage, damage, damageItemStack, damageItemStack, getAbsorptionAmount, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getAttribute, getBeeStingerCooldown, getBeeStingersInBody, getBodyYaw, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getFrictionState, getHandRaised, getHandRaisedTime, getHealth, getHurtDirection, getHurtSound, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetEntity, getTargetEntityInfo, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isDead, isGliding, isInvisible, isJumping, isLeashed, isRiptiding, isSwimming, isValid, knockback, launchProjectile, launchProjectile, launchProjectile, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, rayTraceEntities, registerAttribute, remove, removePotionEffect, resetMaxHealth, setAbsorptionAmount, setAI, setArrowCooldown, setArrowsInBody, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setBodyYaw, setCanPickupItems, setCollidable, setFrictionState, setGliding, setHealth, setHurtDirection, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingMainHand, swingOffHand, teleport
Methods inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, asHoverEvent, assertLocation, assertNotTeleported, assertTeleported, clearTeleported, collidesAt, customName, customName, eject, equals, fromMobSpawner, getBoundingBox, getChunk, getCustomName, getEffectivePermissions, getEntityId, getEntitySpawnReason, getEntityState, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getMetadata, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardEntry, getScoreboardTags, getServer, getSpawnCategory, getSubType, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTeleportCause, getTicksLived, getTrackedPlayers, getTransitivePassengers, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPassengers, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, name, nextComponentMessage, playEffect, recalculatePermissions, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setOp, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setSneaking, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleportWithoutEvent, wouldCollideUsing
Methods inherited from class org.bukkit.command.CommandSender.Spigot
sendMessage, sendMessage, sendMessage, sendMessage
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bukkit.entity.AnimalTamer
getUniqueId
Methods inherited from interface org.bukkit.attribute.Attributable
getAttribute, registerAttribute
Methods inherited from interface net.kyori.adventure.audience.Audience
clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSound
Methods inherited from interface org.bukkit.command.CommandSender
name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessage
Methods inherited from interface org.bukkit.entity.Damageable
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealth
Methods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, asHoverEvent, collidesAt, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedPlayers, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setSneaking, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync, wouldCollideUsing
Methods inherited from interface io.papermc.paper.entity.Frictional
getFrictionState, setFrictionState
Methods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEvent
Methods inherited from interface org.bukkit.entity.HumanEntity
getEquipment, getName, setHurtDirection
Methods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, broadcastSlotBreak, broadcastSlotBreak, canBreatheUnderwater, clearActiveItem, damageItemStack, damageItemStack, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getBeeStingerCooldown, getBeeStingersInBody, getBodyYaw, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getHandRaised, getHandRaisedTime, getHurtDirection, getHurtSound, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isJumping, isLeashed, isRiptiding, isSwimming, knockback, playPickupItemAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, rayTraceEntities, rayTraceEntities, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setBodyYaw, setCanPickupItems, setCollidable, setGliding, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingHand, swingMainHand, swingOffHand
Methods inherited from interface be.seeseemelk.mockbukkit.command.MessageTarget
assertNoMoreSaid, assertSaid, assertSaid, nextMessage
Methods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadata
Methods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomName
Methods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachment
Methods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainer
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointers
Methods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile, launchProjectile
Methods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Field Details
-
expLevel
protected int expLevelHow much EXP thisHumanEntity
has.
-
-
Constructor Details
-
HumanEntityMock
- Parameters:
server
- The server to create the entity on.uuid
- The UUID of the entity.
-
-
Method Details
-
assertGameMode
Assert that the player is in a specific gamemode.- Parameters:
expectedGamemode
- The gamemode the player should be in.
-
getInventory
- Specified by:
getInventory
in interfaceHumanEntity
- Specified by:
getInventory
in interfaceInventoryHolder
-
getEnderChest
- Specified by:
getEnderChest
in interfaceHumanEntity
-
getMainHand
- Specified by:
getMainHand
in interfaceHumanEntity
-
closeInventory
public void closeInventory()- Specified by:
closeInventory
in interfaceHumanEntity
-
closeInventory
- Specified by:
closeInventory
in interfaceHumanEntity
-
getOpenInventory
- Specified by:
getOpenInventory
in interfaceHumanEntity
-
openInventory
- Specified by:
openInventory
in interfaceHumanEntity
-
openInventory
- Specified by:
openInventory
in interfaceHumanEntity
-
getItemOnCursor
- Specified by:
getItemOnCursor
in interfaceHumanEntity
-
setItemOnCursor
- Specified by:
setItemOnCursor
in interfaceHumanEntity
-
getLastDeathLocation
- Specified by:
getLastDeathLocation
in interfaceHumanEntity
-
setLastDeathLocation
- Specified by:
setLastDeathLocation
in interfaceHumanEntity
-
fireworkBoost
- Specified by:
fireworkBoost
in interfaceHumanEntity
-
getGameMode
- Specified by:
getGameMode
in interfaceHumanEntity
-
setGameMode
- Specified by:
setGameMode
in interfaceHumanEntity
-
setWindowProperty
- Specified by:
setWindowProperty
in interfaceHumanEntity
-
getEnchantmentSeed
public int getEnchantmentSeed()- Specified by:
getEnchantmentSeed
in interfaceHumanEntity
-
setEnchantmentSeed
public void setEnchantmentSeed(int seed) - Specified by:
setEnchantmentSeed
in interfaceHumanEntity
-
openWorkbench
- Specified by:
openWorkbench
in interfaceHumanEntity
-
openEnchanting
- Specified by:
openEnchanting
in interfaceHumanEntity
-
openMerchant
- Specified by:
openMerchant
in interfaceHumanEntity
-
openMerchant
- Specified by:
openMerchant
in interfaceHumanEntity
-
openAnvil
@Nullable public @Nullable InventoryView openAnvil(@Nullable @Nullable Location location, boolean force) - Specified by:
openAnvil
in interfaceHumanEntity
-
openCartographyTable
@Nullable public @Nullable InventoryView openCartographyTable(@Nullable @Nullable Location location, boolean force) - Specified by:
openCartographyTable
in interfaceHumanEntity
-
openGrindstone
@Nullable public @Nullable InventoryView openGrindstone(@Nullable @Nullable Location location, boolean force) - Specified by:
openGrindstone
in interfaceHumanEntity
-
openLoom
@Nullable public @Nullable InventoryView openLoom(@Nullable @Nullable Location location, boolean force) - Specified by:
openLoom
in interfaceHumanEntity
-
openSmithingTable
@Nullable public @Nullable InventoryView openSmithingTable(@Nullable @Nullable Location location, boolean force) - Specified by:
openSmithingTable
in interfaceHumanEntity
-
openStonecutter
@Nullable public @Nullable InventoryView openStonecutter(@Nullable @Nullable Location location, boolean force) - Specified by:
openStonecutter
in interfaceHumanEntity
-
getItemInHand
- Specified by:
getItemInHand
in interfaceHumanEntity
-
setItemInHand
- Specified by:
setItemInHand
in interfaceHumanEntity
-
hasCooldown
- Specified by:
hasCooldown
in interfaceHumanEntity
-
getCooldown
- Specified by:
getCooldown
in interfaceHumanEntity
-
setCooldown
- Specified by:
setCooldown
in interfaceHumanEntity
-
isDeeplySleeping
public boolean isDeeplySleeping()- Specified by:
isDeeplySleeping
in interfaceHumanEntity
-
isSleeping
public boolean isSleeping()- Specified by:
isSleeping
in interfaceLivingEntity
- Overrides:
isSleeping
in classLivingEntityMock
-
setSleeping
public void setSleeping(boolean sleeping) Set whether this entity is slumbering.- Parameters:
sleeping
- If this entity is slumbering
-
getSleepTicks
public int getSleepTicks()- Specified by:
getSleepTicks
in interfaceHumanEntity
-
getPotentialBedLocation
- Specified by:
getPotentialBedLocation
in interfaceHumanEntity
-
getFishHook
- Specified by:
getFishHook
in interfaceHumanEntity
-
sleep
- Specified by:
sleep
in interfaceHumanEntity
-
wakeup
public void wakeup(boolean setSpawnLocation) - Specified by:
wakeup
in interfaceHumanEntity
-
getBedLocation
- Specified by:
getBedLocation
in interfaceHumanEntity
-
isBlocking
public boolean isBlocking()- Specified by:
isBlocking
in interfaceHumanEntity
-
isHandRaised
public boolean isHandRaised()- Specified by:
isHandRaised
in interfaceHumanEntity
- Specified by:
isHandRaised
in interfaceLivingEntity
- Overrides:
isHandRaised
in classLivingEntityMock
-
getItemInUse
- Specified by:
getItemInUse
in interfaceHumanEntity
-
getExpToLevel
public int getExpToLevel()- Specified by:
getExpToLevel
in interfaceHumanEntity
-
releaseLeftShoulderEntity
- Specified by:
releaseLeftShoulderEntity
in interfaceHumanEntity
-
releaseRightShoulderEntity
- Specified by:
releaseRightShoulderEntity
in interfaceHumanEntity
-
getAttackCooldown
public float getAttackCooldown()- Specified by:
getAttackCooldown
in interfaceHumanEntity
-
discoverRecipe
- Specified by:
discoverRecipe
in interfaceHumanEntity
-
discoverRecipes
- Specified by:
discoverRecipes
in interfaceHumanEntity
-
undiscoverRecipe
- Specified by:
undiscoverRecipe
in interfaceHumanEntity
-
undiscoverRecipes
- Specified by:
undiscoverRecipes
in interfaceHumanEntity
-
hasDiscoveredRecipe
- Specified by:
hasDiscoveredRecipe
in interfaceHumanEntity
-
getDiscoveredRecipes
- Specified by:
getDiscoveredRecipes
in interfaceHumanEntity
-
getShoulderEntityLeft
- Specified by:
getShoulderEntityLeft
in interfaceHumanEntity
-
setShoulderEntityLeft
- Specified by:
setShoulderEntityLeft
in interfaceHumanEntity
-
getShoulderEntityRight
- Specified by:
getShoulderEntityRight
in interfaceHumanEntity
-
setShoulderEntityRight
- Specified by:
setShoulderEntityRight
in interfaceHumanEntity
-
openSign
- Specified by:
openSign
in interfaceHumanEntity
-
dropItem
public boolean dropItem(boolean dropAll) - Specified by:
dropItem
in interfaceHumanEntity
-
getExhaustion
public float getExhaustion()- Specified by:
getExhaustion
in interfaceHumanEntity
-
setExhaustion
public void setExhaustion(float value) - Specified by:
setExhaustion
in interfaceHumanEntity
-
getSaturation
public float getSaturation()- Specified by:
getSaturation
in interfaceHumanEntity
-
setSaturation
public void setSaturation(float value) - Specified by:
setSaturation
in interfaceHumanEntity
-
getFoodLevel
public int getFoodLevel()- Specified by:
getFoodLevel
in interfaceHumanEntity
-
setFoodLevel
public void setFoodLevel(int foodLevel) - Specified by:
setFoodLevel
in interfaceHumanEntity
-
getSaturatedRegenRate
public int getSaturatedRegenRate()- Specified by:
getSaturatedRegenRate
in interfaceHumanEntity
-
setSaturatedRegenRate
public void setSaturatedRegenRate(int ticks) - Specified by:
setSaturatedRegenRate
in interfaceHumanEntity
-
getUnsaturatedRegenRate
public int getUnsaturatedRegenRate()- Specified by:
getUnsaturatedRegenRate
in interfaceHumanEntity
-
setUnsaturatedRegenRate
public void setUnsaturatedRegenRate(int ticks) - Specified by:
setUnsaturatedRegenRate
in interfaceHumanEntity
-
getStarvationRate
public int getStarvationRate()- Specified by:
getStarvationRate
in interfaceHumanEntity
-
setStarvationRate
public void setStarvationRate(int ticks) - Specified by:
setStarvationRate
in interfaceHumanEntity
-