HotbarItemSlot

open class HotbarItemSlot(val hotbarSlot: Int) : ItemSlot

Inheritors

Constructors

Link copied to clipboard
constructor(hotbarSlot: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

If the player is holding this slot (main hand stack, or offhand stack)

Link copied to clipboard
open override val itemStack: ItemStack
Link copied to clipboard
open override val slotType: ItemSlot.Type
Link copied to clipboard
open val useHand: InteractionHand

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun getIdForServer(screen: AbstractContainerScreen<*>?): Int?

Used for example for slot click packets

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String