Skip to content

IPlayerEntity

Garkatron edited this page Jul 18, 2024 · 1 revision

Interface IPlayerEntity

Methods

  1. stanley_lib$getBlockUnderPlayer()

    • Description: Returns the block directly under the player.
    • Returns: Block - The block under the player.
  2. hasLeatherArmor(EntityPlayer player)

    • Description: Checks if the specified player entity has any pieces of leather armor equipped.
    • Parameters:
      • player (EntityPlayer) - The player entity to check.
    • Returns: boolean[] - An array indicating which slots (head, chest, legs, feet) have leather armor equipped (true for equipped, false otherwise).

Clone this wiki locally