canPlace

Checks whether the given ctx passes place permission checks.


suspend fun canPlace(tileEntity: TileEntity, item: ItemStack, pos: BlockPos): Boolean

Checks if the tileEntity can place that item at that pos.


suspend fun canPlace(player: OfflinePlayer, item: ItemStack, pos: BlockPos): Boolean
fun canPlace(player: Player, item: ItemStack, pos: BlockPos): Boolean

Checks if the player can place that item at that pos.