Skip to main content

shared Entity:canAddItem

boolean Entity:canAddItem(slot, count)

Returns true if you can add an item on the given slot with the given amount


Parameters​

TypeNameDescriptionOptional
numberslotNo description
numbercountNo description

Returns​

TypeDescription
booleanNo description