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,PersistentDataViewHolder,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
FieldsModifier and TypeFieldDescriptionprotected booleanprotected intHow much EXP thisHumanEntityhas.Fields inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
alive, attributes, healthFields inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
entityData, perms, server -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHumanEntityMock(@NotNull ServerMock server, @NotNull UUID uuid) -
Method Summary
Modifier and TypeMethodDescriptionvoidassertGameMode(GameMode expectedGamemode) Assert that the player is in a specific gamemode.voidvoidcloseInventory(@NotNull InventoryCloseEvent.Reason reason) booleandiscoverRecipe(@NotNull NamespacedKey recipe) intdiscoverRecipes(@NotNull Collection<NamespacedKey> recipes) booleandropItem(boolean dropAll) @Nullable FireworkfireworkBoost(@NotNull ItemStack fireworkItemStack) float@NotNull LocationintgetCooldown(@NotNull Material material) @NotNull Set<NamespacedKey> int@NotNull Inventoryfloatint@Nullable FishHookint@NotNull GameMode@NotNull PlayerInventory@NotNull ItemStack@Nullable ItemStack@NotNull ItemStack@Nullable Location@NotNull MainHand@NotNull InventoryView@Nullable LocationintfloatintintintbooleanhasCooldown(@NotNull Material material) booleanhasDiscoveredRecipe(@NotNull NamespacedKey recipe) booleanbooleanboolean@Nullable InventoryView@Nullable InventoryViewopenCartographyTable(@Nullable Location location, boolean force) openEnchanting(Location location, boolean force) @Nullable InventoryViewopenGrindstone(@Nullable Location location, boolean force) openInventory(@NotNull Inventory inventory) voidopenInventory(@NotNull InventoryView inventory) @Nullable InventoryViewopenMerchant(@NotNull Villager trader, boolean force) openMerchant(@NotNull Merchant merchant, boolean force) void@Nullable InventoryViewopenSmithingTable(@Nullable Location location, boolean force) @Nullable InventoryViewopenStonecutter(@Nullable Location location, boolean force) openWorkbench(Location location, boolean force) @Nullable Entity@Nullable EntityvoidsetBlocking(boolean blocking) Set whether this entity is blocking.voidsetCooldown(@NotNull Material material, int ticks) voidsetEnchantmentSeed(int seed) voidsetExhaustion(float value) voidsetFoodLevel(int foodLevel) voidsetGameMode(@NotNull GameMode mode) voidsetItemInHand(@Nullable ItemStack item) voidsetItemOnCursor(@Nullable ItemStack item) voidsetLastDeathLocation(@Nullable Location location) voidsetSaturatedRegenRate(int ticks) voidsetSaturation(float value) voidsetShoulderEntityLeft(Entity entity) voidsetShoulderEntityRight(Entity entity) voidsetSleepTicks(int sleepTicks) voidsetStarvationRate(int ticks) voidsetUnsaturatedRegenRate(int ticks) booleansetWindowProperty(InventoryView.Property prop, int value) booleanbooleanundiscoverRecipe(@NotNull NamespacedKey recipe) intundiscoverRecipes(@NotNull Collection<NamespacedKey> recipes) voidwakeup(boolean setSpawnLocation) Methods inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
addPotionEffect, addPotionEffect, addPotionEffect, addPotionEffects, addPotionEffects, attack, broadcastSlotBreak, broadcastSlotBreak, canBreatheUnderwater, canUseEquipmentSlot, clearActiveItem, clearActivePotionEffects, completeUsingActiveItem, damage, damage, damage, damageItemStack, damageItemStack, getAbsorptionAmount, getActiveItem, getActiveItemHand, getActiveItemRemainingTime, getActiveItemUsedTime, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getAttribute, getBeeStingerCooldown, getBeeStingersInBody, getBodyYaw, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEntityState, getEquipment, getEyeHeight, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getForwardsMovement, getFrictionState, getHandRaised, getHandRaisedTime, getHealth, getHurtDirection, getHurtSound, getItemInUseTicks, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNextArrowRemoval, getNextBeeStingerRemoval, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getSidewaysMovement, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetEntity, getTargetEntityInfo, getUpwardsMovement, hasActiveItem, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, heal, isClimbing, isCollidable, isDead, isGliding, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, isValid, knockback, launchProjectile, launchProjectile, launchProjectile, playHurtAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, rayTraceEntities, registerAttribute, remove, removePotionEffect, resetMaxHealth, setAbsorptionAmount, setActiveItemRemainingTime, setAI, setArrowCooldown, setArrowsInBody, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setBodyYaw, setCanPickupItems, setClimbing, setCollidable, setFrictionState, setGliding, setHealth, setHurtDirection, setItemInUseTicks, setJumping, setKiller, setLastDamage, setLeashHolder, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNextArrowRemoval, setNextBeeStingerRemoval, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setShieldBlockingDelay, setSleeping, setSwimming, simulateDamage, simulateDamage, startUsingItem, swingMainHand, swingOffHand, teleportMethods inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, asHoverEvent, assertLocation, assertNotTeleported, assertTeleported, broadcastHurtAnimation, clearMetadata, clearTeleported, collidesAt, copy, copy, createSnapshot, customName, customName, eject, equals, fromMobSpawner, getAsString, getBoundingBox, getChunk, getCustomName, getEffectivePermissions, getEntityId, getEntityProperty, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getMetadata, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPitch, getPortalCooldown, getPose, getScheduler, getScoreboardEntry, getScoreboardEntryName, getScoreboardTags, getServer, getSpawnCategory, getSubType, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTeleportCause, getTicksLived, getTrackedBy, getTrackedPlayers, getTransitivePassengers, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, getX, getY, getYaw, getZ, hasFixedPose, hasGravity, hashCode, hasMetadata, hasNoPhysics, hasPassengers, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvisible, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isInWorld, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, name, nextComponentMessage, playEffect, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvisible, setInvulnerable, setInWater, setLastDamageCause, setLocation, setMetadata, setName, setNoPhysics, setOnGround, setOp, setPassenger, setPersistent, setPortalCooldown, setPose, setRotation, setSilent, setSneaking, setSpawnReason, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleportAsync, teleportWithoutEvent, tick, wouldCollideUsingMethods inherited from class org.bukkit.command.CommandSender.Spigot
sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.entity.AnimalTamer
getUniqueIdMethods inherited from interface org.bukkit.attribute.Attributable
getAttribute, registerAttributeMethods inherited from interface net.kyori.adventure.audience.Audience
clearResourcePacks, clearTitle, deleteMessage, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, sendResourcePacks, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.bukkit.command.CommandSender
name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessage, sendRichMessageMethods inherited from interface org.bukkit.entity.Damageable
damage, damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, heal, heal, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, asHoverEvent, broadcastHurtAnimation, collidesAt, copy, copy, createSnapshot, eject, fromMobSpawner, getAsString, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPitch, getPortalCooldown, getPose, getScheduler, getScoreboardEntryName, getScoreboardTags, getServer, getSpawnCategory, getSwimHighSpeedSplashSound, getSwimSound, getSwimSplashSound, getTicksLived, getTrackedBy, getTrackedPlayers, getType, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, getX, getY, getYaw, getZ, hasFixedPose, hasGravity, hasNoPhysics, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isInWorld, isOnGround, isPersistent, isSilent, isSneaking, isTicking, isUnderWater, isValid, isVisibleByDefault, isVisualFire, leaveVehicle, lockFreezeTicks, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setNoPhysics, setPassenger, setPersistent, setPortalCooldown, setPose, setPose, setRotation, setSilent, setSneaking, setTicksLived, setVelocity, setVisibleByDefault, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync, teleportAsync, wouldCollideUsingMethods inherited from interface io.papermc.paper.entity.Frictional
getFrictionState, setFrictionStateMethods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEventMethods inherited from interface org.bukkit.entity.HumanEntity
getEquipment, getName, openSign, setHurtDirection, startRiptideAttackMethods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, broadcastSlotBreak, broadcastSlotBreak, canBreatheUnderwater, canUseEquipmentSlot, clearActiveItem, clearActivePotionEffects, completeUsingActiveItem, damageItemStack, damageItemStack, getActiveItem, getActiveItemHand, getActiveItemRemainingTime, getActiveItemUsedTime, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getBeeStingerCooldown, getBeeStingersInBody, getBodyYaw, getCanPickupItems, getCategory, getCollidableExemptions, getDeathSound, getDrinkingSound, getEatingSound, getEyeHeight, getEyeHeight, getEyeLocation, getFallDamageSound, getFallDamageSoundBig, getFallDamageSoundSmall, getForwardsMovement, getHandRaised, getHandRaisedTime, getHurtDirection, getHurtSound, getItemInUseTicks, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNextArrowRemoval, getNextBeeStingerRemoval, getNoActionTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getSidewaysMovement, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, getUpwardsMovement, hasActiveItem, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isInvisible, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, knockback, playHurtAnimation, playPickupItemAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, rayTraceEntities, rayTraceEntities, removePotionEffect, setActiveItemRemainingTime, setAI, setArrowCooldown, setArrowsInBody, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setBodyYaw, setCanPickupItems, setCollidable, setGliding, setInvisible, setItemInUseTicks, setJumping, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNextArrowRemoval, setNextBeeStingerRemoval, setNoActionTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setRiptiding, setShieldBlockingDelay, setSwimming, startUsingItem, swingHand, swingMainHand, swingOffHandMethods inherited from interface be.seeseemelk.mockbukkit.command.MessageTarget
assertNoMoreSaid, assertSaid, assertSaid, nextMessageMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainerMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectile, launchProjectileMethods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Field Details
-
expLevel
protected int expLevelHow much EXP thisHumanEntityhas. -
blocking
protected boolean blocking
-
-
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:
getInventoryin interfaceHumanEntity- Specified by:
getInventoryin interfaceInventoryHolder
-
getEnderChest
- Specified by:
getEnderChestin interfaceHumanEntity
-
getMainHand
- Specified by:
getMainHandin interfaceHumanEntity
-
closeInventory
public void closeInventory()- Specified by:
closeInventoryin interfaceHumanEntity
-
closeInventory
- Specified by:
closeInventoryin interfaceHumanEntity
-
getOpenInventory
- Specified by:
getOpenInventoryin interfaceHumanEntity
-
openInventory
- Specified by:
openInventoryin interfaceHumanEntity
-
openInventory
- Specified by:
openInventoryin interfaceHumanEntity
-
getItemOnCursor
- Specified by:
getItemOnCursorin interfaceHumanEntity
-
setItemOnCursor
- Specified by:
setItemOnCursorin interfaceHumanEntity
-
getLastDeathLocation
- Specified by:
getLastDeathLocationin interfaceHumanEntity
-
setLastDeathLocation
- Specified by:
setLastDeathLocationin interfaceHumanEntity
-
fireworkBoost
- Specified by:
fireworkBoostin interfaceHumanEntity
-
getGameMode
- Specified by:
getGameModein interfaceHumanEntity
-
setGameMode
- Specified by:
setGameModein interfaceHumanEntity
-
setWindowProperty
- Specified by:
setWindowPropertyin interfaceHumanEntity
-
getEnchantmentSeed
public int getEnchantmentSeed()- Specified by:
getEnchantmentSeedin interfaceHumanEntity
-
setEnchantmentSeed
public void setEnchantmentSeed(int seed) - Specified by:
setEnchantmentSeedin interfaceHumanEntity
-
openWorkbench
- Specified by:
openWorkbenchin interfaceHumanEntity
-
openEnchanting
- Specified by:
openEnchantingin interfaceHumanEntity
-
openMerchant
- Specified by:
openMerchantin interfaceHumanEntity
-
openMerchant
- Specified by:
openMerchantin interfaceHumanEntity
-
openAnvil
@Nullable public @Nullable InventoryView openAnvil(@Nullable @Nullable Location location, boolean force) - Specified by:
openAnvilin interfaceHumanEntity
-
openCartographyTable
@Nullable public @Nullable InventoryView openCartographyTable(@Nullable @Nullable Location location, boolean force) - Specified by:
openCartographyTablein interfaceHumanEntity
-
openGrindstone
@Nullable public @Nullable InventoryView openGrindstone(@Nullable @Nullable Location location, boolean force) - Specified by:
openGrindstonein interfaceHumanEntity
-
openLoom
@Nullable public @Nullable InventoryView openLoom(@Nullable @Nullable Location location, boolean force) - Specified by:
openLoomin interfaceHumanEntity
-
openSmithingTable
@Nullable public @Nullable InventoryView openSmithingTable(@Nullable @Nullable Location location, boolean force) - Specified by:
openSmithingTablein interfaceHumanEntity
-
openStonecutter
@Nullable public @Nullable InventoryView openStonecutter(@Nullable @Nullable Location location, boolean force) - Specified by:
openStonecutterin interfaceHumanEntity
-
getItemInHand
- Specified by:
getItemInHandin interfaceHumanEntity
-
setItemInHand
- Specified by:
setItemInHandin interfaceHumanEntity
-
hasCooldown
- Specified by:
hasCooldownin interfaceHumanEntity
-
getCooldown
- Specified by:
getCooldownin interfaceHumanEntity
-
setCooldown
- Specified by:
setCooldownin interfaceHumanEntity
-
isDeeplySleeping
public boolean isDeeplySleeping()- Specified by:
isDeeplySleepingin interfaceHumanEntity
-
setSleepTicks
public void setSleepTicks(int sleepTicks) -
getSleepTicks
public int getSleepTicks()- Specified by:
getSleepTicksin interfaceHumanEntity
-
getPotentialBedLocation
- Specified by:
getPotentialBedLocationin interfaceHumanEntity
-
getFishHook
- Specified by:
getFishHookin interfaceHumanEntity
-
sleep
- Specified by:
sleepin interfaceHumanEntity
-
wakeup
public void wakeup(boolean setSpawnLocation) - Specified by:
wakeupin interfaceHumanEntity
-
getBedLocation
- Specified by:
getBedLocationin interfaceHumanEntity
-
isBlocking
public boolean isBlocking()- Specified by:
isBlockingin interfaceHumanEntity
-
setBlocking
public void setBlocking(boolean blocking) Set whether this entity is blocking. If the entity is not holding a shield, this will be ignored.- Parameters:
blocking- If this entity is blocking
-
isHandRaised
public boolean isHandRaised()- Specified by:
isHandRaisedin interfaceHumanEntity- Specified by:
isHandRaisedin interfaceLivingEntity- Overrides:
isHandRaisedin classLivingEntityMock
-
getItemInUse
- Specified by:
getItemInUsein interfaceLivingEntity- Overrides:
getItemInUsein classLivingEntityMock
-
getExpToLevel
public int getExpToLevel()- Specified by:
getExpToLevelin interfaceHumanEntity
-
releaseLeftShoulderEntity
- Specified by:
releaseLeftShoulderEntityin interfaceHumanEntity
-
releaseRightShoulderEntity
- Specified by:
releaseRightShoulderEntityin interfaceHumanEntity
-
getAttackCooldown
public float getAttackCooldown()- Specified by:
getAttackCooldownin interfaceHumanEntity
-
discoverRecipe
- Specified by:
discoverRecipein interfaceHumanEntity
-
discoverRecipes
- Specified by:
discoverRecipesin interfaceHumanEntity
-
undiscoverRecipe
- Specified by:
undiscoverRecipein interfaceHumanEntity
-
undiscoverRecipes
- Specified by:
undiscoverRecipesin interfaceHumanEntity
-
hasDiscoveredRecipe
- Specified by:
hasDiscoveredRecipein interfaceHumanEntity
-
getDiscoveredRecipes
- Specified by:
getDiscoveredRecipesin interfaceHumanEntity
-
getShoulderEntityLeft
- Specified by:
getShoulderEntityLeftin interfaceHumanEntity
-
setShoulderEntityLeft
- Specified by:
setShoulderEntityLeftin interfaceHumanEntity
-
getShoulderEntityRight
- Specified by:
getShoulderEntityRightin interfaceHumanEntity
-
setShoulderEntityRight
- Specified by:
setShoulderEntityRightin interfaceHumanEntity
-
openSign
- Specified by:
openSignin interfaceHumanEntity
-
dropItem
public boolean dropItem(boolean dropAll) - Specified by:
dropItemin interfaceHumanEntity
-
getExhaustion
public float getExhaustion()- Specified by:
getExhaustionin interfaceHumanEntity
-
setExhaustion
public void setExhaustion(float value) - Specified by:
setExhaustionin interfaceHumanEntity
-
getSaturation
public float getSaturation()- Specified by:
getSaturationin interfaceHumanEntity
-
setSaturation
public void setSaturation(float value) - Specified by:
setSaturationin interfaceHumanEntity
-
getFoodLevel
public int getFoodLevel()- Specified by:
getFoodLevelin interfaceHumanEntity
-
setFoodLevel
public void setFoodLevel(int foodLevel) - Specified by:
setFoodLevelin interfaceHumanEntity
-
getSaturatedRegenRate
public int getSaturatedRegenRate()- Specified by:
getSaturatedRegenRatein interfaceHumanEntity
-
setSaturatedRegenRate
public void setSaturatedRegenRate(int ticks) - Specified by:
setSaturatedRegenRatein interfaceHumanEntity
-
getUnsaturatedRegenRate
public int getUnsaturatedRegenRate()- Specified by:
getUnsaturatedRegenRatein interfaceHumanEntity
-
setUnsaturatedRegenRate
public void setUnsaturatedRegenRate(int ticks) - Specified by:
setUnsaturatedRegenRatein interfaceHumanEntity
-
getStarvationRate
public int getStarvationRate()- Specified by:
getStarvationRatein interfaceHumanEntity
-
setStarvationRate
public void setStarvationRate(int ticks) - Specified by:
setStarvationRatein interfaceHumanEntity
-