Uses of Interface
org.bukkit.entity.HumanEntity
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.Classes involved in manipulating player inventories and item interactions.
Classes relevant to loot table manipulation and generation.
-
Uses of HumanEntity in com.destroystokyo.paper.event.entity
ModifierConstructorDescriptionSkeletonHorseTrapEvent
(SkeletonHorse horse, List<HumanEntity> eligibleHumans) -
Uses of HumanEntity in org.bukkit.entity
-
Uses of HumanEntity in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEntityExhaustionEvent.getEntity()
FoodLevelChangeEvent.getEntity()
EntityEnterLoveModeEvent.getHumanEntity()
Gets the Human Entity that caused the animal to enter love mode.ModifierConstructorDescriptionEntityEnterLoveModeEvent
(@NotNull Animals animalInLove, @Nullable HumanEntity humanEntity, int ticksInLove) EntityExhaustionEvent
(@NotNull HumanEntity who, @NotNull EntityExhaustionEvent.ExhaustionReason exhaustionReason, float exhaustion) FoodLevelChangeEvent
(@NotNull HumanEntity what, int level) FoodLevelChangeEvent
(@NotNull HumanEntity what, int level, @Nullable ItemStack item) -
Uses of HumanEntity in org.bukkit.event.inventory
Modifier and TypeMethodDescriptionfinal @NotNull HumanEntity
InventoryCloseEvent.getPlayer()
Returns the player involved in this eventfinal @NotNull HumanEntity
InventoryOpenEvent.getPlayer()
Returns the player involved in this eventInventoryInteractEvent.getWhoClicked()
Gets the player who performed the click.Modifier and TypeMethodDescriptionInventoryEvent.getViewers()
Gets the list of players viewing the primary (upper) inventory involved in this event -
Uses of HumanEntity in org.bukkit.inventory
Modifier and TypeMethodDescriptionPlayerInventory.getHolder()
InventoryView.getPlayer()
Get the player viewing.Merchant.getTrader()
Gets the player this merchant is trading with, or null if it is not currently trading.Modifier and TypeMethodDescriptionInventory.getViewers()
Gets a list of players viewing the inventory.Modifier and TypeMethodDescriptionMenuType.create
(@NotNull HumanEntity player, Component title) Creates a view of the specified menu type.MenuType.Typed.create
(@NotNull HumanEntity player, @NotNull String title) Deprecated.MenuType.Typed.create
(@NotNull HumanEntity player, Component title) Creates a view of the specified menu type. -
Uses of HumanEntity in org.bukkit.loot
Modifier and TypeMethodDescriptionLootContext.getKiller()
Get theHumanEntity
who killed theLootContext.getLootedEntity()
.Modifier and TypeMethodDescriptionLootContext.Builder.killer
(@Nullable HumanEntity killer) Set theHumanEntity
that killedLootContext.getLootedEntity()
. -
Uses of HumanEntity in org.purpurmc.purpur.event.inventory
ModifierConstructorDescriptionAnvilTakeResultEvent
(HumanEntity player, InventoryView view, ItemStack result) GrindstoneTakeResultEvent
(HumanEntity player, InventoryView view, ItemStack result, int experienceAmount)
MenuType.Typed.create(HumanEntity, net.kyori.adventure.text.Component)
instead.